Skip to content

Generate Checkout models from OpenAPI spec#1492

Merged
gcatanese merged 6 commits into
mainfrom
generate-checkout
May 13, 2025
Merged

Generate Checkout models from OpenAPI spec#1492
gcatanese merged 6 commits into
mainfrom
generate-checkout

Conversation

@gcatanese
Copy link
Copy Markdown
Contributor

@gcatanese gcatanese commented May 8, 2025

PR to generate Checkout models

Breaking Changes

  • Dotpay: Removed the DotpayDetails class and all related references in CheckoutPaymentMethod and test files. Direct support for Dotpay is deprecated
  • Giropay: Removed the GiropayDetails class and all related references in CheckoutPaymentMethod and test files. Direct support for Giropay is deprecated
  • Paysafecard (from PaymentDetails TypeEnum): Removed Paysafecard from the TypeEnum in the PaymentDetails model

New changes

  • Rakuten Pay: Added support for Rakuten Pay as a payment method - RakutenPayDetails
  • Add Surcharge in paymentRequest
  • Added Donation type field supporting the following values: roundup, fixedAmounts
  • Added email and phone number fields to AdditionalDataCommon and AdditionalDataSubMerchant
    • Added SubMerchantEmail and SubMerchantPhoneNumber fields to AdditionalDataCommon
    • Added SubMerchantSubSellerSubSellerNrEmail and SubMerchantSubSellerSubSellerNrPhoneNumber fields to AdditionalDataSubMerchant
  • Added RequestedTestAcquirerResponseCode to AdditionalDataCommon to facilitate testing scenarios for specific acquirer responses
  • Added EnhancedSchemeData property to PaymentRequest and PaymentCaptureRequest
  • Added EncryptedCard property to PaymentMethodToStore to allow storing encrypted card details.
  • Added the FraudRiskLevel enum and property to ResponseAdditionalDataCommon to indicate the risk level of a payment (e.g. VeryLow, Low, Medium, High, and VeryHigh)
  • Added Bonus enum member to the PlansEnum in CheckoutSessionInstallmentOption and Installments

@gcatanese gcatanese requested a review from a team as a code owner May 8, 2025 10:18
@gcatanese gcatanese force-pushed the generate-checkout branch from 3a3583d to 3560931 Compare May 12, 2025 13:28
@gcatanese gcatanese enabled auto-merge May 12, 2025 13:35
@gcatanese gcatanese added the Breaking change This change introduces breaking changes label May 12, 2025
@gcatanese gcatanese force-pushed the generate-checkout branch from 3560931 to cb468f6 Compare May 13, 2025 09:26
Copy link
Copy Markdown
Member

@Kwok-he-Chu Kwok-he-Chu left a comment

Choose a reason for hiding this comment

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

Mention removal of dotpay and giropay & added rakutenpay for JP region

@gcatanese gcatanese force-pushed the generate-checkout branch from cb468f6 to 5ccd4b7 Compare May 13, 2025 11:39
@gcatanese gcatanese merged commit 52fc1af into main May 13, 2025
5 checks passed
@gcatanese gcatanese deleted the generate-checkout branch May 13, 2025 11:43
@sonarqubecloud
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Breaking change This change introduces breaking changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants