3.1.0
This release introduces Unzer PayPal Express in Java SDK.
Added
- Added Paypal-Express support:
- Extended
AdditionalTransactionDatawithpaypal.checkoutTypefield. Seecom.unzer.payment.models.AdditionalTransactionData.setPaypal. - Defined
RESUMEDvalue forcom.unzer.payment.AbstractTransaction.Status - Added
com.unzer.payment.Unzer::updateCharge(),com.unzer.payment.Unzer::updateAuthorization()which must be invoked after Paypal-Express transaction is resumed.
- Extended
- Added fields
orderIdandinvoiceIdtoAuthorize,ChargeandCanceltransactions. - Added authorize support for Paypage. Use
Paypage::setAction(Paypage.Action.AUTHORIZE) - Added new capture (charge authorization) methods. See:
com.unzer.payment.Unzer.chargeAuthorization(charge)andcom.unzer.payment.Unzer.chargeAuthorization(paymentId, charge)
Changed
- Reduced multiple
com.unzer.payment.service.PaymentService.chargeAuthorizationmethods to one withChargeargument.
Deprecated
- Deprecated
com.unzer.payment.paymenttypes.Invoice. Usecom.unzer.payment.paymenttypes.PaylaterInvoiceinstead - Deprecated behavioral methods for data objects. Please, use Unzer facade instead. List of deprecations:
AbstractTransaction(base class ofAuthorization,Cancel,Charge,Payout,Recurring,Shipment,MarketplaceAuthorization,MarketplaceCharge,MarketplacePayment,MarketplaceCancel):getUnzer/setUnzer
Charge:cancel
Authorization:chargecancel
Payment:chargeauthorizecancel
MarketplaceCharge:cancel
MarketplaceAuthorization:chargecancel
MarketplacePayment:marketplaceFullChargesCancelfullChargeAuthorizationsmarketplaceFullAuthorizeCancel
AbstractPayment:fetchBasket,fetchMetadata,fetchCustomer,fetchPaymentType