Skip to content

[checkout] Code generation: update services and models - #1735

Merged
gcatanese merged 3 commits into
mainfrom
sdk-automation/checkout
Aug 24, 2026
Merged

gcatanese merged 3 commits into
mainfrom
sdk-automation/checkout

Conversation

@AdyenAutomationBot

@AdyenAutomationBot AdyenAutomationBot commented Jul 21, 2026 •

Copy link
Copy Markdown
Collaborator

This PR contains the automated changes for the checkout service.

The commit history of this PR reflects the adyen-openapi commits that have been applied.

PR Summary

Checkout API

Service changes

  • Adds PaymentsApi.updateSession with PATCH /sessions/{sessionId} support to update a session amount and payable state before payment submission.

Model changes

  • Adds CheckoutSessionPatchSessionRequest, CheckoutSessionPatchSessionResponse, and SessionAmountUpdate for session updates.
  • In PaymentRequestPaymentMethod, adds AuPayDetails and DBaraiDetails; in DonationPaymentRequestPaymentMethod, adds SepaDirectDebitDonations. Generated union discriminator mappings now select concrete payment method and PaymentResponseAction models during deserialization.
  • In EnhancedSchemeData, adds carRental, healthcare, lodging, and temporaryServices, backed by the new CarRental, PickupInfo, RentalSurcharges, ReturnInfo, Healthcare, Lodging, Folio, Room, and TemporaryServices models.
  • In CreateCheckoutSessionRequest, adds shopperConversionId and thirdPartyTokenRedundancyInfo; in CreateCheckoutSessionResponse and PaymentRequest, adds thirdPartyTokenRedundancyInfo, backed by ThirdPartyTokenRedundancyInfo.
  • In LineItem, adds returnShippingCompany, returnTrackingNumber, returnTrackingUri, shippingCompany, shippingMethod, trackingNumber, and trackingUri.
  • In PaypalUpdateOrderRequest, adds deliveryAddress, discountAmount, and shippingAmount.
  • In AffirmDetails, adds financingProgram; in CardBrandDetails, adds healthcare; in DonationCampaignsRequest, adds label; in KlarnaDetails and RivertyDetails, adds merchantData; in StoredPaymentMethod, adds externalToken.
  • In SepaDirectDebitDetails, makes iban and ownerName optional. Fix [BUG] Mandatory iban and ownerName for SEPA Direct Debit in recurring payment API request #1380

Notable details

  • Removes DefaultErrorResponseEntity and InvalidField classes are they are no used by the library.
  • Removes PaymentDetails.TypeEnum.Paybright as it is no longer supported by the platform.
  • Moves the gopay_wallet value from PaymentDetails.TypeEnum.GopayWallet to StoredPaymentMethodDetails.TypeEnum.GopayWallet.
  • Add tests using enhancedSchemeData.

@AdyenAutomationBot
AdyenAutomationBot requested a review from a team as a code owner July 21, 2026 09:54

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the SDK models to include new types and fields, such as AuPayDetails, CarRental, Lodging, and Healthcare, while also updating existing models with additional data keys and refining error handling structures. The reviewer provided feedback regarding consistent formatting in generated files, specifically regarding trailing newlines and indentation in JSDoc comments.

Comment thread src/typings/checkout/auPayDetails.ts Resolved
Comment thread src/typings/checkout/auPayDetails.ts Resolved
@AdyenAutomationBot
AdyenAutomationBot force-pushed the sdk-automation/checkout branch 4 times, most recently from 7fb3b07 to bcd4fd5 Compare July 27, 2026 10:29
@AdyenAutomationBot
AdyenAutomationBot force-pushed the sdk-automation/checkout branch 3 times, most recently from c110ac5 to a519892 Compare August 4, 2026 17:16
@AdyenAutomationBot
AdyenAutomationBot force-pushed the sdk-automation/checkout branch 2 times, most recently from a0ef702 to 4900bbf Compare August 7, 2026 15:19
@jeandersonbc
jeandersonbc force-pushed the sdk-automation/checkout branch from 4900bbf to c95e79f Compare August 13, 2026 15:34
@poojah-adyen poojah-adyen added the Feature New feature or request label Aug 19, 2026
@gcatanese gcatanese self-assigned this Aug 21, 2026
@gcatanese
gcatanese enabled auto-merge August 21, 2026 09:55
@AdyenAutomationBot
AdyenAutomationBot force-pushed the sdk-automation/checkout branch 2 times, most recently from 39f85ae to bfefc78 Compare August 21, 2026 14:01
@gcatanese
gcatanese force-pushed the sdk-automation/checkout branch from 1cbfd35 to d6f1b44 Compare August 24, 2026 12:07
@gcatanese
gcatanese added this pull request to the merge queue Aug 24, 2026
Merged via the queue into main with commit af89a8b Aug 24, 2026
4 checks passed
@gcatanese
gcatanese deleted the sdk-automation/checkout branch August 24, 2026 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Mandatory iban and ownerName for SEPA Direct Debit in recurring payment API request

3 participants