diff --git a/CHANGELOG.md b/CHANGELOG.md index b6d0a4c4..9ef58214 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,14 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## [5.6.0](https://github.com/unzerdev/java-sdk/compare/5.5.0..5.6.0) + +* Add Styling properties for v2 Paypage `com.unzer.payment.resources.PaypageV2`: + * `basketBackgroundColor` + * `paymentFormBackgroundColor` +* Add prototypes for v2 Customer: `com.unzer.payment.CustomerV2`. +* Add prototypes for v3 Basket: `com.unzer.payment.BasketV3`. + ## [5.5.0](https://github.com/unzerdev/java-sdk/compare/5.4.0..5.5.0) ### Added diff --git a/pom.xml b/pom.xml index a5676a46..8e97f9b0 100755 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ com.unzer.payment java-sdk - 5.5.0 + 5.6.0 Unzer Java SDK Unzer SDK provides an easy way to use Unzer Payment API. https://docs.unzer.com/ diff --git a/src/main/java/com/unzer/payment/BasketV3.java b/src/main/java/com/unzer/payment/BasketV3.java index becf565e..49ce7306 100644 --- a/src/main/java/com/unzer/payment/BasketV3.java +++ b/src/main/java/com/unzer/payment/BasketV3.java @@ -1,5 +1,13 @@ package com.unzer.payment; +/** + * This is a prototype of the v3 Basket resource. + *

+ * This class represents version 3 of Basket resource in the Unzer API. + * The version uses bearer authentication for API calls. + * Make sure to use the same Unzer instance to use the same JWT token across multiple calls. + * Also, the resource ID incorporates UUID and has a length of 42. + */ public class BasketV3 extends Basket { @Override protected String getResourceUrl() { diff --git a/src/main/java/com/unzer/payment/CustomerV2.java b/src/main/java/com/unzer/payment/CustomerV2.java index 1d0bb8d4..7e07845a 100644 --- a/src/main/java/com/unzer/payment/CustomerV2.java +++ b/src/main/java/com/unzer/payment/CustomerV2.java @@ -1,8 +1,12 @@ package com.unzer.payment; /** - * Business object for Customer together with billingAddress. - * firstname and lastname are mandatory to create a new Customer. + * This is a prototype of the v2 Customer resource. + * + * This class represents version 2 of Customer resource in the Unzer API. + * The version uses bearer authentication for API calls. + * Make sure to use the same Unzer instance to use the same JWT token across multiple calls. + * Also, the resource ID incorporates UUID and has a length of 42. */ public class CustomerV2 extends Customer { public CustomerV2(String firstname, String lastname) {