Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.unzer.payment</groupId>
<artifactId>java-sdk</artifactId>
<version>5.5.0</version>
<version>5.6.0</version>
<name>Unzer Java SDK</name>
<description>Unzer SDK provides an easy way to use Unzer Payment API.</description>
<url>https://docs.unzer.com/</url>
Expand Down
8 changes: 8 additions & 0 deletions src/main/java/com/unzer/payment/BasketV3.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
package com.unzer.payment;

/**
* This is a prototype of the v3 Basket resource.
* <p>
* 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() {
Expand Down
8 changes: 6 additions & 2 deletions src/main/java/com/unzer/payment/CustomerV2.java
Original file line number Diff line number Diff line change
@@ -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) {
Expand Down
Loading