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 #2401

Merged
merged 1 commit into from
Dec 9, 2021
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
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ public class CapabilityRequirements : StripeEntity<CapabilityRequirements>
/// - <a href="https://stripe.com/afterpay-clearpay/legal#restricted-businesses">Afterpay
/// Clearpay's terms of service</a>.
///
/// If you believe that the rejection is in error, please contact support@stripe.com for
/// assistance.
/// If you believe that the rejection is in error, please contact support at
/// https://support.stripe.com/contact/ for assistance.
/// </summary>
[JsonProperty("disabled_reason")]
public string DisabledReason { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ public class ChargePaymentMethodDetailsKlarna : StripeEntity<ChargePaymentMethod
/// Preferred language of the Klarna authorization page that the customer is redirected to.
/// Can be one of <c>de-AT</c>, <c>en-AT</c>, <c>nl-BE</c>, <c>fr-BE</c>, <c>en-BE</c>,
/// <c>de-DE</c>, <c>en-DE</c>, <c>da-DK</c>, <c>en-DK</c>, <c>es-ES</c>, <c>en-ES</c>,
/// <c>fi-FI</c>, <c>sv-FI</c>, <c>en-FI</c>, <c>en-GB</c>, <c>it-IT</c>, <c>en-IT</c>,
/// <c>nl-NL</c>, <c>en-NL</c>, <c>nb-NO</c>, <c>en-NO</c>, <c>sv-SE</c>, <c>en-SE</c>,
/// <c>en-US</c>, <c>fr-FR</c>, or <c>en-FR</c>.
/// <c>fi-FI</c>, <c>sv-FI</c>, <c>en-FI</c>, <c>en-GB</c>, <c>en-IE</c>, <c>it-IT</c>,
/// <c>en-IT</c>, <c>nl-NL</c>, <c>en-NL</c>, <c>nb-NO</c>, <c>en-NO</c>, <c>sv-SE</c>,
/// <c>en-SE</c>, <c>en-US</c>, <c>fr-FR</c>, or <c>en-FR</c>.
/// </summary>
[JsonProperty("preferred_locale")]
public string PreferredLocale { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,17 @@ public class SessionCustomerDetailsTaxId : StripeEntity<SessionCustomerDetailsTa
/// <c>th_vat</c>, <c>jp_cn</c>, <c>jp_rn</c>, <c>li_uid</c>, <c>my_itn</c>, <c>us_ein</c>,
/// <c>kr_brn</c>, <c>ca_qst</c>, <c>ca_gst_hst</c>, <c>ca_pst_bc</c>, <c>ca_pst_mb</c>,
/// <c>ca_pst_sk</c>, <c>my_sst</c>, <c>sg_gst</c>, <c>ae_trn</c>, <c>cl_tin</c>,
/// <c>sa_vat</c>, <c>id_npwp</c>, <c>my_frp</c>, <c>il_vat</c>, or <c>unknown</c>.
/// <c>sa_vat</c>, <c>id_npwp</c>, <c>my_frp</c>, <c>il_vat</c>, <c>ge_vat</c>,
/// <c>ua_vat</c>, or <c>unknown</c>.
/// One of: <c>ae_trn</c>, <c>au_abn</c>, <c>au_arn</c>, <c>br_cnpj</c>, <c>br_cpf</c>,
/// <c>ca_bn</c>, <c>ca_gst_hst</c>, <c>ca_pst_bc</c>, <c>ca_pst_mb</c>, <c>ca_pst_sk</c>,
/// <c>ca_qst</c>, <c>ch_vat</c>, <c>cl_tin</c>, <c>es_cif</c>, <c>eu_vat</c>,
/// <c>gb_vat</c>, <c>hk_br</c>, <c>id_npwp</c>, <c>il_vat</c>, <c>in_gst</c>, <c>jp_cn</c>,
/// <c>jp_rn</c>, <c>kr_brn</c>, <c>li_uid</c>, <c>mx_rfc</c>, <c>my_frp</c>, <c>my_itn</c>,
/// <c>my_sst</c>, <c>no_vat</c>, <c>nz_gst</c>, <c>ru_inn</c>, <c>ru_kpp</c>,
/// <c>sa_vat</c>, <c>sg_gst</c>, <c>sg_uen</c>, <c>th_vat</c>, <c>tw_vat</c>,
/// <c>unknown</c>, <c>us_ein</c>, or <c>za_vat</c>.
/// <c>gb_vat</c>, <c>ge_vat</c>, <c>hk_br</c>, <c>id_npwp</c>, <c>il_vat</c>,
/// <c>in_gst</c>, <c>jp_cn</c>, <c>jp_rn</c>, <c>kr_brn</c>, <c>li_uid</c>, <c>mx_rfc</c>,
/// <c>my_frp</c>, <c>my_itn</c>, <c>my_sst</c>, <c>no_vat</c>, <c>nz_gst</c>,
/// <c>ru_inn</c>, <c>ru_kpp</c>, <c>sa_vat</c>, <c>sg_gst</c>, <c>sg_uen</c>,
/// <c>th_vat</c>, <c>tw_vat</c>, <c>ua_vat</c>, <c>unknown</c>, <c>us_ein</c>, or
/// <c>za_vat</c>.
/// </summary>
[JsonProperty("type")]
public string Type { get; set; }
Expand Down
14 changes: 8 additions & 6 deletions src/Stripe.net/Entities/Invoices/InvoiceCustomerTaxId.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,17 @@ public class InvoiceCustomerTaxId : StripeEntity<InvoiceCustomerTaxId>
/// <c>th_vat</c>, <c>jp_cn</c>, <c>jp_rn</c>, <c>li_uid</c>, <c>my_itn</c>, <c>us_ein</c>,
/// <c>kr_brn</c>, <c>ca_qst</c>, <c>ca_gst_hst</c>, <c>ca_pst_bc</c>, <c>ca_pst_mb</c>,
/// <c>ca_pst_sk</c>, <c>my_sst</c>, <c>sg_gst</c>, <c>ae_trn</c>, <c>cl_tin</c>,
/// <c>sa_vat</c>, <c>id_npwp</c>, <c>my_frp</c>, <c>il_vat</c>, or <c>unknown</c>.
/// <c>sa_vat</c>, <c>id_npwp</c>, <c>my_frp</c>, <c>il_vat</c>, <c>ge_vat</c>,
/// <c>ua_vat</c>, or <c>unknown</c>.
/// One of: <c>ae_trn</c>, <c>au_abn</c>, <c>au_arn</c>, <c>br_cnpj</c>, <c>br_cpf</c>,
/// <c>ca_bn</c>, <c>ca_gst_hst</c>, <c>ca_pst_bc</c>, <c>ca_pst_mb</c>, <c>ca_pst_sk</c>,
/// <c>ca_qst</c>, <c>ch_vat</c>, <c>cl_tin</c>, <c>es_cif</c>, <c>eu_vat</c>,
/// <c>gb_vat</c>, <c>hk_br</c>, <c>id_npwp</c>, <c>il_vat</c>, <c>in_gst</c>, <c>jp_cn</c>,
/// <c>jp_rn</c>, <c>kr_brn</c>, <c>li_uid</c>, <c>mx_rfc</c>, <c>my_frp</c>, <c>my_itn</c>,
/// <c>my_sst</c>, <c>no_vat</c>, <c>nz_gst</c>, <c>ru_inn</c>, <c>ru_kpp</c>,
/// <c>sa_vat</c>, <c>sg_gst</c>, <c>sg_uen</c>, <c>th_vat</c>, <c>tw_vat</c>,
/// <c>unknown</c>, <c>us_ein</c>, or <c>za_vat</c>.
/// <c>gb_vat</c>, <c>ge_vat</c>, <c>hk_br</c>, <c>id_npwp</c>, <c>il_vat</c>,
/// <c>in_gst</c>, <c>jp_cn</c>, <c>jp_rn</c>, <c>kr_brn</c>, <c>li_uid</c>, <c>mx_rfc</c>,
/// <c>my_frp</c>, <c>my_itn</c>, <c>my_sst</c>, <c>no_vat</c>, <c>nz_gst</c>,
/// <c>ru_inn</c>, <c>ru_kpp</c>, <c>sa_vat</c>, <c>sg_gst</c>, <c>sg_uen</c>,
/// <c>th_vat</c>, <c>tw_vat</c>, <c>ua_vat</c>, <c>unknown</c>, <c>us_ein</c>, or
/// <c>za_vat</c>.
/// </summary>
[JsonProperty("type")]
public string Type { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ public class PaymentIntentPaymentMethodOptions : StripeEntity<PaymentIntentPayme
[JsonProperty("card_present")]
public PaymentIntentPaymentMethodOptionsCardPresent CardPresent { get; set; }

[JsonProperty("giropay")]
public PaymentIntentPaymentMethodOptionsGiropay Giropay { get; set; }

[JsonProperty("ideal")]
public PaymentIntentPaymentMethodOptionsIdeal Ideal { get; set; }

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// File generated from our OpenAPI spec
namespace Stripe
{
public class PaymentIntentPaymentMethodOptionsGiropay : StripeEntity<PaymentIntentPaymentMethodOptionsGiropay>
{
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ public class SubscriptionPendingUpdate : StripeEntity<SubscriptionPendingUpdate>
/// Indicates if a plan's <c>trial_period_days</c> should be applied to the subscription.
/// Setting <c>trial_end</c> per subscription is preferred, and this defaults to
/// <c>false</c>. Setting this flag to <c>true</c> together with <c>trial_end</c> is not
/// allowed. See <a href="docs/billing/subscriptions/trials">Using trial periods on
/// subscriptions</a> to learn more.
/// allowed. See <a href="https://stripe.com/docs/billing/subscriptions/trials">Using trial
/// periods on subscriptions</a> to learn more.
/// </summary>
[JsonProperty("trial_from_plan")]
public bool? TrialFromPlan { get; set; }
Expand Down
23 changes: 12 additions & 11 deletions src/Stripe.net/Entities/TaxIds/TaxId.cs
Original file line number Diff line number Diff line change
Expand Up @@ -88,20 +88,21 @@ public Customer Customer
/// Type of the tax ID, one of <c>ae_trn</c>, <c>au_abn</c>, <c>au_arn</c>, <c>br_cnpj</c>,
/// <c>br_cpf</c>, <c>ca_bn</c>, <c>ca_gst_hst</c>, <c>ca_pst_bc</c>, <c>ca_pst_mb</c>,
/// <c>ca_pst_sk</c>, <c>ca_qst</c>, <c>ch_vat</c>, <c>cl_tin</c>, <c>es_cif</c>,
/// <c>eu_vat</c>, <c>gb_vat</c>, <c>hk_br</c>, <c>id_npwp</c>, <c>il_vat</c>,
/// <c>in_gst</c>, <c>jp_cn</c>, <c>jp_rn</c>, <c>kr_brn</c>, <c>li_uid</c>, <c>mx_rfc</c>,
/// <c>my_frp</c>, <c>my_itn</c>, <c>my_sst</c>, <c>no_vat</c>, <c>nz_gst</c>,
/// <c>ru_inn</c>, <c>ru_kpp</c>, <c>sa_vat</c>, <c>sg_gst</c>, <c>sg_uen</c>,
/// <c>th_vat</c>, <c>tw_vat</c>, <c>us_ein</c>, or <c>za_vat</c>. Note that some legacy tax
/// IDs have type <c>unknown</c>.
/// <c>eu_vat</c>, <c>gb_vat</c>, <c>ge_vat</c>, <c>hk_br</c>, <c>id_npwp</c>,
/// <c>il_vat</c>, <c>in_gst</c>, <c>jp_cn</c>, <c>jp_rn</c>, <c>kr_brn</c>, <c>li_uid</c>,
/// <c>mx_rfc</c>, <c>my_frp</c>, <c>my_itn</c>, <c>my_sst</c>, <c>no_vat</c>,
/// <c>nz_gst</c>, <c>ru_inn</c>, <c>ru_kpp</c>, <c>sa_vat</c>, <c>sg_gst</c>,
/// <c>sg_uen</c>, <c>th_vat</c>, <c>tw_vat</c>, <c>ua_vat</c>, <c>us_ein</c>, or
/// <c>za_vat</c>. Note that some legacy tax IDs have type <c>unknown</c>.
/// One of: <c>ae_trn</c>, <c>au_abn</c>, <c>au_arn</c>, <c>br_cnpj</c>, <c>br_cpf</c>,
/// <c>ca_bn</c>, <c>ca_gst_hst</c>, <c>ca_pst_bc</c>, <c>ca_pst_mb</c>, <c>ca_pst_sk</c>,
/// <c>ca_qst</c>, <c>ch_vat</c>, <c>cl_tin</c>, <c>es_cif</c>, <c>eu_vat</c>,
/// <c>gb_vat</c>, <c>hk_br</c>, <c>id_npwp</c>, <c>il_vat</c>, <c>in_gst</c>, <c>jp_cn</c>,
/// <c>jp_rn</c>, <c>kr_brn</c>, <c>li_uid</c>, <c>mx_rfc</c>, <c>my_frp</c>, <c>my_itn</c>,
/// <c>my_sst</c>, <c>no_vat</c>, <c>nz_gst</c>, <c>ru_inn</c>, <c>ru_kpp</c>,
/// <c>sa_vat</c>, <c>sg_gst</c>, <c>sg_uen</c>, <c>th_vat</c>, <c>tw_vat</c>,
/// <c>unknown</c>, <c>us_ein</c>, or <c>za_vat</c>.
/// <c>gb_vat</c>, <c>ge_vat</c>, <c>hk_br</c>, <c>id_npwp</c>, <c>il_vat</c>,
/// <c>in_gst</c>, <c>jp_cn</c>, <c>jp_rn</c>, <c>kr_brn</c>, <c>li_uid</c>, <c>mx_rfc</c>,
/// <c>my_frp</c>, <c>my_itn</c>, <c>my_sst</c>, <c>no_vat</c>, <c>nz_gst</c>,
/// <c>ru_inn</c>, <c>ru_kpp</c>, <c>sa_vat</c>, <c>sg_gst</c>, <c>sg_uen</c>,
/// <c>th_vat</c>, <c>tw_vat</c>, <c>ua_vat</c>, <c>unknown</c>, <c>us_ein</c>, or
/// <c>za_vat</c>.
/// </summary>
[JsonProperty("type")]
public string Type { get; set; }
Expand Down
21 changes: 11 additions & 10 deletions src/Stripe.net/Services/Customers/CustomerTaxIdDataOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,20 @@ public class CustomerTaxIdDataOptions : INestedOptions
/// Type of the tax ID, one of <c>ae_trn</c>, <c>au_abn</c>, <c>au_arn</c>, <c>br_cnpj</c>,
/// <c>br_cpf</c>, <c>ca_bn</c>, <c>ca_gst_hst</c>, <c>ca_pst_bc</c>, <c>ca_pst_mb</c>,
/// <c>ca_pst_sk</c>, <c>ca_qst</c>, <c>ch_vat</c>, <c>cl_tin</c>, <c>es_cif</c>,
/// <c>eu_vat</c>, <c>gb_vat</c>, <c>hk_br</c>, <c>id_npwp</c>, <c>il_vat</c>,
/// <c>in_gst</c>, <c>jp_cn</c>, <c>jp_rn</c>, <c>kr_brn</c>, <c>li_uid</c>, <c>mx_rfc</c>,
/// <c>my_frp</c>, <c>my_itn</c>, <c>my_sst</c>, <c>no_vat</c>, <c>nz_gst</c>,
/// <c>ru_inn</c>, <c>ru_kpp</c>, <c>sa_vat</c>, <c>sg_gst</c>, <c>sg_uen</c>,
/// <c>th_vat</c>, <c>tw_vat</c>, <c>us_ein</c>, or <c>za_vat</c>.
/// <c>eu_vat</c>, <c>gb_vat</c>, <c>ge_vat</c>, <c>hk_br</c>, <c>id_npwp</c>,
/// <c>il_vat</c>, <c>in_gst</c>, <c>jp_cn</c>, <c>jp_rn</c>, <c>kr_brn</c>, <c>li_uid</c>,
/// <c>mx_rfc</c>, <c>my_frp</c>, <c>my_itn</c>, <c>my_sst</c>, <c>no_vat</c>,
/// <c>nz_gst</c>, <c>ru_inn</c>, <c>ru_kpp</c>, <c>sa_vat</c>, <c>sg_gst</c>,
/// <c>sg_uen</c>, <c>th_vat</c>, <c>tw_vat</c>, <c>ua_vat</c>, <c>us_ein</c>, or
/// <c>za_vat</c>.
/// One of: <c>ae_trn</c>, <c>au_abn</c>, <c>au_arn</c>, <c>br_cnpj</c>, <c>br_cpf</c>,
/// <c>ca_bn</c>, <c>ca_gst_hst</c>, <c>ca_pst_bc</c>, <c>ca_pst_mb</c>, <c>ca_pst_sk</c>,
/// <c>ca_qst</c>, <c>ch_vat</c>, <c>cl_tin</c>, <c>es_cif</c>, <c>eu_vat</c>,
/// <c>gb_vat</c>, <c>hk_br</c>, <c>id_npwp</c>, <c>il_vat</c>, <c>in_gst</c>, <c>jp_cn</c>,
/// <c>jp_rn</c>, <c>kr_brn</c>, <c>li_uid</c>, <c>mx_rfc</c>, <c>my_frp</c>, <c>my_itn</c>,
/// <c>my_sst</c>, <c>no_vat</c>, <c>nz_gst</c>, <c>ru_inn</c>, <c>ru_kpp</c>,
/// <c>sa_vat</c>, <c>sg_gst</c>, <c>sg_uen</c>, <c>th_vat</c>, <c>tw_vat</c>,
/// <c>us_ein</c>, or <c>za_vat</c>.
/// <c>gb_vat</c>, <c>ge_vat</c>, <c>hk_br</c>, <c>id_npwp</c>, <c>il_vat</c>,
/// <c>in_gst</c>, <c>jp_cn</c>, <c>jp_rn</c>, <c>kr_brn</c>, <c>li_uid</c>, <c>mx_rfc</c>,
/// <c>my_frp</c>, <c>my_itn</c>, <c>my_sst</c>, <c>no_vat</c>, <c>nz_gst</c>,
/// <c>ru_inn</c>, <c>ru_kpp</c>, <c>sa_vat</c>, <c>sg_gst</c>, <c>sg_uen</c>,
/// <c>th_vat</c>, <c>tw_vat</c>, <c>ua_vat</c>, <c>us_ein</c>, or <c>za_vat</c>.
/// </summary>
[JsonProperty("type")]
public string Type { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,20 @@ public class InvoiceCustomerDetailsTaxIdOptions : INestedOptions
/// Type of the tax ID, one of <c>ae_trn</c>, <c>au_abn</c>, <c>au_arn</c>, <c>br_cnpj</c>,
/// <c>br_cpf</c>, <c>ca_bn</c>, <c>ca_gst_hst</c>, <c>ca_pst_bc</c>, <c>ca_pst_mb</c>,
/// <c>ca_pst_sk</c>, <c>ca_qst</c>, <c>ch_vat</c>, <c>cl_tin</c>, <c>es_cif</c>,
/// <c>eu_vat</c>, <c>gb_vat</c>, <c>hk_br</c>, <c>id_npwp</c>, <c>il_vat</c>,
/// <c>in_gst</c>, <c>jp_cn</c>, <c>jp_rn</c>, <c>kr_brn</c>, <c>li_uid</c>, <c>mx_rfc</c>,
/// <c>my_frp</c>, <c>my_itn</c>, <c>my_sst</c>, <c>no_vat</c>, <c>nz_gst</c>,
/// <c>ru_inn</c>, <c>ru_kpp</c>, <c>sa_vat</c>, <c>sg_gst</c>, <c>sg_uen</c>,
/// <c>th_vat</c>, <c>tw_vat</c>, <c>us_ein</c>, or <c>za_vat</c>.
/// <c>eu_vat</c>, <c>gb_vat</c>, <c>ge_vat</c>, <c>hk_br</c>, <c>id_npwp</c>,
/// <c>il_vat</c>, <c>in_gst</c>, <c>jp_cn</c>, <c>jp_rn</c>, <c>kr_brn</c>, <c>li_uid</c>,
/// <c>mx_rfc</c>, <c>my_frp</c>, <c>my_itn</c>, <c>my_sst</c>, <c>no_vat</c>,
/// <c>nz_gst</c>, <c>ru_inn</c>, <c>ru_kpp</c>, <c>sa_vat</c>, <c>sg_gst</c>,
/// <c>sg_uen</c>, <c>th_vat</c>, <c>tw_vat</c>, <c>ua_vat</c>, <c>us_ein</c>, or
/// <c>za_vat</c>.
/// One of: <c>ae_trn</c>, <c>au_abn</c>, <c>au_arn</c>, <c>br_cnpj</c>, <c>br_cpf</c>,
/// <c>ca_bn</c>, <c>ca_gst_hst</c>, <c>ca_pst_bc</c>, <c>ca_pst_mb</c>, <c>ca_pst_sk</c>,
/// <c>ca_qst</c>, <c>ch_vat</c>, <c>cl_tin</c>, <c>es_cif</c>, <c>eu_vat</c>,
/// <c>gb_vat</c>, <c>hk_br</c>, <c>id_npwp</c>, <c>il_vat</c>, <c>in_gst</c>, <c>jp_cn</c>,
/// <c>jp_rn</c>, <c>kr_brn</c>, <c>li_uid</c>, <c>mx_rfc</c>, <c>my_frp</c>, <c>my_itn</c>,
/// <c>my_sst</c>, <c>no_vat</c>, <c>nz_gst</c>, <c>ru_inn</c>, <c>ru_kpp</c>,
/// <c>sa_vat</c>, <c>sg_gst</c>, <c>sg_uen</c>, <c>th_vat</c>, <c>tw_vat</c>,
/// <c>us_ein</c>, or <c>za_vat</c>.
/// <c>gb_vat</c>, <c>ge_vat</c>, <c>hk_br</c>, <c>id_npwp</c>, <c>il_vat</c>,
/// <c>in_gst</c>, <c>jp_cn</c>, <c>jp_rn</c>, <c>kr_brn</c>, <c>li_uid</c>, <c>mx_rfc</c>,
/// <c>my_frp</c>, <c>my_itn</c>, <c>my_sst</c>, <c>no_vat</c>, <c>nz_gst</c>,
/// <c>ru_inn</c>, <c>ru_kpp</c>, <c>sa_vat</c>, <c>sg_gst</c>, <c>sg_uen</c>,
/// <c>th_vat</c>, <c>tw_vat</c>, <c>ua_vat</c>, <c>us_ein</c>, or <c>za_vat</c>.
/// </summary>
[JsonProperty("type")]
public string Type { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,20 @@ public class InvoiceLineItemCustomerDetailsTaxIdOptions : INestedOptions
/// Type of the tax ID, one of <c>ae_trn</c>, <c>au_abn</c>, <c>au_arn</c>, <c>br_cnpj</c>,
/// <c>br_cpf</c>, <c>ca_bn</c>, <c>ca_gst_hst</c>, <c>ca_pst_bc</c>, <c>ca_pst_mb</c>,
/// <c>ca_pst_sk</c>, <c>ca_qst</c>, <c>ch_vat</c>, <c>cl_tin</c>, <c>es_cif</c>,
/// <c>eu_vat</c>, <c>gb_vat</c>, <c>hk_br</c>, <c>id_npwp</c>, <c>il_vat</c>,
/// <c>in_gst</c>, <c>jp_cn</c>, <c>jp_rn</c>, <c>kr_brn</c>, <c>li_uid</c>, <c>mx_rfc</c>,
/// <c>my_frp</c>, <c>my_itn</c>, <c>my_sst</c>, <c>no_vat</c>, <c>nz_gst</c>,
/// <c>ru_inn</c>, <c>ru_kpp</c>, <c>sa_vat</c>, <c>sg_gst</c>, <c>sg_uen</c>,
/// <c>th_vat</c>, <c>tw_vat</c>, <c>us_ein</c>, or <c>za_vat</c>.
/// <c>eu_vat</c>, <c>gb_vat</c>, <c>ge_vat</c>, <c>hk_br</c>, <c>id_npwp</c>,
/// <c>il_vat</c>, <c>in_gst</c>, <c>jp_cn</c>, <c>jp_rn</c>, <c>kr_brn</c>, <c>li_uid</c>,
/// <c>mx_rfc</c>, <c>my_frp</c>, <c>my_itn</c>, <c>my_sst</c>, <c>no_vat</c>,
/// <c>nz_gst</c>, <c>ru_inn</c>, <c>ru_kpp</c>, <c>sa_vat</c>, <c>sg_gst</c>,
/// <c>sg_uen</c>, <c>th_vat</c>, <c>tw_vat</c>, <c>ua_vat</c>, <c>us_ein</c>, or
/// <c>za_vat</c>.
/// One of: <c>ae_trn</c>, <c>au_abn</c>, <c>au_arn</c>, <c>br_cnpj</c>, <c>br_cpf</c>,
/// <c>ca_bn</c>, <c>ca_gst_hst</c>, <c>ca_pst_bc</c>, <c>ca_pst_mb</c>, <c>ca_pst_sk</c>,
/// <c>ca_qst</c>, <c>ch_vat</c>, <c>cl_tin</c>, <c>es_cif</c>, <c>eu_vat</c>,
/// <c>gb_vat</c>, <c>hk_br</c>, <c>id_npwp</c>, <c>il_vat</c>, <c>in_gst</c>, <c>jp_cn</c>,
/// <c>jp_rn</c>, <c>kr_brn</c>, <c>li_uid</c>, <c>mx_rfc</c>, <c>my_frp</c>, <c>my_itn</c>,
/// <c>my_sst</c>, <c>no_vat</c>, <c>nz_gst</c>, <c>ru_inn</c>, <c>ru_kpp</c>,
/// <c>sa_vat</c>, <c>sg_gst</c>, <c>sg_uen</c>, <c>th_vat</c>, <c>tw_vat</c>,
/// <c>us_ein</c>, or <c>za_vat</c>.
/// <c>gb_vat</c>, <c>ge_vat</c>, <c>hk_br</c>, <c>id_npwp</c>, <c>il_vat</c>,
/// <c>in_gst</c>, <c>jp_cn</c>, <c>jp_rn</c>, <c>kr_brn</c>, <c>li_uid</c>, <c>mx_rfc</c>,
/// <c>my_frp</c>, <c>my_itn</c>, <c>my_sst</c>, <c>no_vat</c>, <c>nz_gst</c>,
/// <c>ru_inn</c>, <c>ru_kpp</c>, <c>sa_vat</c>, <c>sg_gst</c>, <c>sg_uen</c>,
/// <c>th_vat</c>, <c>tw_vat</c>, <c>ua_vat</c>, <c>us_ein</c>, or <c>za_vat</c>.
/// </summary>
[JsonProperty("type")]
public string Type { get; set; }
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// File generated from our OpenAPI spec
namespace Stripe
{
public class PaymentIntentPaymentMethodOptionsGiropayOptions : INestedOptions
{
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ public class PaymentIntentPaymentMethodOptionsKlarnaOptions : INestedOptions
/// <summary>
/// Preferred language of the Klarna authorization page that the customer is redirected to.
/// One of: <c>da-DK</c>, <c>de-AT</c>, <c>de-DE</c>, <c>en-AT</c>, <c>en-BE</c>,
/// <c>en-DE</c>, <c>en-DK</c>, <c>en-ES</c>, <c>en-FI</c>, <c>en-GB</c>, <c>en-IT</c>,
/// <c>en-NL</c>, <c>en-NO</c>, <c>en-SE</c>, <c>en-US</c>, <c>es-ES</c>, <c>fi-FI</c>,
/// <c>fr-BE</c>, <c>it-IT</c>, <c>nb-NO</c>, <c>nl-BE</c>, <c>nl-NL</c>, <c>sv-FI</c>, or
/// <c>sv-SE</c>.
/// <c>en-DE</c>, <c>en-DK</c>, <c>en-ES</c>, <c>en-FI</c>, <c>en-GB</c>, <c>en-IE</c>,
/// <c>en-IT</c>, <c>en-NL</c>, <c>en-NO</c>, <c>en-SE</c>, <c>en-US</c>, <c>es-ES</c>,
/// <c>fi-FI</c>, <c>fr-BE</c>, <c>it-IT</c>, <c>nb-NO</c>, <c>nl-BE</c>, <c>nl-NL</c>,
/// <c>sv-FI</c>, or <c>sv-SE</c>.
/// </summary>
[JsonProperty("preferred_locale")]
public string PreferredLocale { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,13 @@ public class PaymentIntentPaymentMethodOptionsOptions : INestedOptions
[JsonProperty("card_present")]
public PaymentIntentPaymentMethodOptionsCardPresentOptions CardPresent { get; set; }

/// <summary>
/// If this is a <c>giropay</c> PaymentMethod, this sub-hash contains details about the
/// Giropay payment method options.
/// </summary>
[JsonProperty("giropay")]
public PaymentIntentPaymentMethodOptionsGiropayOptions Giropay { get; set; }

/// <summary>
/// If this is a <c>ideal</c> PaymentMethod, this sub-hash contains details about the Ideal
/// payment method options.
Expand Down
Loading