Adyen Java API Library v21.0.0
AdyenAutomationBot
released this
28 Jul 15:11
·
283 commits
to main
since this release
Description
This release contains a major library overhaul. Several API's have had their models updated to match the latest version of every API. Check The Readme for more information on the supported APIs. The corresponding models can also be found in the Adyen API Explorer
Checkout migration guide
Many requests/responses classes in the Checkout service have been renamed,
please use the new names as shown in the sections below:
service/checkout/UtilityApi.java
Old name(v20.1.2) | New name(v21.0.0) |
---|---|
CreateApplePaySessionRequest | ApplePaySessionRequest |
CheckoutUtilityRequest | UtilityRequest |
CheckoutUtilityResponse | UtilityResponse |
service/checkout/PaymentsApi.java
Old name(v20.1.2) | New name(v21.0.0) |
---|---|
PaymentDonationRequest | DonationPaymentRequest |
DonationResponse | DonationPaymentResponse |
DetailsRequest | PaymentDetailsRequest |
service/checkout/PaymentLinksApi.java
Old name(v20.1.2) | New name(v21.0.0) |
---|---|
CreatePaymentLinkRequest | PaymentLinkRequest |
service/checkout/OrdersApi.java
Old name(v20.1.2) | New name(v21.0.0) |
---|---|
CheckoutCreateOrderRequest | CreateOrderRequest |
CheckoutCreateOrderResponse | CreateOrderResponse |
CheckoutCancelOrderRequest | CancelOrderRequest |
CheckoutCancelOrderResponse | CancelOrderResponse |
CheckoutBalanceCheckRequest | BalanceCheckRequest |
CheckoutBalanceCheckResponse | BalanceCheckResponse |
service/checkout/ModificationsApi.java
Old name(v20.1.2) | New name(v21.0.0) |
---|---|
CreateStandalonePaymentCancelRequest | StandalonePaymentCancelRequest |
StandalonePaymentCancelResource | StandalonePaymentCancelResponse |
CreatePaymentAmountUpdateRequest | PaymentAmountUpdateRequest |
PaymentAmountUpdateResource | PaymentAmountUpdateResponse |
CreatePaymentCancelRequest | PaymentCancelRequest |
PaymentCancelResource | PaymentCancelResponse |
CreatePaymentCaptureRequest | PaymentCaptureRequest |
PaymentCaptureResource | PaymentCaptureResponse |
CreatePaymentRefundRequest | PaymentRefundRequest |
PaymentRefundResource | PaymentRefundResponse |
CreatePaymentReversalRequest | PaymentReversalRequest |
PaymentReversalResource | PaymentReversalResponse |
Deprecated services removal
- Account, Fund, Hop, Notification and Notification Configuration APIs for the classic Marketplace integration that were previously marked as
@Deprecated
, have been removed, please refer to https://docs.adyen.com/marketplaces-and-platforms on how to use the new integration.
Other relevant service changes
- Balance Platform CapitalApi has moved from
/service/CapitalApi.java
to/service/transfers/CapitalApi.java
- Added SplitConfigurationMerchantLevelApi to
/service/management
- Management API TerminalActionsCompanyLevelApi:
listAndroidApps
now accepts packageName and versionCode as optional parameterslistAndroidCertificates
now accepts certificateName as optional parameter
- Management API TerminalsTerminalLevelApi
listTerminals
now accepts otpQuery as optional parameter
Changes for TerminalLocalApi
Thanks to the changes regarding performance improvements for TerminalAPI the securityKey
needs to be passed when instantiating TerminalLocalAPI:
TerminalLocalAPI terminalLocalApi = new TerminalLocalAPI(client, securityKey);
Please see TerminalLocalAPITest.java as an example.
What's Changed
Breaking Changes 🛠
- [ITT-578] GSON->Jackson: checkout by @jillingk in #1068
- [ITT-606]- fix name remapping for Checkout class by @antolo-arch in #1071
- [ITT-578] Remove Classic Platforms and lingering GSON depedencies by @jillingk in #1075
- [ITT-599] Implement caching of NexoDerivedKey for TerminalLocalAPI. by @timon-langlotz in #1067
- Update models by @AdyenAutomationBot in #1041
- Automation/models Fix by @jillingk in #1093
Other Changes 🖇️
- docs: fix api-explorer links by @wilsonpinto in #1050
- Add badge to Maven Central by @michaelpaul in #1065
- Fixing the Byte Array Serialization for Jackson Templates by @jillingk in #1074
- [ITT-578] Refactored Banking Webhooks to use Jackson by @jillingk in #1076
- move capital API into transfers by @wboereboom in #1072
- [ITT-578] Change ApiError to jackson by @jillingk in #1078
- SaleToAcquirerData is missing field recurringProcessingModel by @scriptease in #1053
- chore(deps): update dependency org.mockito:mockito-core to v5.4.0 by @renovate in #1060
- [ITT-578] Migrate LEM to Jackson by @jillingk in #1077
- Java 17 and Java 20 CI support by @jlengrand in #1082
- Additional cleanup to support java17 by @jillingk in #1083
- fix(deps): update dependency io.swagger.core.v3:swagger-annotations to v2.2.15 by @renovate in #1058
- chore(deps): update peter-evans/create-pull-request action to v5.0.2 by @renovate in #1059
- fix(deps): update dependency commons-codec:commons-codec to v1.16.0 by @renovate in #1064
- chore(deps): update dependency com.squareup.okio:okio to v3.4.0 by @renovate in #1080
- [ITT-629] Cleanup Java library PreServiceAutomation by @AlexandrosMor in #1087
- Sync Main with Develop branches by @michaelpaul in #1091
- Add services workflow by @AlexandrosMor in #1094
- Update models by @AdyenAutomationBot in #1097
- Release v21.0.0 by @jillingk in #1098
New Contributors
- @wilsonpinto made their first contribution in #1050
- @jlengrand made their first contribution in #1082
Full Changelog: v20.1.2...v21.0.0