Skip to content

Commit

Permalink
Codegen for openapi 6546d96 (#1140)
Browse files Browse the repository at this point in the history
  • Loading branch information
richardm-stripe authored Apr 16, 2021
1 parent 4118373 commit 89e7d7b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion types/2020-08-27/Charges.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down
2 changes: 2 additions & 0 deletions types/2020-08-27/Checkout/Sessions.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,8 @@ declare module 'stripe' {
* Bank account verification method.
*/
verification_method?: AcssDebit.VerificationMethod;

currency?: string;
}

namespace AcssDebit {
Expand Down
2 changes: 1 addition & 1 deletion types/2020-08-27/InvoiceLineItems.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<InvoiceLineItemListUpcomingParams.Discount>
Expand Down
2 changes: 1 addition & 1 deletion types/2020-08-27/Invoices.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<InvoiceRetrieveUpcomingParams.Discount>
Expand Down

0 comments on commit 89e7d7b

Please sign in to comment.