Skip to content

Commit 5fe92c1

Browse files
Merge pull request #1160 from Adyen/automation/release
Release v22.0.0
2 parents b960881 + 0fcc14b commit 5fe92c1

File tree

248 files changed

+3813
-2815
lines changed

Some content is hidden

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

248 files changed

+3813
-2815
lines changed

Diff for: Makefile

+3-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ openapi-generator-cli:=java -jar $(openapi-generator-jar)
55

66
generator:=java
77
library:=jersey3
8-
modelGen:=acswebhooks balancecontrol balanceplatform binlookup checkout dataprotection legalentitymanagement management payment payout posterminalmanagement recurring transfers storedvalue configurationwebhooks reportwebhooks transferwebhooks managementwebhooks disputes
8+
modelGen:=acswebhooks balancecontrol balanceplatform binlookup checkout dataprotection legalentitymanagement management payment payout posterminalmanagement recurring transfers storedvalue configurationwebhooks reportwebhooks transferwebhooks managementwebhooks disputes transactionwebhooks
99
models:=src/main/java/com/adyen/model
1010
output:=target/out
1111

@@ -16,7 +16,7 @@ balancecontrol: spec=BalanceControlService-v1
1616
balancecontrol: smallServiceName=BalanceControlApi
1717
binlookup: spec=BinLookupService-v54
1818
binlookup: smallServiceName=BinLookupApi
19-
checkout: spec=CheckoutService-v70
19+
checkout: spec=CheckoutService-v71
2020
dataprotection: spec=DataProtectionService-v1
2121
dataprotection: smallServiceName=DataProtectionApi
2222
storedvalue: spec=StoredValueService-v46
@@ -47,6 +47,7 @@ acswebhooks: spec=BalancePlatformAcsNotification-v1
4747
configurationwebhooks: spec=BalancePlatformConfigurationNotification-v1
4848
reportwebhooks: spec=BalancePlatformReportNotification-v1
4949
transferwebhooks: spec=BalancePlatformTransferNotification-v4
50+
transactionwebhooks: spec=BalancePlatformTransactionNotification-v4
5051
# Management Webhooks
5152
managementwebhooks: spec=ManagementNotificationService-v3
5253
# Disputes

