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

API Updates #1093

Merged
merged 1 commit into from
Dec 15, 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
4 changes: 2 additions & 2 deletions types/2020-08-27/Charges.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1041,7 +1041,7 @@ declare module 'stripe' {
/**
* The customer's bank. Should be one of `arzte_und_apotheker_bank`, `austrian_anadi_bank_ag`, `bank_austria`, `bankhaus_carl_spangler`, `bankhaus_schelhammer_und_schattera_ag`, `bawag_psk_ag`, `bks_bank_ag`, `brull_kallmus_bank_ag`, `btv_vier_lander_bank`, `capital_bank_grawe_gruppe_ag`, `dolomitenbank`, `easybank_ag`, `erste_bank_und_sparkassen`, `hypo_alpeadriabank_international_ag`, `hypo_noe_lb_fur_niederosterreich_u_wien`, `hypo_oberosterreich_salzburg_steiermark`, `hypo_tirol_bank_ag`, `hypo_vorarlberg_bank_ag`, `hypo_bank_burgenland_aktiengesellschaft`, `marchfelder_bank`, `oberbank_ag`, `raiffeisen_bankengruppe_osterreich`, `schoellerbank_ag`, `sparda_bank_wien`, `volksbank_gruppe`, `volkskreditbank_ag`, or `vr_bank_braunau`.
*/
bank?: Eps.Bank | null;
bank: Eps.Bank | null;

/**
* Owner's verified full name. Values are verified or provided by EPS directly
Expand Down Expand Up @@ -1391,7 +1391,7 @@ declare module 'stripe' {
/**
* The customer's bank. Can be one of `ing`, `citi_handlowy`, `tmobile_usbugi_bankowe`, `plus_bank`, `etransfer_pocztowy24`, `banki_spbdzielcze`, `bank_nowy_bfg_sa`, `getin_bank`, `blik`, `noble_pay`, `ideabank`, `envelobank`, `santander_przelew24`, `nest_przelew`, `mbank_mtransfer`, `inteligo`, `pbac_z_ipko`, `bnp_paribas`, `credit_agricole`, `toyota_bank`, `bank_pekao_sa`, `volkswagen_bank`, `bank_millennium`, `alior_bank`, or `boz`.
*/
bank?: P24.Bank | null;
bank: P24.Bank | null;

/**
* Unique reference for this Przelewy24 payment.
Expand Down
3 changes: 3 additions & 0 deletions types/2020-08-27/InvoiceLineItems.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,9 @@ declare module 'stripe' {
*/
quantity?: number;

/**
* The tax rates that apply to the item. When set, any `default_tax_rates` do not apply to this item.
*/
tax_rates?: Stripe.Emptyable<Array<string>>;

/**
Expand Down
3 changes: 3 additions & 0 deletions types/2020-08-27/Invoices.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1184,6 +1184,9 @@ declare module 'stripe' {
*/
quantity?: number;

/**
* The tax rates that apply to the item. When set, any `default_tax_rates` do not apply to this item.
*/
tax_rates?: Stripe.Emptyable<Array<string>>;

/**
Expand Down
6 changes: 3 additions & 3 deletions types/2020-08-27/Issuing/Cards.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ declare module 'stripe' {
blocked_categories: Array<SpendingControls.BlockedCategory> | null;

/**
* Limit spending with amount-based rules.
* Limit spending with amount-based rules that apply across any cards this card replaced (i.e., its `replacement_for` card and _that_ card's `replacement_for` card, up the chain).
*/
spending_limits: Array<SpendingControls.SpendingLimit> | null;

Expand Down Expand Up @@ -1230,7 +1230,7 @@ declare module 'stripe' {
blocked_categories?: Array<SpendingControls.BlockedCategory>;

/**
* Limit spending with amount-based rules.
* Limit spending with amount-based rules that apply across any cards this card replaced (i.e., its `replacement_for` card and _that_ card's `replacement_for` card, up the chain).
*/
spending_limits?: Array<SpendingControls.SpendingLimit>;
}
Expand Down Expand Up @@ -2188,7 +2188,7 @@ declare module 'stripe' {
blocked_categories?: Array<SpendingControls.BlockedCategory>;

/**
* Limit spending with amount-based rules.
* Limit spending with amount-based rules that apply across any cards this card replaced (i.e., its `replacement_for` card and _that_ card's `replacement_for` card, up the chain).
*/
spending_limits?: Array<SpendingControls.SpendingLimit>;
}
Expand Down
2 changes: 1 addition & 1 deletion types/2020-08-27/PaymentMethods.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ declare module 'stripe' {
/**
* The customer's bank. Should be one of `arzte_und_apotheker_bank`, `austrian_anadi_bank_ag`, `bank_austria`, `bankhaus_carl_spangler`, `bankhaus_schelhammer_und_schattera_ag`, `bawag_psk_ag`, `bks_bank_ag`, `brull_kallmus_bank_ag`, `btv_vier_lander_bank`, `capital_bank_grawe_gruppe_ag`, `dolomitenbank`, `easybank_ag`, `erste_bank_und_sparkassen`, `hypo_alpeadriabank_international_ag`, `hypo_noe_lb_fur_niederosterreich_u_wien`, `hypo_oberosterreich_salzburg_steiermark`, `hypo_tirol_bank_ag`, `hypo_vorarlberg_bank_ag`, `hypo_bank_burgenland_aktiengesellschaft`, `marchfelder_bank`, `oberbank_ag`, `raiffeisen_bankengruppe_osterreich`, `schoellerbank_ag`, `sparda_bank_wien`, `volksbank_gruppe`, `volkskreditbank_ag`, or `vr_bank_braunau`.
*/
bank?: Eps.Bank | null;
bank: Eps.Bank | null;
}

namespace Eps {
Expand Down
9 changes: 9 additions & 0 deletions types/2020-08-27/SetupAttempts.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ declare module 'stripe' {

card?: PaymentMethodDetails.Card;

card_present?: PaymentMethodDetails.CardPresent;

ideal?: PaymentMethodDetails.Ideal;

sofort?: PaymentMethodDetails.Sofort;
Expand Down Expand Up @@ -189,6 +191,13 @@ declare module 'stripe' {
}
}

interface CardPresent {
/**
* The ID of the Card PaymentMethod which was generated by this SetupAttempt.
*/
generated_card: string | Stripe.PaymentMethod | null;
}

interface Ideal {
/**
* The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `rabobank`, `regiobank`, `sns_bank`, `triodos_bank`, or `van_lanschot`.
Expand Down