Skip to content

Adyen .NET API Library v11.0.0

Compare
Choose a tag to compare
@AdyenAutomationBot AdyenAutomationBot released this 07 Aug 14:24
· 138 commits to main since this release
fde7720

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/UtilityService

Old name(v10.1.0) New name(v11.0.0)
CreateApplePaySessionRequest ApplePaySessionRequest
CheckoutUtilityRequest UtilityRequest
CheckoutUtilityResponse UtilityResponse

Service/Checkout/PaymentsService

Old name(v10.1.0) New name(v11.0.0)
PaymentDonationRequest DonationPaymentRequest
DonationResponse DonationPaymentResponse
DetailsRequest PaymentDetailsRequest

Service/Checkout/PaymentLinksService

Old name(v10.1.0) New name(v11.0.0)
CreatePaymentLinkRequest PaymentLinkRequest

Service/Checkout/OrdersService

Old name(v10.1.0) New name(v11.0.0)
CheckoutCreateOrderRequest CreateOrderRequest
CheckoutCreateOrderResponse CreateOrderResponse
CheckoutCancelOrderRequest CancelOrderRequest
CheckoutCancelOrderResponse CancelOrderResponse
CheckoutBalanceCheckRequest BalanceCheckRequest
CheckoutBalanceCheckResponse BalanceCheckResponse

Service/Checkout/ModificationsService

Old name(v10.1.0) New name(v11.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

Nullable bools

  • In order to fix the ongoing issues with bools and default values (of which the false values get interpreted as default but should be sent in some cases) we have decided to make bools nullable. This will enable you to always send the correct bool value and will handle default bools with the recommended values based on the request type.

HttpClient setup

  • We recommend using the best practices according to the microsoft guidelines regarding how to setup your HttpClient. For this we accomodate the user by passing your HttpClient object or HttpClientFactory through the adyen client. However in case the user still wants to use the basic library setup, we now opted to make the library HttpClient singleton, which should resolve the most encountered issues regarding post exhaustion.

What's Changed

Breaking Changes 🛠

  • [ITT-628] Removed unused endpoints and classic platforms by @jillingk in #843
  • Generate Services + Models and fix UT's by @jillingk in #849

Fixes ⛑️

Other Changes 🖇️

Full Changelog: 10.1.0...v11.0.0