Diff for: README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The Library supports all APIs under the following services:
1414
|------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------|-------------------|
1515
| [BIN lookup API](https://docs.adyen.com/api-explorer/BinLookup/54/overview) | The BIN Lookup API provides endpoints for retrieving information based on a given BIN. | BinLookup | **v54** |
1616
| [Capital API](https://docs.adyen.com/api-explorer/capital/3/overview) | Adyen Capital allows you to build an embedded financing offering for your users to serve their operational needs. | Capital | **v3** |
17-
| [Checkout API](https://docs.adyen.com/api-explorer/Checkout/70/overview) | Our latest integration for accepting online payments. | Checkout | **v70** |
17+
| [Checkout API](https://docs.adyen.com/api-explorer/Checkout/71/overview) | Our latest integration for accepting online payments. | Checkout | **v71** |
1818
| [Configuration API](https://docs.adyen.com/api-explorer/balanceplatform/2/overview) | The Configuration API enables you to create a platform where you can onboard your users as account holders and create balance accounts, cards, and business accounts. | balanceplatform package subclasses | **v2** |
1919
| [DataProtection API](https://docs.adyen.com/development-resources/data-protection-api) | Adyen Data Protection API provides a way for you to process [Subject Erasure Requests](https://gdpr-info.eu/art-17-gdpr/) as mandated in GDPR. Use our API to submit a request to delete shopper's data, including payment details and other related information (for example, delivery address or shopper email) | DataProtection | **v1** |
2020
| [Legal Entity Management API](https://docs.adyen.com/api-explorer/legalentity/3/overview) | Manage legal entities that contain information required for verification. | legalentitymanagement package subclasses | **v3** |
@@ -45,6 +45,7 @@ The library supports all webhooks under the following model directories:
4545
| [Notification Webhooks](https://docs.adyen.com/api-explorer/Webhooks/1/overview) | We use webhooks to send you updates about payment status updates, newly available reports, and other events that you can subscribe to. For more information, refer to our documentation | [notification](src/main/java/com/adyen/model/notification) | **v1** |
4646
| [Management Webhooks](https://docs.adyen.com/api-explorer/ManagementNotification/3/overview) | Adyen uses webhooks to inform your system about events that happen with your Adyen company and merchant accounts, stores, payment terminals, and payment methods when using Management API | [managementwebhooks](src/main/java/com/adyen/model/managementwebhooks) | **v3** |
4747
| [Classic Platform Webhooks](https://docs.adyen.com/api-explorer/Notification/6/overview#retry) | The Notification API sends notifications to the endpoints specified in a given subscription. Subscriptions are managed through the Notification Configuration API. The API specifications listed here detail the format of each notification. | [marketpaywebhooks](src/main/java/com/adyen/model/marketpaywebhooks) | **v6** |
48+
| [Transaction Webhooks](https://docs.adyen.com/api-explorer/transaction-webhooks/4/overview) | Adyen sends webhooks to inform your system about incoming and outgoing transfers in your platform. You can use these webhooks to build your implementation. For example, you can use this information to update balances in your own dashboards or to keep track of incoming funds. | [transactionwebhooks](src/main/java/com/adyen/model/transactionwebhooks) | **v4** |
4849

4950
For more information, refer to our [documentation](https://docs.adyen.com/) or
5051
the [API Explorer](https://docs.adyen.com/api-explorer/).
@@ -65,7 +66,7 @@ You can use Maven and add this dependency to your project's POM:
6566
<dependency>
6667
<groupId>com.adyen</groupId>
6768
<artifactId>adyen-java-api-library</artifactId>
68-
<version>22.0.0-beta</version>
69+
<version>22.0.0</version>
6970
</dependency>
7071
```
7172

Diff for: pom.xml

+9-15
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>22.0.0-beta</version>
7+
<version>22.0.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>
@@ -25,7 +25,7 @@
2525
<properties>
2626
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2727
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
28-
<swagger-core-version>1.6.11</swagger-core-version>
28+
<swagger-core-version>1.6.12</swagger-core-version>
2929
</properties>
3030
<scm>
3131
<connection>scm:git:[email protected]:Adyen/adyen-java-api-library.git</connection>
@@ -75,7 +75,7 @@
7575
<plugin>
7676
<groupId>org.jacoco</groupId>
7777
<artifactId>jacoco-maven-plugin</artifactId>
78-
<version>0.8.10</version>
78+
<version>0.8.11</version>
7979
<executions>
8080
<execution>
8181
<id>default-prepare-agent</id>
@@ -104,7 +104,7 @@
104104
<configuration>
105105
<source>8</source>
106106
</configuration>
107-
<version>3.6.0</version>
107+
<version>3.6.2</version>
108108
<executions>
109109
<execution>
110110
<id>attach-javadocs</id>
@@ -142,7 +142,7 @@
142142
<plugin>
143143
<groupId>org.apache.maven.plugins</groupId>
144144
<artifactId>maven-checkstyle-plugin</artifactId>
145-
<version>3.3.0</version>
145+
<version>3.3.1</version>
146146
<configuration>
147147
<configLocation>checkstyle.xml</configLocation>
148148
<suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
@@ -189,13 +189,7 @@
189189
<dependency>
190190
<groupId>com.fasterxml.jackson.core</groupId>
191191
<artifactId>jackson-databind</artifactId>
192-
<version>2.15.2</version>
193-
</dependency>
194-
<dependency>
195-
<groupId>commons-codec</groupId>
196-
<artifactId>commons-codec</artifactId>
197-
<version>1.16.0</version>
198-
<scope>compile</scope>
192+
<version>2.15.3</version>
199193
</dependency>
200194
<dependency>
201195
<groupId>com.google.code.gson</groupId>
@@ -218,7 +212,7 @@
218212
<dependency>
219213
<groupId>org.mockito</groupId>
220214
<artifactId>mockito-core</artifactId>
221-
<version>5.6.0</version>
215+
<version>5.7.0</version>
222216
<scope>test</scope>
223217
</dependency>
224218
<dependency>
@@ -230,7 +224,7 @@
230224
<dependency>
231225
<groupId>io.swagger.core.v3</groupId>
232226
<artifactId>swagger-annotations</artifactId>
233-
<version>2.2.17</version>
227+
<version>2.2.18</version>
234228
<scope>compile</scope>
235229
</dependency>
236230
<dependency>
@@ -242,7 +236,7 @@
242236
<dependency>
243237
<groupId>io.gsonfire</groupId>
244238
<artifactId>gson-fire</artifactId>
245-
<version>1.8.5</version>
239+
<version>1.9.0</version>
246240
<scope>compile</scope>
247241
</dependency>
248242
<dependency>

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public class Client {
1010
private ClientInterface httpClient;
1111
private Config config;
1212
public static final String LIB_NAME = "adyen-java-api-library";
13-
public static final String LIB_VERSION = "22.0.0-beta";
13+
public static final String LIB_VERSION = "22.0.0";
1414
public static final String TERMINAL_API_ENDPOINT_TEST = "https://terminal-api-test.adyen.com";
1515
public static final String TERMINAL_API_ENDPOINT_LIVE = "https://terminal-api-live.adyen.com";
1616

Diff for: src/main/java/com/adyen/httpclient/AdyenHttpClient.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
import com.adyen.Config;
2525
import com.adyen.constants.ApiConstants;
2626
import com.adyen.model.RequestOptions;
27-
import org.apache.commons.codec.binary.Base64;
27+
import java.util.Base64;
2828
import org.apache.hc.client5.http.classic.methods.HttpDelete;
2929
import org.apache.hc.client5.http.classic.methods.HttpGet;
3030
import org.apache.hc.client5.http.classic.methods.HttpPatch;
@@ -244,7 +244,7 @@ private void setApiKey(HttpUriRequest httpUriRequest, String apiKey) {
244244
private void setBasicAuthentication(HttpUriRequest httpUriRequest, String username, String password) {
245245
// set basic authentication
246246
String authString = username + ":" + password;
247-
byte[] authEncBytes = Base64.encodeBase64(authString.getBytes());
247+
byte[] authEncBytes = Base64.getEncoder().encode(authString.getBytes());
248248
String authStringEnc = new String(authEncBytes);
249249

250250
httpUriRequest.addHeader("Authorization", "Basic " + authStringEnc);

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

+5-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,11 @@ public static ContractEnum fromValue(String value) {
9696
public enum TokenServiceEnum {
9797
VISATOKENSERVICE("VISATOKENSERVICE"),
9898

99-
MCTOKENSERVICE("MCTOKENSERVICE");
99+
MCTOKENSERVICE("MCTOKENSERVICE"),
100+
101+
AMEXTOKENSERVICE("AMEXTOKENSERVICE"),
102+
103+
TOKEN_SHARING("TOKEN_SHARING");
100104

101105
private String value;
102106

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* Adyen Checkout API
33
*
4-
* The version of the OpenAPI document: 70
4+
* The version of the OpenAPI document: 71
55
*
66
*
77
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* Adyen Checkout API
33
*
4-
* The version of the OpenAPI document: 70
4+
* The version of the OpenAPI document: 71
55
*
66
*
77
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* Adyen Checkout API
33
*
4-
* The version of the OpenAPI document: 70
4+
* The version of the OpenAPI document: 71
55
*
66
*
77
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* Adyen Checkout API
33
*
4-
* The version of the OpenAPI document: 70
4+
* The version of the OpenAPI document: 71
55
*
66
*
77
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* Adyen Checkout API
33
*
4-
* The version of the OpenAPI document: 70
4+
* The version of the OpenAPI document: 71
55
*
66
*
77
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* Adyen Checkout API
33
*
4-
* The version of the OpenAPI document: 70
4+
* The version of the OpenAPI document: 71
55
*
66
*
77
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* Adyen Checkout API
33
*
4-
* The version of the OpenAPI document: 70
4+
* The version of the OpenAPI document: 71
55
*
66
*
77
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* Adyen Checkout API
33
*
4-
* The version of the OpenAPI document: 70
4+
* The version of the OpenAPI document: 71
55
*
66
*
77
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* Adyen Checkout API
33
*
4-
* The version of the OpenAPI document: 70
4+
* The version of the OpenAPI document: 71
55
*
66
*
77
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* Adyen Checkout API
33
*
4-
* The version of the OpenAPI document: 70
4+
* The version of the OpenAPI document: 71
55
*
66
*
77
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* Adyen Checkout API
33
*
4-
* The version of the OpenAPI document: 70
4+
* The version of the OpenAPI document: 71
55
*
66
*
77
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* Adyen Checkout API
33
*
4-
* The version of the OpenAPI document: 70
4+
* The version of the OpenAPI document: 71
55
*
66
*
77
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* Adyen Checkout API
33
*
4-
* The version of the OpenAPI document: 70
4+
* The version of the OpenAPI document: 71
55
*
66
*
77
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* Adyen Checkout API
33
*
4-
* The version of the OpenAPI document: 70
4+
* The version of the OpenAPI document: 71
55
*
66
*
77
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* Adyen Checkout API
33
*
4-
* The version of the OpenAPI document: 70
4+
* The version of the OpenAPI document: 71
55
*
66
*
77
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* Adyen Checkout API
33
*
4-
* The version of the OpenAPI document: 70
4+
* The version of the OpenAPI document: 71
55
*
66
*
77
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* Adyen Checkout API
33
*
4-
* The version of the OpenAPI document: 70
4+
* The version of the OpenAPI document: 71
55
*
66
*
77
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* Adyen Checkout API
33
*
4-
* The version of the OpenAPI document: 70
4+
* The version of the OpenAPI document: 71
55
*
66
*
77
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* Adyen Checkout API
33
*
4-
* The version of the OpenAPI document: 70
4+
* The version of the OpenAPI document: 71
55
*
66
*
77
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* Adyen Checkout API
33
*
4-
* The version of the OpenAPI document: 70
4+
* The version of the OpenAPI document: 71
55
*
66
*
77
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* Adyen Checkout API
33
*
4-
* The version of the OpenAPI document: 70
4+
* The version of the OpenAPI document: 71
55
*
66
*
77
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* Adyen Checkout API
33
*
4-
* The version of the OpenAPI document: 70
4+
* The version of the OpenAPI document: 71
55
*
66
*
77
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* Adyen Checkout API
33
*
4-
* The version of the OpenAPI document: 70
4+
* The version of the OpenAPI document: 71
55
*
66
*
77
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* Adyen Checkout API
33
*
4-
* The version of the OpenAPI document: 70
4+
* The version of the OpenAPI document: 71
55
*
66
*
77
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

0 commit comments

Comments
 (0)