Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add payment_method_details[interac_present][preferred_locales] on Charge #1056

Merged
merged 1 commit into from
Oct 27, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions types/2020-08-27/Charges.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1244,6 +1244,11 @@ declare module 'stripe' {
*/
network: string | null;

/**
* EMV tag 5F2D. Preferred languages specified by the integrated circuit chip.
*/
preferred_locales: Array<string> | null;

/**
* How card details were read in this transaction.
*/
Expand Down
25 changes: 25 additions & 0 deletions types/2020-08-27/PaymentIntents.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,8 @@ declare module 'stripe' {

oxxo?: PaymentMethodOptions.Oxxo;

p24?: PaymentMethodOptions.P24;

sofort?: PaymentMethodOptions.Sofort;
}

Expand Down Expand Up @@ -512,6 +514,8 @@ declare module 'stripe' {
expires_after_days: number;
}

interface P24 {}

interface Sofort {
/**
* Preferred language of the SOFORT authorization page that the customer is redirected to.
Expand Down Expand Up @@ -1115,6 +1119,11 @@ declare module 'stripe' {
*/
oxxo?: Stripe.Emptyable<PaymentMethodOptions.Oxxo>;

/**
* If this is a `p24` PaymentMethod, this sub-hash contains details about the Przelewy24 payment method options.
*/
p24?: Stripe.Emptyable<PaymentMethodOptions.P24>;

/**
* If this is a `sofort` PaymentMethod, this sub-hash contains details about the SOFORT payment method options.
*/
Expand Down Expand Up @@ -1224,6 +1233,8 @@ declare module 'stripe' {
expires_after_days?: number;
}

interface P24 {}

interface Sofort {
/**
* Language shown to the payer on redirect.
Expand Down Expand Up @@ -1739,6 +1750,11 @@ declare module 'stripe' {
*/
oxxo?: Stripe.Emptyable<PaymentMethodOptions.Oxxo>;

/**
* If this is a `p24` PaymentMethod, this sub-hash contains details about the Przelewy24 payment method options.
*/
p24?: Stripe.Emptyable<PaymentMethodOptions.P24>;

/**
* If this is a `sofort` PaymentMethod, this sub-hash contains details about the SOFORT payment method options.
*/
Expand Down Expand Up @@ -1848,6 +1864,8 @@ declare module 'stripe' {
expires_after_days?: number;
}

interface P24 {}

interface Sofort {
/**
* Language shown to the payer on redirect.
Expand Down Expand Up @@ -2477,6 +2495,11 @@ declare module 'stripe' {
*/
oxxo?: Stripe.Emptyable<PaymentMethodOptions.Oxxo>;

/**
* If this is a `p24` PaymentMethod, this sub-hash contains details about the Przelewy24 payment method options.
*/
p24?: Stripe.Emptyable<PaymentMethodOptions.P24>;

/**
* If this is a `sofort` PaymentMethod, this sub-hash contains details about the SOFORT payment method options.
*/
Expand Down Expand Up @@ -2586,6 +2609,8 @@ declare module 'stripe' {
expires_after_days?: number;
}

interface P24 {}

interface Sofort {
/**
* Language shown to the payer on redirect.
Expand Down