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.fetchPayment
now fetches chargeback transactions of the payment. Seecom.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
andoutput
- Changed parameters order. First parameter is
src
, second isoutput
- Unified parameter names to
- 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
- method