Skip to content

4.2.0

Compare
Choose a tag to compare
@github-actions github-actions released this 18 Jul 12:37
· 43 commits to main since this release
af67efa

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