You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+31Lines changed: 31 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,35 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
6
6
and this project adheres
7
7
to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
8
8
9
+
## [1.2.1.0][1.2.1.0]
10
+
11
+
This release brings Unzer Paylater Invoice payment type support to Java SDK.
12
+
13
+
### Added
14
+
15
+
* Added payment type Paylater Invoice. See more at [Unzer Docs](https://docs.unzer.com/payment-methods/unzer-invoice-upl/)
16
+
* Added ability to set client IP. Use `com.unzer.payment.communication.impl.HttpClientBasedRestCommunication.HttpClientBasedRestCommunication(java.util.Locale, java.lang.String)` and `com.unzer.payment.Unzer.Unzer(java.lang.String, java.util.Locale, java.lang.String, java.lang.String)` to set client ip.
17
+
* Added `com.unzer.payment.Unzer.cancelCharge(java.lang.String, java.math.BigDecimal)` to cancel Paylater charges.
18
+
19
+
### Fixed
20
+
21
+
* Fixed: customer salutation is null, because of marshalling/unmarshalling issue.
22
+
* Fixed: cancel InvoiceSecured charge failed with error `API.340.100.024: Reason code is mandatory for the payment type INVOICE_SECURED`. Please, use `com.unzer.payment.Cancel.setReasonCode` to set reason code and `com.unzer.payment.Unzer.cancelCharge(java.lang.String, java.lang.String, com.unzer.payment.Cancel)` to cancel InvoiceSecured charge.
* Deprecated `com.unzer.payment.util.SDKInfo.getVersion()`. Use `com.unzer.payment.util.SDKInfo.VERSION` instead.
31
+
* Deprecated payment type `com.unzer.payment.paymenttypes.InvoiceSecured`. Use `com.unzer.payment.paymenttypes.PaylaterInvoice` instead.
32
+
* Deprecated `com.unzer.payment.Customer.setShippingAddress(com.unzer.payment.Address)`. Use `com.unzer.payment.Customer.setShippingAddress(com.unzer.payment.ShippingAddress)` instead
33
+
34
+
### Changed
35
+
36
+
* Changed type of `com.unzer.payment.Customer.shippingAddress` and according getter/setter: `com.unzer.payment.Address` -> `com.unzer.payment.ShippingAddress`. Use `ShippingAddress.of(Address, Type)` to adapt
37
+
9
38
## [1.2.0.0][1.2.0.0]
10
39
11
40
### Breaking changes
@@ -205,6 +234,8 @@ to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
0 commit comments