Adyen .NET API Library v11.0.0
AdyenAutomationBot
released this
07 Aug 14:24
·
138 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/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
- Balance Platform Transfers API has a new endpoints under the CapitalService in
/Service/Transfers
- Added new Management API endpoints to SplitConfigurationMerchantLevelService in
/Service/Management
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 yourHttpClient
object orHttpClientFactory
through the adyen client. However in case the user still wants to use the basic library setup, we now opted to make the libraryHttpClient
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 🖇️
- ITT-65: Automate the release for .NET library by @michaelpaul in #827
- fix name remapping for Checkout class by @wboereboom in #831
- chore(deps): update dependency microsoft.net.test.sdk to v17.6.3 by @renovate in #832
- Add support for proxies/certificates to the simple httpclient config by @jillingk in #837
- chore(deps): update mstest monorepo to v3.1.1 by @renovate in #840
- Remove devex email headers from generated code by @jillingk in #836
- chore(deps): update peter-evans/create-pull-request action to v5.0.2 by @renovate in #829
- [ITT-550] Add grantservice and models by @AlexandrosMor in #844
- [ITT-621] Add services workflow by @jillingk in #846
- [ITT-540] Improve .NET service templates by @jillingk in #845
- Release automation moved to Node by @michaelpaul in #850
- [ITT-582] Make singleton for the default httpclient by @AlexandrosMor in #856
- Update models by @AdyenAutomationBot in #854
- Release v11.0.0 by @AdyenAutomationBot in #828
Full Changelog: 10.1.0...v11.0.0