From 16daa3bb19a23160e8f5abca6b5bc860a3e68fa0 Mon Sep 17 00:00:00 2001 From: Richard Marmorstein Date: Fri, 16 Apr 2021 12:20:15 -0400 Subject: [PATCH] Codegen for openapi 6546d96 --- types/2020-08-27/Charges.d.ts | 2 +- types/2020-08-27/Checkout/Sessions.d.ts | 2 ++ types/2020-08-27/InvoiceLineItems.d.ts | 2 +- types/2020-08-27/Invoices.d.ts | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/types/2020-08-27/Charges.d.ts b/types/2020-08-27/Charges.d.ts index ba6652b15f..03e75f30e9 100644 --- a/types/2020-08-27/Charges.d.ts +++ b/types/2020-08-27/Charges.d.ts @@ -431,7 +431,7 @@ declare module 'stripe' { stripe_account?: PaymentMethodDetails.StripeAccount; /** - * The type of transaction-specific details of the payment method used in the payment, one of `ach_credit_transfer`, `ach_debit`, `alipay`, `au_becs_debit`, `bancontact`, `card`, `card_present`, `eps`, `giropay`, `ideal`, `klarna`, `multibanco`, `p24`, `sepa_debit`, `sofort`, `stripe_account`, or `wechat`. + * The type of transaction-specific details of the payment method used in the payment, one of `ach_credit_transfer`, `ach_debit`, `acss_debit`, `alipay`, `au_becs_debit`, `bancontact`, `card`, `card_present`, `eps`, `giropay`, `ideal`, `klarna`, `multibanco`, `p24`, `sepa_debit`, `sofort`, `stripe_account`, or `wechat`. * An additional hash is included on `payment_method_details` with a name matching this value. * It contains information specific to the payment method. */ diff --git a/types/2020-08-27/Checkout/Sessions.d.ts b/types/2020-08-27/Checkout/Sessions.d.ts index c2798e40dc..4455fe7fc5 100644 --- a/types/2020-08-27/Checkout/Sessions.d.ts +++ b/types/2020-08-27/Checkout/Sessions.d.ts @@ -292,6 +292,8 @@ declare module 'stripe' { * Bank account verification method. */ verification_method?: AcssDebit.VerificationMethod; + + currency?: string; } namespace AcssDebit { diff --git a/types/2020-08-27/InvoiceLineItems.d.ts b/types/2020-08-27/InvoiceLineItems.d.ts index 2c77d0b1ff..1a9a46251e 100644 --- a/types/2020-08-27/InvoiceLineItems.d.ts +++ b/types/2020-08-27/InvoiceLineItems.d.ts @@ -173,7 +173,7 @@ declare module 'stripe' { customer?: string; /** - * The coupons to redeem into discounts for the invoice preview. If not specified, inherits the discount from the customer or subscription. Pass an empty string to avoid inheriting any discounts. + * The coupons to redeem into discounts for the invoice preview. If not specified, inherits the discount from the customer or subscription. Pass an empty string to avoid inheriting any discounts. To preview the upcoming invoice for a subscription that hasn't been created, use `coupon` instead. */ discounts?: Stripe.Emptyable< Array diff --git a/types/2020-08-27/Invoices.d.ts b/types/2020-08-27/Invoices.d.ts index fe1174351f..85507ac01a 100644 --- a/types/2020-08-27/Invoices.d.ts +++ b/types/2020-08-27/Invoices.d.ts @@ -1249,7 +1249,7 @@ declare module 'stripe' { customer?: string; /** - * The coupons to redeem into discounts for the invoice preview. If not specified, inherits the discount from the customer or subscription. Pass an empty string to avoid inheriting any discounts. + * The coupons to redeem into discounts for the invoice preview. If not specified, inherits the discount from the customer or subscription. Pass an empty string to avoid inheriting any discounts. To preview the upcoming invoice for a subscription that hasn't been created, use `coupon` instead. */ discounts?: Stripe.Emptyable< Array