Skip to content

Adyen Java API Library v43.1.0

Latest

Choose a tag to compare

@AdyenAutomationBot AdyenAutomationBot released this 03 Sep 10:31
· 2 commits to main since this release

This release adds the new Document Collector API (DocumentsApi.uploadCrossBorderInvoice), which required first-class multipart/form-data support across the HTTP client layer (ClientInterface, AdyenHttpClient, Resource). Checkout gains session updates through PaymentsApi.updateSession plus SEPA Direct Debit donations, and Payment gains the Mastercard transactionLinkId field.

Two consumer-visible removals need attention: GOPAY_WALLET moves from PaymentDetails.TypeEnum to StoredPaymentMethodDetails.TypeEnum, and io.gsonfire:gson-fire is no longer on the library's transitive classpath.

What's new

New Features 💎

Document Collector API

  • Add DocumentsApi.uploadCrossBorderInvoice and its RequestOptions overload for multipart PDF uploads to POST /crossBorderInvoices
  • Add DocumentContext.PACBINVOICE, DocumentUploadResponse, DefaultErrorResponseEntity, and InvalidField models.

Checkout API

  • Add PaymentsApi.updateSession overloads and supporting session update models.
  • Add SEPA Direct Debit support through SepaDirectDebitDonations.
  • Add financingProgram to AffirmDetails and label to DonationCampaignsRequest.

Payment API

  • Add transactionLinkId to AdditionalDataCommon for Mastercard subscription and card-on-file payment requests, linking a transaction to its original or preceding transaction.
  • Return the Mastercard Transaction Link Identifier (TLID) in ResponseAdditionalDataCommon.

Fixes ⛑️

  • Correct gopay_wallet deserialization to use the backward-compatible StoredPaymentMethodDetails representation.
  • Fix NoPluginFoundForPrefixException for sonar

Other Changes 🖇️

  • Complete the Cloud device API migration guide (doc/MigratingToCloudDeviceApi.md) with the enum constant renames, additions, and removals, the standalone-to-nested enum replacements, the model and property renames, the
  • CurrencyConversion.convertedAmount Amount -> ConvertedAmount change, and the SaleData.saleToAcquirerData object -> Base64 String change
  • Remove the pull_request trigger from .github/workflows/release.yml so a release can no longer be started implicitly by closing a pull request (#2038 (#2038)).
  • Add the Java CI workflow badge to README.md (#2044 (#2044)).
  • Update the documented Checkout API version to v72 in README.md (#2019 (#2019)).
  • Bump the com.adyen:adyen-java-api-library dependency of the tools/hmac sample to 43.0.0 (#2039 (#2039)).
  • Expand test coverage for UK FPS tracing data in transfer webhooks, the new Checkout and Payment fields, the Document Collector upload, and the multipart HTTP client path (#2042 (#2042), #2045 (#2045), #2052 (#2052), #2054 (#2054)).
  • Bump the library version to 43.1.0 in pom.xml, VERSION, Client.LIB_VERSION, and README.md (#2022 (#2022)).

PRs 📋️

New Contributors

Full Changelog: v43.0.0...v43.1.0