From a60963ee0607d03d987f7d481c78c046519093d8 Mon Sep 17 00:00:00 2001 From: Richard Marmorstein Date: Thu, 6 May 2021 17:47:36 -0400 Subject: [PATCH] Codegen for openapi 430dde2 --- types/2020-08-27/Charges.d.ts | 7 +++- types/2020-08-27/PaymentIntents.d.ts | 55 ++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+), 1 deletion(-) diff --git a/types/2020-08-27/Charges.d.ts b/types/2020-08-27/Charges.d.ts index 03e75f30e9..00f272da53 100644 --- a/types/2020-08-27/Charges.d.ts +++ b/types/2020-08-27/Charges.d.ts @@ -531,7 +531,12 @@ declare module 'stripe' { transit_number: string | null; } - interface AfterpayClearpay {} + interface AfterpayClearpay { + /** + * Order identifier shown to the customer in Afterpay's online portal. + */ + reference: string | null; + } interface Alipay { /** diff --git a/types/2020-08-27/PaymentIntents.d.ts b/types/2020-08-27/PaymentIntents.d.ts index a8a8fb7b6e..9a495f8015 100644 --- a/types/2020-08-27/PaymentIntents.d.ts +++ b/types/2020-08-27/PaymentIntents.d.ts @@ -412,6 +412,8 @@ declare module 'stripe' { interface PaymentMethodOptions { acss_debit?: PaymentMethodOptions.AcssDebit; + afterpay_clearpay?: PaymentMethodOptions.AfterpayClearpay; + alipay?: PaymentMethodOptions.Alipay; bancontact?: PaymentMethodOptions.Bancontact; @@ -471,6 +473,14 @@ declare module 'stripe' { type VerificationMethod = 'automatic' | 'instant' | 'microdeposits'; } + interface AfterpayClearpay { + /** + * Order identifier shown to the customer in Afterpay's online portal. We recommend using a value that helps you answer any questions a customer might have about + * the payment. The identifier is limited to 128 characters and may contain only letters, digits, underscores, backslashes and dashes. + */ + reference: string | null; + } + interface Alipay {} interface Bancontact { @@ -1257,6 +1267,13 @@ declare module 'stripe' { */ acss_debit?: Stripe.Emptyable; + /** + * If this is a `afterpay_clearpay` PaymentMethod, this sub-hash contains details about the Afterpay Clearpay payment method options. + */ + afterpay_clearpay?: Stripe.Emptyable< + PaymentMethodOptions.AfterpayClearpay + >; + /** * If this is a `alipay` PaymentMethod, this sub-hash contains details about the Alipay payment method options. */ @@ -1345,6 +1362,14 @@ declare module 'stripe' { type VerificationMethod = 'automatic' | 'instant' | 'microdeposits'; } + interface AfterpayClearpay { + /** + * Order identifier shown to the customer in Afterpay's online portal. We recommend using a value that helps you answer any questions a customer might have about + * the payment. The identifier is limited to 128 characters and may contain only letters, digits, underscores, backslashes and dashes. + */ + reference?: string; + } + interface Alipay {} interface Bancontact { @@ -2043,6 +2068,13 @@ declare module 'stripe' { */ acss_debit?: Stripe.Emptyable; + /** + * If this is a `afterpay_clearpay` PaymentMethod, this sub-hash contains details about the Afterpay Clearpay payment method options. + */ + afterpay_clearpay?: Stripe.Emptyable< + PaymentMethodOptions.AfterpayClearpay + >; + /** * If this is a `alipay` PaymentMethod, this sub-hash contains details about the Alipay payment method options. */ @@ -2131,6 +2163,14 @@ declare module 'stripe' { type VerificationMethod = 'automatic' | 'instant' | 'microdeposits'; } + interface AfterpayClearpay { + /** + * Order identifier shown to the customer in Afterpay's online portal. We recommend using a value that helps you answer any questions a customer might have about + * the payment. The identifier is limited to 128 characters and may contain only letters, digits, underscores, backslashes and dashes. + */ + reference?: string; + } + interface Alipay {} interface Bancontact { @@ -2943,6 +2983,13 @@ declare module 'stripe' { */ acss_debit?: Stripe.Emptyable; + /** + * If this is a `afterpay_clearpay` PaymentMethod, this sub-hash contains details about the Afterpay Clearpay payment method options. + */ + afterpay_clearpay?: Stripe.Emptyable< + PaymentMethodOptions.AfterpayClearpay + >; + /** * If this is a `alipay` PaymentMethod, this sub-hash contains details about the Alipay payment method options. */ @@ -3031,6 +3078,14 @@ declare module 'stripe' { type VerificationMethod = 'automatic' | 'instant' | 'microdeposits'; } + interface AfterpayClearpay { + /** + * Order identifier shown to the customer in Afterpay's online portal. We recommend using a value that helps you answer any questions a customer might have about + * the payment. The identifier is limited to 128 characters and may contain only letters, digits, underscores, backslashes and dashes. + */ + reference?: string; + } + interface Alipay {} interface Bancontact {