Skip to content

Commit

Permalink
Codegen for openapi 430dde2 (#1154)
Browse files Browse the repository at this point in the history
  • Loading branch information
richardm-stripe authored May 7, 2021
1 parent 4ad2cbd commit 13f7ec8
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 1 deletion.
7 changes: 6 additions & 1 deletion types/2020-08-27/Charges.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
/**
Expand Down
55 changes: 55 additions & 0 deletions types/2020-08-27/PaymentIntents.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,8 @@ declare module 'stripe' {
interface PaymentMethodOptions {
acss_debit?: PaymentMethodOptions.AcssDebit;

afterpay_clearpay?: PaymentMethodOptions.AfterpayClearpay;

alipay?: PaymentMethodOptions.Alipay;

bancontact?: PaymentMethodOptions.Bancontact;
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -1257,6 +1267,13 @@ declare module 'stripe' {
*/
acss_debit?: Stripe.Emptyable<PaymentMethodOptions.AcssDebit>;

/**
* 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.
*/
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -2043,6 +2068,13 @@ declare module 'stripe' {
*/
acss_debit?: Stripe.Emptyable<PaymentMethodOptions.AcssDebit>;

/**
* 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.
*/
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -2943,6 +2983,13 @@ declare module 'stripe' {
*/
acss_debit?: Stripe.Emptyable<PaymentMethodOptions.AcssDebit>;

/**
* 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.
*/
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 13f7ec8

Please sign in to comment.