Skip to content

Releases: Adyen/adyen-java-api-library

Adyen Java API Library v21.0.0

28 Jul 15:11
b647fae
Compare
Choose a tag to compare

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 parameters
    • listAndroidCertificates 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 🛠

Other Changes 🖇️

New Contributors

Full Changelog: v20.1.2...v21.0.0

Adyen Java API Library v20.1.2

21 Jul 09:00
773c8e3
Compare
Choose a tag to compare

What's Changed

Fixes ⛑️

Other Changes 🖇️

Full Changelog: v20.1.1...v20.1.2

Adyen Java API Library v20.1.1

21 Jun 14:40
964b06a
Compare
Choose a tag to compare

What's Changed

Fixes ⛑️

  • ITT-598: Strict OneOf validation for deserialization against multiple models by @jillingk in #1054

Other Changes 🖇️

Full Changelog: 20.1.0...v20.1.1

Adyen Java API Library v20.1.0

08 Jun 15:07
5f6f38b
Compare
Choose a tag to compare

What's Changed

New Features 💎

Fixes ⛑️

Other Changes 🖇️

New Contributors

Full Changelog: 20.0.0...20.1.0

Adyen Java API Library v20.0.0

12 May 14:36
8b7c040
Compare
Choose a tag to compare

What's Changed

Summary 🔁

  • AdditionalAmount is added to the model/checkout/PaymentRequest.java class.
  • Payout API is split into three services according to the layout in our API explorer.
  • Configuration API contains new endpoints.
  • The new Capital API has been added to this library.
  • All services are regenerated using new templates, introducing the following:
    • Pass query fields to service methods as separate parameters instead of a hashmap
    • Overloading service methods for non-required fields
    • Service classes and methods follow an orderly naming convention
    • Option to add an idempotency key for every request
  • All service classes contain an -Api suffix to prevent confusion with models objects.
  • Method annotation for services that link you to the required request and response objects, query objects and path parameters.

Breaking Changes 🛠

New Features 💎

Other Changes 🖇️

New Contributors

Full Changelog: 19.0.0...20.0.0

Adyen Java API Library v19.0.0

17 Mar 10:33
1caad26
Compare
Choose a tag to compare

What's Changed

Generic models moved

All generic models have been moved to their appropriate service namespaces. That means that, for example, the java.model.amount has been moved to java.model.checkout.amount.

Service classes removed

Some services classes have been removed. All methods in these services have been moved appropriately to keep in line with our API specifications:

Modifications

Has been moved to Checkout

PaymentLinks

Has been moved to Checkout

Retrieve3DS2

Has been moved to Payments (Classic Payments)

Breaking Changes 🛠

New Features 💎

  • [PW-7056] Legal Entity Management Endpoints API by @jillingk in #849
  • [PW-7256] Add Bank and Issuing Fund Transfers V3 API by @AlexandrosMor in #856
  • PW-7052: Management API by @michaelpaul in #871
  • Allow setting RequestOptions for Checkout captures, cancels, refunds, reversals, and payment amount updates by @jrparker in #857
  • [PW-7055]BalancePlatform by @jillingk in #839
  • add missing createPermit and DisablePermit to recurring service by @wboereboom in #941
  • add requestoptions for all service calls supporting idempotency keys by @wboereboom in #952
  • PW-8051: Application info via headers by @michaelpaul in #962
  • [ITT-76] Created notification handler for Terminal event/display notifications by @jillingk in #969

Fixes ⛑️

Other Changes 🖇️

Read more

Adyen Java API Library 19.0.0-beta

02 Feb 16:21
0400eea
Compare
Choose a tag to compare
Pre-release

What's Changed

Breaking Changes 🛠

New Features 💎

  • [PW-7056] Legal Entity Management Endpoints API by @jillingk in #849
  • [PW-7256] Add Bank and Issuing Fund Transfers V3 API by @AlexandrosMor in #856
  • PW-7052: Management API by @michaelpaul in #871
  • Allow setting RequestOptions for Checkout captures, cancels, refunds, reversals, and payment amount updates by @jrparker in #857
  • [PW-7055]BalancePlatform by @jillingk in #839
  • add missing createPermit and DisablePermit to recurring service by @wboereboom in #941
  • add requestoptions for all service calls supporting idempotency keys by @wboereboom in #952

Other Changes 🖇️

New Contributors

Full Changelog: 18.1.3...19.0.0-beta

Adyen Java API Library 18.1.3

26 Oct 07:25
af05be5
Compare
Choose a tag to compare

What's Changed

Fixes

  • [PW-7223] Fix for serializing Date objects to ISO 8601 format for Checkout #853
  • add India to Region Enum #862

Adyen Java API Library 18.1.2

18 Oct 14:14
c549f7b
Compare
Choose a tag to compare

What's Changed

Fixes

  • PW-7327: Serialise ByteArray into JSON String by @michaelpaul in #848
  • Secure PRNG for ivNonce in NexoCrypto based on strongest non blocking instance by @jillingk in #818

Adyen Java API Library 18.1.1

27 Sep 12:27
d471bbf
Compare
Choose a tag to compare

What's Changed

Fixes

Others

Full Changelog: 18.1.0...18.1.1