4.2.0
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.
- Add
com.unzer.payment.fetchPaymentnow fetches chargeback transactions of the payment. Seecom.unzer.payment.Payment.chargebackList- Added field
paypageIdto 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
srcandoutput - Changed parameters order. First parameter is
src, second isoutput
- Unified parameter names to
- Renamed internal classes at
com.unzer.payment.communication.json:JsonPayment->ApiPaymentJsonTransaction->ApiTransaction
Deprecated
- Installment Secured:
- method
com.unzer.payment.Unzer.installmentSecuredRates() - class
com.unzer.payment.business.paymenttypes.InstallmentSecuredRatePlan - class
com.unzer.payment.business.paymenttypes.InstallmentSecuredRate
- method