Skip to content

Releases: unzerdev/java-sdk

5.6.0

25 Apr 09:31
f0bdf43
Compare
Choose a tag to compare

Added

  • Add Styling properties for v2 Paypage com.unzer.payment.resources.PaypageV2:
    • basketBackgroundColor
    • paymentFormBackgroundColor
  • Add prototypes for v2 Customer: com.unzer.payment.CustomerV2.
  • Add prototypes for v3 Basket: com.unzer.payment.BasketV3.

5.5.0

09 Dec 10:15
61b2694
Compare
Choose a tag to compare

Added

  • Added support for "Open Banking" payment method.
  • Added support for linkpay v2.
  • Added support for preauthorize transaction.

Changed

  • Update paypage v2 styling parameter to match API.

5.4.0

18 Sep 14:20
2bfcb88
Compare
Choose a tag to compare

Added

  • Added support for paypage v2.

5.3.0

24 Jun 08:20
6a3dfd8
Compare
Choose a tag to compare

Support for Click To Pay payment method is added to SDK.

Added

  • Added ClickToPay payment method.
  • Add exemption type for transaction risk analysis: com.unzer.payment.models.CardTransactionData.ExemptionType.TRA

5.2.0

16 Apr 15:38
e408585
Compare
Choose a tag to compare

Twint payment method is added to Java SDK.

Added

  • Added Twint payment method.

5.1.0

08 Feb 09:57
51671e4
Compare
Choose a tag to compare

Google Pay payment method is added to Java SDK.

Added

  • Added GooglePay payment method.

Fixed

  • Fixed Unzer:updateCharge and Unzer:updateAuthorization used wrong endpoints
  • SEPA Direct Debit is restored from deprecation. See: com.unzer.payment.paymenttypes.SepaDirectDebit

5.0.0

05 Dec 08:59
6874592
Compare
Choose a tag to compare

Consists of internal refactorings and improvements.

Added

  • Added com.unzer.payment.Resource interface.

Changed

  • Renamed AbstractTransaction -> BaseTransaction
  • Refactored UrlUtil: moved Resource URL construction logic to Resource-classes.
  • Every Unzer Payment Gateway resource implements Resource instead of PaymentType: Customer, Basket, Payment, etc.
  • Renamed com.unzer.payment.CustomerCompanyData to CompanyInfo
  • Renamed property and methods of com.unzer.payment.Customer.Customer to match class name:
    • property companyData-> companyInfo
    • method getCompanyData() -> getCompanyInfo()
    • method setCompanyData() -> setCompanyInfo()

Removed

  • Removed PaymentType::getId() and PaymentType::getTypeUrl() methods. Use Resource::getId() and Resource::getUrl() instead.

4.4.0

27 Oct 07:30
6395a5d
Compare
Choose a tag to compare

Added

  • Added Paylater Direct Debit payment method

Deprecated

  • Deprecated Sepa Direct Debit and Sepa Direct Debit Secured payment methods. Please, use Paylater Direct Debit instead.

4.3.0

31 Aug 14:00
3ff70e4
Compare
Choose a tag to compare

This release adds support for PayU payment method and fixes some LinkPay issues

Added

  • Added PayU payment method support
  • Added BasePaypage.Action set of constants for Authorize and Charge actions for Paypage/Linkpay
  • Added Authorize support for Linkpay: Linkpay.setAction(BasePaypage.Action.AUTHORIZE)

Deprecated

  • Deprecated Paypage.Action. Use BasePaypage.Action instead

4.2.0

18 Jul 12:37
af67efa
Compare
Choose a tag to compare

This Java SDK version delivers Unzer Paylater Installment to Java projects.

Added

  • Add Paylater Installment support:
    • Add com.unzer.payment.service.PaymentService.fetchPaylaterInstallmentPlans() to get available installment plans.
    • Add payment type com.unzer.payment.paymenttypes.PaylaterInstallment.
  • com.unzer.payment.fetchPayment now fetches chargeback transactions of the payment. See com.unzer.payment.Payment.chargebackList
  • Added field paypageId to payment and its transactions (authorize, charge, cancel, chargeback). See: com.unzer.payment.AbstractPayment.paypageId, com.unzer.payment.AbstractTransaction.paypageId

Changed

  • Refactored internal class com.unzer.payment.communication.mapper.JsonToBusinessClassMapper:
    • Unified parameter names to src and output
    • Changed parameters order. First parameter is src, second is output
  • Renamed internal classes at com.unzer.payment.communication.json:
    • JsonPayment -> ApiPayment
    • JsonTransaction -> ApiTransaction

Deprecated

  • Installment Secured:
    • method com.unzer.payment.Unzer.installmentSecuredRates()
    • class com.unzer.payment.business.paymenttypes.InstallmentSecuredRatePlan
    • class com.unzer.payment.business.paymenttypes.InstallmentSecuredRate