Skip to content

Commit

Permalink
Update generated code for v963
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Apr 17, 2024
1 parent b4f1a3c commit e2c0e62
Show file tree
Hide file tree
Showing 6 changed files with 71 additions and 1 deletion.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v961
v963
7 changes: 7 additions & 0 deletions types/CustomersResource.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -767,6 +767,11 @@ declare module 'stripe' {
}

interface CustomerListPaymentMethodsParams extends PaginationParams {
/**
* This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. The field defaults to `unspecified`.
*/
allow_redisplay?: CustomerListPaymentMethodsParams.AllowRedisplay;

/**
* Specifies which fields in the response should be expanded.
*/
Expand All @@ -779,6 +784,8 @@ declare module 'stripe' {
}

namespace CustomerListPaymentMethodsParams {
type AllowRedisplay = 'always' | 'limited' | 'unspecified';

type Type =
| 'acss_debit'
| 'affirm'
Expand Down
21 changes: 21 additions & 0 deletions types/PaymentIntentsResource.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,11 @@ declare module 'stripe' {
*/
alipay?: PaymentMethodData.Alipay;

/**
* This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. The field defaults to `unspecified`.
*/
allow_redisplay?: PaymentMethodData.AllowRedisplay;

/**
* If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method.
*/
Expand Down Expand Up @@ -474,6 +479,8 @@ declare module 'stripe' {

interface Alipay {}

type AllowRedisplay = 'always' | 'limited' | 'unspecified';

interface AmazonPay {}

interface AuBecsDebit {
Expand Down Expand Up @@ -2509,6 +2516,11 @@ declare module 'stripe' {
*/
alipay?: PaymentMethodData.Alipay;

/**
* This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. The field defaults to `unspecified`.
*/
allow_redisplay?: PaymentMethodData.AllowRedisplay;

/**
* If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method.
*/
Expand Down Expand Up @@ -2709,6 +2721,8 @@ declare module 'stripe' {

interface Alipay {}

type AllowRedisplay = 'always' | 'limited' | 'unspecified';

interface AmazonPay {}

interface AuBecsDebit {
Expand Down Expand Up @@ -4889,6 +4903,11 @@ declare module 'stripe' {
*/
alipay?: PaymentMethodData.Alipay;

/**
* This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. The field defaults to `unspecified`.
*/
allow_redisplay?: PaymentMethodData.AllowRedisplay;

/**
* If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method.
*/
Expand Down Expand Up @@ -5089,6 +5108,8 @@ declare module 'stripe' {

interface Alipay {}

type AllowRedisplay = 'always' | 'limited' | 'unspecified';

interface AmazonPay {}

interface AuBecsDebit {
Expand Down
14 changes: 14 additions & 0 deletions types/PaymentMethodsResource.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ declare module 'stripe' {
*/
alipay?: PaymentMethodCreateParams.Alipay;

/**
* This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. The field defaults to `unspecified`.
*/
allow_redisplay?: PaymentMethodCreateParams.AllowRedisplay;

/**
* If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method.
*/
Expand Down Expand Up @@ -243,6 +248,8 @@ declare module 'stripe' {

interface Alipay {}

type AllowRedisplay = 'always' | 'limited' | 'unspecified';

interface AmazonPay {}

interface AuBecsDebit {
Expand Down Expand Up @@ -656,6 +663,11 @@ declare module 'stripe' {
}

interface PaymentMethodUpdateParams {
/**
* This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. The field defaults to `unspecified`.
*/
allow_redisplay?: PaymentMethodUpdateParams.AllowRedisplay;

/**
* Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
*/
Expand Down Expand Up @@ -688,6 +700,8 @@ declare module 'stripe' {
}

namespace PaymentMethodUpdateParams {
type AllowRedisplay = 'always' | 'limited' | 'unspecified';

interface BillingDetails {
/**
* Billing address.
Expand Down
21 changes: 21 additions & 0 deletions types/SetupIntentsResource.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,11 @@ declare module 'stripe' {
*/
alipay?: PaymentMethodData.Alipay;

/**
* This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. The field defaults to `unspecified`.
*/
allow_redisplay?: PaymentMethodData.AllowRedisplay;

/**
* If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method.
*/
Expand Down Expand Up @@ -404,6 +409,8 @@ declare module 'stripe' {

interface Alipay {}

type AllowRedisplay = 'always' | 'limited' | 'unspecified';

interface AmazonPay {}

interface AuBecsDebit {
Expand Down Expand Up @@ -1274,6 +1281,11 @@ declare module 'stripe' {
*/
alipay?: PaymentMethodData.Alipay;

/**
* This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. The field defaults to `unspecified`.
*/
allow_redisplay?: PaymentMethodData.AllowRedisplay;

/**
* If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method.
*/
Expand Down Expand Up @@ -1474,6 +1486,8 @@ declare module 'stripe' {

interface Alipay {}

type AllowRedisplay = 'always' | 'limited' | 'unspecified';

interface AmazonPay {}

interface AuBecsDebit {
Expand Down Expand Up @@ -2431,6 +2445,11 @@ declare module 'stripe' {
*/
alipay?: PaymentMethodData.Alipay;

/**
* This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. The field defaults to `unspecified`.
*/
allow_redisplay?: PaymentMethodData.AllowRedisplay;

/**
* If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method.
*/
Expand Down Expand Up @@ -2631,6 +2650,8 @@ declare module 'stripe' {

interface Alipay {}

type AllowRedisplay = 'always' | 'limited' | 'unspecified';

interface AmazonPay {}

interface AuBecsDebit {
Expand Down
7 changes: 7 additions & 0 deletions types/TestHelpers/ConfirmationTokensResource.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ declare module 'stripe' {
*/
alipay?: PaymentMethodData.Alipay;

/**
* This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. The field defaults to `unspecified`.
*/
allow_redisplay?: PaymentMethodData.AllowRedisplay;

/**
* If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method.
*/
Expand Down Expand Up @@ -259,6 +264,8 @@ declare module 'stripe' {

interface Alipay {}

type AllowRedisplay = 'always' | 'limited' | 'unspecified';

interface AmazonPay {}

interface AuBecsDebit {
Expand Down

0 comments on commit e2c0e62

Please sign in to comment.