Skip to content

Commit b9e6d39

Browse files
Merge pull request #1135 from Adyen/automation/release
Release v21.5.0
2 parents 9e36e9c + 8c2a459 commit b9e6d39

File tree

186 files changed

+40347
-205
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

186 files changed

+40347
-205
lines changed

Diff for: Makefile

+9-5
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,15 @@ balanceplatform: spec=BalancePlatformService-v2
3333
transfers: spec=TransferService-v3
3434
legalentitymanagement: spec=LegalEntityService-v3
3535
# Classic Platforms
36-
marketpay/account: spec=AccountService-v6
37-
marketpay/fund: spec=FundService-v6
38-
marketpay/configuration: spec=NotificationConfigurationService-v6
39-
marketpay/webhooks: spec=MarketPayNotificationService-v6
40-
hop: spec=HopService-v6
36+
marketpayaccount: spec=AccountService-v6
37+
marketpayaccount: smallServiceName=ClassicPlatformAccountApi
38+
marketpayfund: spec=FundService-v6
39+
marketpayfund: smallServiceName=ClassicPlatformFundApi
40+
marketpayconfiguration: spec=NotificationConfigurationService-v6
41+
marketpayconfiguration: smallServiceName=ClassicPlatformConfigurationApi
42+
marketpayhop: spec=HopService-v6
43+
marketpayhop: smallServiceName=ClassicPlatformHopApi
44+
#marketpaywebhooks: spec=MarketPayNotificationService-v6
4145
# Balance Webhooks
4246
acswebhooks: spec=BalancePlatformAcsNotification-v1
4347
configurationwebhooks: spec=BalancePlatformConfigurationNotification-v1

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ You can use Maven and add this dependency to your project's POM:
5858
<dependency>
5959
<groupId>com.adyen</groupId>
6060
<artifactId>adyen-java-api-library</artifactId>
61-
<version>21.4.0</version>
61+
<version>21.5.0</version>
6262
</dependency>
6363
```
6464

Diff for: pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>com.adyen</groupId>
55
<artifactId>adyen-java-api-library</artifactId>
66
<packaging>jar</packaging>
7-
<version>21.4.0</version>
7+
<version>21.5.0</version>
88
<name>Adyen Java API Library</name>
99
<description>Adyen API Client Library for Java</description>
1010
<url>https://github.com/adyen/adyen-java-api-library</url>
@@ -248,7 +248,7 @@
248248
<dependency>
249249
<groupId>com.squareup.okio</groupId>
250250
<artifactId>okio</artifactId>
251-
<version>3.5.0</version>
251+
<version>3.6.0</version>
252252
<scope>test</scope>
253253
</dependency>
254254
<!-- Generated model annotations -->

Diff for: src/main/java/com/adyen/Client.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public class Client {
1111
private ClientInterface httpClient;
1212
private Config config;
1313
public static final String LIB_NAME = "adyen-java-api-library";
14-
public static final String LIB_VERSION = "21.4.0";
14+
public static final String LIB_VERSION = "21.5.0";
1515
public static final String TERMINAL_API_ENDPOINT_TEST = "https://terminal-api-test.adyen.com";
1616
public static final String TERMINAL_API_ENDPOINT_LIVE = "https://terminal-api-live.adyen.com";
1717

Diff for: src/main/java/com/adyen/model/balancecontrol/JSON.java

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package com.adyen.model.balancecontrol;
22

33
import com.adyen.serializer.ByteArraySerializer;
4+
import com.adyen.serializer.ByteArrayDeserializer;
45
import com.fasterxml.jackson.annotation.*;
56
import com.fasterxml.jackson.databind.*;
67
import com.fasterxml.jackson.databind.json.JsonMapper;
@@ -33,6 +34,7 @@ public JSON() {
3334
// Custom ByteSerializer
3435
SimpleModule simpleModule = new SimpleModule();
3536
simpleModule.addSerializer(byte[].class, new ByteArraySerializer());
37+
simpleModule.addDeserializer(byte[].class, new ByteArrayDeserializer());
3638
mapper.registerModule(simpleModule);
3739
}
3840

Diff for: src/main/java/com/adyen/model/balanceplatform/JSON.java

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package com.adyen.model.balanceplatform;
22

33
import com.adyen.serializer.ByteArraySerializer;
4+
import com.adyen.serializer.ByteArrayDeserializer;
45
import com.fasterxml.jackson.annotation.*;
56
import com.fasterxml.jackson.databind.*;
67
import com.fasterxml.jackson.databind.json.JsonMapper;
@@ -33,6 +34,7 @@ public JSON() {
3334
// Custom ByteSerializer
3435
SimpleModule simpleModule = new SimpleModule();
3536
simpleModule.addSerializer(byte[].class, new ByteArraySerializer());
37+
simpleModule.addDeserializer(byte[].class, new ByteArrayDeserializer());
3638
mapper.registerModule(simpleModule);
3739
}
3840

Diff for: src/main/java/com/adyen/model/binlookup/JSON.java

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package com.adyen.model.binlookup;
22

33
import com.adyen.serializer.ByteArraySerializer;
4+
import com.adyen.serializer.ByteArrayDeserializer;
45
import com.fasterxml.jackson.annotation.*;
56
import com.fasterxml.jackson.databind.*;
67
import com.fasterxml.jackson.databind.json.JsonMapper;
@@ -33,6 +34,7 @@ public JSON() {
3334
// Custom ByteSerializer
3435
SimpleModule simpleModule = new SimpleModule();
3536
simpleModule.addSerializer(byte[].class, new ByteArraySerializer());
37+
simpleModule.addDeserializer(byte[].class, new ByteArrayDeserializer());
3638
mapper.registerModule(simpleModule);
3739
}
3840

Diff for: src/main/java/com/adyen/model/checkout/AfterpayDetails.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,9 @@ public enum TypeEnum {
6767

6868
AFTERPAYTOUCH("afterpaytouch"),
6969

70-
AFTERPAY_B2B("afterpay_b2b");
70+
AFTERPAY_B2B("afterpay_b2b"),
71+
72+
CLEARPAY("clearpay");
7173

7274
private String value;
7375

Diff for: src/main/java/com/adyen/model/checkout/BalanceCheckRequest.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -704,10 +704,10 @@ public BalanceCheckRequest putLocalizedShopperStatementItem(String key, String l
704704
}
705705

706706
/**
707-
* This field allows merchants to use dynamic shopper statement in local character sets. The local shopper statement field can be supplied in markets where localized merchant descriptors are used. Currently, Adyen only supports this in the Japanese market .The available character sets at the moment are: * Processing in Japan: **ja-Kana** The character set **ja-Kana** supports UTF-8 based Katakana and alphanumeric and special characters. Merchants can use half-width or full-width characters. An example request would be: &gt; { \&quot;shopperStatement\&quot; : \&quot;ADYEN - SELLER-A\&quot;, \&quot;localizedShopperStatement\&quot; : { \&quot;ja-Kana\&quot; : \&quot;ADYEN - セラーA\&quot; } } We recommend merchants to always supply the field localizedShopperStatement in addition to the field shopperStatement.It is issuer dependent whether the localized shopper statement field is supported. In the case of non-domestic transactions (e.g. US-issued cards processed in JP) the field &#x60;shopperStatement&#x60; is used to modify the statement of the shopper. Adyen handles the complexity of ensuring the correct descriptors are assigned. Please note, this field can be used for only Visa and Mastercard transactions.
707+
* The &#x60;localizedShopperStatement&#x60; field lets you use dynamic values for your shopper statement in a local character set. If not supplied, left empty, or for cross-border transactions, **shopperStatement** is used. Adyen currently supports the ja-Kana character set for Visa and Mastercard payments in Japan using Japanese cards. This character set supports: * UTF-8 based Katakana, capital letters, numbers and special characters. * Half-width or full-width characters.
708708
* @return localizedShopperStatement
709709
**/
710-
@ApiModelProperty(value = "This field allows merchants to use dynamic shopper statement in local character sets. The local shopper statement field can be supplied in markets where localized merchant descriptors are used. Currently, Adyen only supports this in the Japanese market .The available character sets at the moment are: * Processing in Japan: **ja-Kana** The character set **ja-Kana** supports UTF-8 based Katakana and alphanumeric and special characters. Merchants can use half-width or full-width characters. An example request would be: > { \"shopperStatement\" : \"ADYEN - SELLER-A\", \"localizedShopperStatement\" : { \"ja-Kana\" : \"ADYEN - セラーA\" } } We recommend merchants to always supply the field localizedShopperStatement in addition to the field shopperStatement.It is issuer dependent whether the localized shopper statement field is supported. In the case of non-domestic transactions (e.g. US-issued cards processed in JP) the field `shopperStatement` is used to modify the statement of the shopper. Adyen handles the complexity of ensuring the correct descriptors are assigned. Please note, this field can be used for only Visa and Mastercard transactions.")
710+
@ApiModelProperty(value = "The `localizedShopperStatement` field lets you use dynamic values for your shopper statement in a local character set. If not supplied, left empty, or for cross-border transactions, **shopperStatement** is used. Adyen currently supports the ja-Kana character set for Visa and Mastercard payments in Japan using Japanese cards. This character set supports: * UTF-8 based Katakana, capital letters, numbers and special characters. * Half-width or full-width characters.")
711711
@JsonProperty(JSON_PROPERTY_LOCALIZED_SHOPPER_STATEMENT)
712712
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
713713

Diff for: src/main/java/com/adyen/model/checkout/DonationPaymentRequest.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1390,10 +1390,10 @@ public DonationPaymentRequest putLocalizedShopperStatementItem(String key, Strin
13901390
}
13911391

13921392
/**
1393-
* This field allows merchants to use dynamic shopper statement in local character sets. The local shopper statement field can be supplied in markets where localized merchant descriptors are used. Currently, Adyen only supports this in the Japanese market .The available character sets at the moment are: * Processing in Japan: **ja-Kana** The character set **ja-Kana** supports UTF-8 based Katakana and alphanumeric and special characters. Merchants should send the Katakana shopperStatement in full-width characters. An example request would be: &gt; { \&quot;shopperStatement\&quot; : \&quot;ADYEN - SELLER-A\&quot;, \&quot;localizedShopperStatement\&quot; : { \&quot;ja-Kana\&quot; : \&quot;ADYEN - セラーA\&quot; } } We recommend merchants to always supply the field localizedShopperStatement in addition to the field shopperStatement.It is issuer dependent whether the localized shopper statement field is supported. In the case of non-domestic transactions (e.g. US-issued cards processed in JP) the field &#x60;shopperStatement&#x60; is used to modify the statement of the shopper. Adyen handles the complexity of ensuring the correct descriptors are assigned.
1393+
* The &#x60;localizedShopperStatement&#x60; field lets you use dynamic values for your shopper statement in a local character set. If not supplied, left empty, or for cross-border transactions, **shopperStatement** is used. Adyen currently supports the ja-Kana character set for Visa and Mastercard payments in Japan using Japanese cards. This character set supports: * UTF-8 based Katakana, capital letters, numbers and special characters. * Half-width or full-width characters.
13941394
* @return localizedShopperStatement
13951395
**/
1396-
@ApiModelProperty(value = "This field allows merchants to use dynamic shopper statement in local character sets. The local shopper statement field can be supplied in markets where localized merchant descriptors are used. Currently, Adyen only supports this in the Japanese market .The available character sets at the moment are: * Processing in Japan: **ja-Kana** The character set **ja-Kana** supports UTF-8 based Katakana and alphanumeric and special characters. Merchants should send the Katakana shopperStatement in full-width characters. An example request would be: > { \"shopperStatement\" : \"ADYEN - SELLER-A\", \"localizedShopperStatement\" : { \"ja-Kana\" : \"ADYEN - セラーA\" } } We recommend merchants to always supply the field localizedShopperStatement in addition to the field shopperStatement.It is issuer dependent whether the localized shopper statement field is supported. In the case of non-domestic transactions (e.g. US-issued cards processed in JP) the field `shopperStatement` is used to modify the statement of the shopper. Adyen handles the complexity of ensuring the correct descriptors are assigned.")
1396+
@ApiModelProperty(value = "The `localizedShopperStatement` field lets you use dynamic values for your shopper statement in a local character set. If not supplied, left empty, or for cross-border transactions, **shopperStatement** is used. Adyen currently supports the ja-Kana character set for Visa and Mastercard payments in Japan using Japanese cards. This character set supports: * UTF-8 based Katakana, capital letters, numbers and special characters. * Half-width or full-width characters.")
13971397
@JsonProperty(JSON_PROPERTY_LOCALIZED_SHOPPER_STATEMENT)
13981398
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
13991399

Diff for: src/main/java/com/adyen/model/checkout/JSON.java

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package com.adyen.model.checkout;
22

33
import com.adyen.serializer.ByteArraySerializer;
4+
import com.adyen.serializer.ByteArrayDeserializer;
45
import com.fasterxml.jackson.annotation.*;
56
import com.fasterxml.jackson.databind.*;
67
import com.fasterxml.jackson.databind.json.JsonMapper;
@@ -33,6 +34,7 @@ public JSON() {
3334
// Custom ByteSerializer
3435
SimpleModule simpleModule = new SimpleModule();
3536
simpleModule.addSerializer(byte[].class, new ByteArraySerializer());
37+
simpleModule.addDeserializer(byte[].class, new ByteArrayDeserializer());
3638
mapper.registerModule(simpleModule);
3739
}
3840

Diff for: src/main/java/com/adyen/model/checkout/PaymentDetails.java

-2
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,6 @@ public enum TypeEnum {
155155

156156
GOPAY_WALLET("gopay_wallet"),
157157

158-
POLI("poli"),
159-
160158
KCP_NAVERPAY("kcp_naverpay"),
161159

162160
ONLINEBANKING_IN("onlinebanking_IN"),

Diff for: src/main/java/com/adyen/model/checkout/PaymentRequest.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1303,10 +1303,10 @@ public PaymentRequest putLocalizedShopperStatementItem(String key, String locali
13031303
}
13041304

13051305
/**
1306-
* This field allows merchants to use dynamic shopper statement in local character sets. The local shopper statement field can be supplied in markets where localized merchant descriptors are used. Currently, Adyen only supports this in the Japanese market .The available character sets at the moment are: * Processing in Japan: **ja-Kana** The character set **ja-Kana** supports UTF-8 based Katakana and alphanumeric and special characters. Merchants should send the Katakana shopperStatement in full-width characters. An example request would be: &gt; { \&quot;shopperStatement\&quot; : \&quot;ADYEN - SELLER-A\&quot;, \&quot;localizedShopperStatement\&quot; : { \&quot;ja-Kana\&quot; : \&quot;ADYEN - セラーA\&quot; } } We recommend merchants to always supply the field localizedShopperStatement in addition to the field shopperStatement.It is issuer dependent whether the localized shopper statement field is supported. In the case of non-domestic transactions (e.g. US-issued cards processed in JP) the field &#x60;shopperStatement&#x60; is used to modify the statement of the shopper. Adyen handles the complexity of ensuring the correct descriptors are assigned.
1306+
* The &#x60;localizedShopperStatement&#x60; field lets you use dynamic values for your shopper statement in a local character set. If not supplied, left empty, or for cross-border transactions, **shopperStatement** is used. Adyen currently supports the ja-Kana character set for Visa and Mastercard payments in Japan using Japanese cards. This character set supports: * UTF-8 based Katakana, capital letters, numbers and special characters. * Half-width or full-width characters.
13071307
* @return localizedShopperStatement
13081308
**/
1309-
@ApiModelProperty(value = "This field allows merchants to use dynamic shopper statement in local character sets. The local shopper statement field can be supplied in markets where localized merchant descriptors are used. Currently, Adyen only supports this in the Japanese market .The available character sets at the moment are: * Processing in Japan: **ja-Kana** The character set **ja-Kana** supports UTF-8 based Katakana and alphanumeric and special characters. Merchants should send the Katakana shopperStatement in full-width characters. An example request would be: > { \"shopperStatement\" : \"ADYEN - SELLER-A\", \"localizedShopperStatement\" : { \"ja-Kana\" : \"ADYEN - セラーA\" } } We recommend merchants to always supply the field localizedShopperStatement in addition to the field shopperStatement.It is issuer dependent whether the localized shopper statement field is supported. In the case of non-domestic transactions (e.g. US-issued cards processed in JP) the field `shopperStatement` is used to modify the statement of the shopper. Adyen handles the complexity of ensuring the correct descriptors are assigned.")
1309+
@ApiModelProperty(value = "The `localizedShopperStatement` field lets you use dynamic values for your shopper statement in a local character set. If not supplied, left empty, or for cross-border transactions, **shopperStatement** is used. Adyen currently supports the ja-Kana character set for Visa and Mastercard payments in Japan using Japanese cards. This character set supports: * UTF-8 based Katakana, capital letters, numbers and special characters. * Half-width or full-width characters.")
13101310
@JsonProperty(JSON_PROPERTY_LOCALIZED_SHOPPER_STATEMENT)
13111311
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
13121312

Diff for: src/main/java/com/adyen/model/checkout/PaymentSetupRequest.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1065,10 +1065,10 @@ public PaymentSetupRequest putLocalizedShopperStatementItem(String key, String l
10651065
}
10661066

10671067
/**
1068-
* This field allows merchants to use dynamic shopper statement in local character sets. The local shopper statement field can be supplied in markets where localized merchant descriptors are used. Currently, Adyen only supports this in the Japanese market .The available character sets at the moment are: * Processing in Japan: **ja-Kana** The character set **ja-Kana** supports UTF-8 based Katakana and alphanumeric and special characters. Merchants can use half-width or full-width characters. An example request would be: &gt; { \&quot;shopperStatement\&quot; : \&quot;ADYEN - SELLER-A\&quot;, \&quot;localizedShopperStatement\&quot; : { \&quot;ja-Kana\&quot; : \&quot;ADYEN - セラーA\&quot; } } We recommend merchants to always supply the field localizedShopperStatement in addition to the field shopperStatement.It is issuer dependent whether the localized shopper statement field is supported. In the case of non-domestic transactions (e.g. US-issued cards processed in JP) the field &#x60;shopperStatement&#x60; is used to modify the statement of the shopper. Adyen handles the complexity of ensuring the correct descriptors are assigned. Please note, this field can be used for only Visa and Mastercard transactions.
1068+
* The &#x60;localizedShopperStatement&#x60; field lets you use dynamic values for your shopper statement in a local character set. If not supplied, left empty, or for cross-border transactions, **shopperStatement** is used. Adyen currently supports the ja-Kana character set for Visa and Mastercard payments in Japan using Japanese cards. This character set supports: * UTF-8 based Katakana, capital letters, numbers and special characters. * Half-width or full-width characters.
10691069
* @return localizedShopperStatement
10701070
**/
1071-
@ApiModelProperty(value = "This field allows merchants to use dynamic shopper statement in local character sets. The local shopper statement field can be supplied in markets where localized merchant descriptors are used. Currently, Adyen only supports this in the Japanese market .The available character sets at the moment are: * Processing in Japan: **ja-Kana** The character set **ja-Kana** supports UTF-8 based Katakana and alphanumeric and special characters. Merchants can use half-width or full-width characters. An example request would be: > { \"shopperStatement\" : \"ADYEN - SELLER-A\", \"localizedShopperStatement\" : { \"ja-Kana\" : \"ADYEN - セラーA\" } } We recommend merchants to always supply the field localizedShopperStatement in addition to the field shopperStatement.It is issuer dependent whether the localized shopper statement field is supported. In the case of non-domestic transactions (e.g. US-issued cards processed in JP) the field `shopperStatement` is used to modify the statement of the shopper. Adyen handles the complexity of ensuring the correct descriptors are assigned. Please note, this field can be used for only Visa and Mastercard transactions.")
1071+
@ApiModelProperty(value = "The `localizedShopperStatement` field lets you use dynamic values for your shopper statement in a local character set. If not supplied, left empty, or for cross-border transactions, **shopperStatement** is used. Adyen currently supports the ja-Kana character set for Visa and Mastercard payments in Japan using Japanese cards. This character set supports: * UTF-8 based Katakana, capital letters, numbers and special characters. * Half-width or full-width characters.")
10721072
@JsonProperty(JSON_PROPERTY_LOCALIZED_SHOPPER_STATEMENT)
10731073
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
10741074

Diff for: src/main/java/com/adyen/model/checkout/ThreeDSRequestData.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,9 @@ public static NativeThreeDSEnum fromValue(String value) {
160160
* The version of 3D Secure to use. Possible values: * **2.1.0** * **2.2.0**
161161
*/
162162
public enum ThreeDSVersionEnum {
163-
_1_0("V_2_1_0"),
163+
_1_0("2.1.0"),
164164

165-
_2_0("V_2_2_0");
165+
_2_0("2.2.0");
166166

167167
private String value;
168168

0 commit comments

Comments
 (0)