From 2aa06993ce0c48a903767b5e39c7ff9ce3b82788 Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Sat, 14 Dec 2024 00:10:18 +0000 Subject: [PATCH] Update generated code for v1412 --- OPENAPI_VERSION | 2 +- src/Stripe.net/Constants/ApiVersion.cs | 2 +- ...sionComponentsAccountManagementFeatures.cs | 10 +- ...sionComponentsAccountOnboardingFeatures.cs | 10 +- ...ccountSessionComponentsBalancesFeatures.cs | 10 +- ...ionComponentsNotificationBannerFeatures.cs | 10 +- ...AccountSessionComponentsPayoutsFeatures.cs | 10 +- .../Accounts/AccountFutureRequirements.cs | 4 +- .../Entities/Accounts/AccountRequirements.cs | 5 +- .../CapabilityFutureRequirements.cs | 4 +- .../Capabilities/CapabilityRequirements.cs | 5 +- src/Stripe.net/Entities/Cards/Card.cs | 17 +++ .../Charges/ChargePaymentMethodDetailsCard.cs | 18 +++ .../Sessions/SessionCustomerDetailsTaxId.cs | 55 ++++---- ...nfirmationTokenPaymentMethodPreviewCard.cs | 7 + ...sputeEvidenceDetailsEnhancedEligibility.cs | 3 + ...etailsEnhancedEligibilityVisaCompliance.cs | 15 +++ .../DisputeEvidenceEnhancedEvidence.cs | 3 + ...eEvidenceEnhancedEvidenceVisaCompliance.cs | 18 +++ .../Entities/Invoices/InvoiceCustomerTaxId.cs | 55 ++++---- .../PaymentMethods/PaymentMethodCard.cs | 7 + .../Persons/PersonFutureRequirements.cs | 4 +- .../Entities/Persons/PersonRequirements.cs | 6 +- src/Stripe.net/Entities/Sources/Source.cs | 10 ++ .../CalculationCustomerDetailsTaxId.cs | 55 ++++---- .../RegistrationCountryOptions.cs | 63 +++++++++ .../RegistrationCountryOptionsAl.cs | 14 ++ .../RegistrationCountryOptionsAm.cs | 14 ++ .../RegistrationCountryOptionsAo.cs | 14 ++ .../RegistrationCountryOptionsBa.cs | 14 ++ .../RegistrationCountryOptionsBb.cs | 14 ++ .../RegistrationCountryOptionsBs.cs | 14 ++ .../RegistrationCountryOptionsCd.cs | 14 ++ .../RegistrationCountryOptionsGn.cs | 14 ++ .../RegistrationCountryOptionsKh.cs | 14 ++ .../RegistrationCountryOptionsMe.cs | 14 ++ .../RegistrationCountryOptionsMk.cs | 14 ++ .../RegistrationCountryOptionsMr.cs | 14 ++ .../RegistrationCountryOptionsNp.cs | 14 ++ .../RegistrationCountryOptionsPe.cs | 14 ++ .../RegistrationCountryOptionsSn.cs | 14 ++ .../RegistrationCountryOptionsSr.cs | 14 ++ .../RegistrationCountryOptionsTj.cs | 14 ++ .../RegistrationCountryOptionsUg.cs | 14 ++ .../RegistrationCountryOptionsUy.cs | 14 ++ .../RegistrationCountryOptionsZm.cs | 14 ++ .../RegistrationCountryOptionsZw.cs | 14 ++ .../TransactionCustomerDetailsTaxId.cs | 55 ++++---- src/Stripe.net/Entities/TaxIds/TaxId.cs | 48 +++---- ...ponentsAccountManagementFeaturesOptions.cs | 10 +- ...ponentsAccountOnboardingFeaturesOptions.cs | 10 +- ...essionComponentsBalancesFeaturesOptions.cs | 10 +- ...onentsNotificationBannerFeaturesOptions.cs | 10 +- ...SessionComponentsPayoutsFeaturesOptions.cs | 10 +- .../CustomerTaxIdCreateOptions.cs | 42 +++--- .../Customers/CustomerTaxIdDataOptions.cs | 42 +++--- .../DisputeEvidenceEnhancedEvidenceOptions.cs | 6 + ...ceEnhancedEvidenceVisaComplianceOptions.cs | 18 +++ ...pcomingLinesCustomerDetailsTaxIdOptions.cs | 42 +++--- .../InvoiceCustomerDetailsTaxIdOptions.cs | 42 +++--- .../CalculationCustomerDetailsTaxIdOptions.cs | 42 +++--- .../RegistrationCountryOptionsAlOptions.cs | 14 ++ .../RegistrationCountryOptionsAmOptions.cs | 14 ++ .../RegistrationCountryOptionsAoOptions.cs | 14 ++ .../RegistrationCountryOptionsBaOptions.cs | 14 ++ .../RegistrationCountryOptionsBbOptions.cs | 14 ++ .../RegistrationCountryOptionsBsOptions.cs | 14 ++ .../RegistrationCountryOptionsCdOptions.cs | 14 ++ .../RegistrationCountryOptionsGnOptions.cs | 14 ++ .../RegistrationCountryOptionsKhOptions.cs | 14 ++ .../RegistrationCountryOptionsMeOptions.cs | 14 ++ .../RegistrationCountryOptionsMkOptions.cs | 14 ++ .../RegistrationCountryOptionsMrOptions.cs | 14 ++ .../RegistrationCountryOptionsNpOptions.cs | 14 ++ .../RegistrationCountryOptionsOptions.cs | 126 ++++++++++++++++++ .../RegistrationCountryOptionsPeOptions.cs | 14 ++ .../RegistrationCountryOptionsSnOptions.cs | 14 ++ .../RegistrationCountryOptionsSrOptions.cs | 14 ++ .../RegistrationCountryOptionsTjOptions.cs | 14 ++ .../RegistrationCountryOptionsUgOptions.cs | 14 ++ .../RegistrationCountryOptionsUyOptions.cs | 14 ++ .../RegistrationCountryOptionsZmOptions.cs | 14 ++ .../RegistrationCountryOptionsZwOptions.cs | 14 ++ .../Services/TaxIds/TaxIdCreateOptions.cs | 42 +++--- .../WebhookEndpointCreateOptions.cs | 2 +- 85 files changed, 1227 insertions(+), 326 deletions(-) create mode 100644 src/Stripe.net/Entities/Disputes/DisputeEvidenceDetailsEnhancedEligibilityVisaCompliance.cs create mode 100644 src/Stripe.net/Entities/Disputes/DisputeEvidenceEnhancedEvidenceVisaCompliance.cs create mode 100644 src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsAl.cs create mode 100644 src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsAm.cs create mode 100644 src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsAo.cs create mode 100644 src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsBa.cs create mode 100644 src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsBb.cs create mode 100644 src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsBs.cs create mode 100644 src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsCd.cs create mode 100644 src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsGn.cs create mode 100644 src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsKh.cs create mode 100644 src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsMe.cs create mode 100644 src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsMk.cs create mode 100644 src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsMr.cs create mode 100644 src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsNp.cs create mode 100644 src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsPe.cs create mode 100644 src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsSn.cs create mode 100644 src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsSr.cs create mode 100644 src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsTj.cs create mode 100644 src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsUg.cs create mode 100644 src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsUy.cs create mode 100644 src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsZm.cs create mode 100644 src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsZw.cs create mode 100644 src/Stripe.net/Services/Disputes/DisputeEvidenceEnhancedEvidenceVisaComplianceOptions.cs create mode 100644 src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsAlOptions.cs create mode 100644 src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsAmOptions.cs create mode 100644 src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsAoOptions.cs create mode 100644 src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBaOptions.cs create mode 100644 src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBbOptions.cs create mode 100644 src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBsOptions.cs create mode 100644 src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsCdOptions.cs create mode 100644 src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsGnOptions.cs create mode 100644 src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsKhOptions.cs create mode 100644 src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsMeOptions.cs create mode 100644 src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsMkOptions.cs create mode 100644 src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsMrOptions.cs create mode 100644 src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsNpOptions.cs create mode 100644 src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsPeOptions.cs create mode 100644 src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsSnOptions.cs create mode 100644 src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsSrOptions.cs create mode 100644 src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsTjOptions.cs create mode 100644 src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsUgOptions.cs create mode 100644 src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsUyOptions.cs create mode 100644 src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsZmOptions.cs create mode 100644 src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsZwOptions.cs diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 85b34541d5..bf0daa66a7 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v1409 \ No newline at end of file +v1412 \ No newline at end of file diff --git a/src/Stripe.net/Constants/ApiVersion.cs b/src/Stripe.net/Constants/ApiVersion.cs index 090fbcce39..6c56685a19 100644 --- a/src/Stripe.net/Constants/ApiVersion.cs +++ b/src/Stripe.net/Constants/ApiVersion.cs @@ -3,6 +3,6 @@ namespace Stripe { internal class ApiVersion { - public const string Current = "2024-11-20.acacia"; + public const string Current = "2024-12-18.acacia"; } } \ No newline at end of file diff --git a/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsAccountManagementFeatures.cs b/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsAccountManagementFeatures.cs index c6038a5cde..e923118ac4 100644 --- a/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsAccountManagementFeatures.cs +++ b/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsAccountManagementFeatures.cs @@ -6,11 +6,11 @@ namespace Stripe public class AccountSessionComponentsAccountManagementFeatures : StripeEntity { /// - /// Disables Stripe user authentication for this embedded component. This feature can only - /// be true for accounts where you’re responsible for collecting updated information - /// when requirements are due or change, like Custom accounts. The default value for this - /// feature is false when external_account_collection is enabled and - /// true otherwise. + /// Disables Stripe user authentication for this embedded component. This value can only be + /// true for accounts where controller.requirement_collection is application. + /// The default value is the opposite of the external_account_collection value. For + /// example, if you don’t set external_account_collection, it defaults to true and + /// disable_stripe_user_authentication defaults to false. /// [JsonProperty("disable_stripe_user_authentication")] public bool DisableStripeUserAuthentication { get; set; } diff --git a/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsAccountOnboardingFeatures.cs b/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsAccountOnboardingFeatures.cs index d0e23e34a0..30568b1165 100644 --- a/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsAccountOnboardingFeatures.cs +++ b/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsAccountOnboardingFeatures.cs @@ -6,11 +6,11 @@ namespace Stripe public class AccountSessionComponentsAccountOnboardingFeatures : StripeEntity { /// - /// Disables Stripe user authentication for this embedded component. This feature can only - /// be true for accounts where you’re responsible for collecting updated information - /// when requirements are due or change, like Custom accounts. The default value for this - /// feature is false when external_account_collection is enabled and - /// true otherwise. + /// Disables Stripe user authentication for this embedded component. This value can only be + /// true for accounts where controller.requirement_collection is application. + /// The default value is the opposite of the external_account_collection value. For + /// example, if you don’t set external_account_collection, it defaults to true and + /// disable_stripe_user_authentication defaults to false. /// [JsonProperty("disable_stripe_user_authentication")] public bool DisableStripeUserAuthentication { get; set; } diff --git a/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsBalancesFeatures.cs b/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsBalancesFeatures.cs index 7e06736219..7c2c0a93d5 100644 --- a/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsBalancesFeatures.cs +++ b/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsBalancesFeatures.cs @@ -6,11 +6,11 @@ namespace Stripe public class AccountSessionComponentsBalancesFeatures : StripeEntity { /// - /// Disables Stripe user authentication for this embedded component. This feature can only - /// be true for accounts where you’re responsible for collecting updated information - /// when requirements are due or change, like Custom accounts. The default value for this - /// feature is false when external_account_collection is enabled and - /// true otherwise. + /// Disables Stripe user authentication for this embedded component. This value can only be + /// true for accounts where controller.requirement_collection is application. + /// The default value is the opposite of the external_account_collection value. For + /// example, if you don’t set external_account_collection, it defaults to true and + /// disable_stripe_user_authentication defaults to false. /// [JsonProperty("disable_stripe_user_authentication")] public bool DisableStripeUserAuthentication { get; set; } diff --git a/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsNotificationBannerFeatures.cs b/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsNotificationBannerFeatures.cs index 0c9e469d20..0a6d022478 100644 --- a/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsNotificationBannerFeatures.cs +++ b/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsNotificationBannerFeatures.cs @@ -6,11 +6,11 @@ namespace Stripe public class AccountSessionComponentsNotificationBannerFeatures : StripeEntity { /// - /// Disables Stripe user authentication for this embedded component. This feature can only - /// be true for accounts where you’re responsible for collecting updated information - /// when requirements are due or change, like Custom accounts. The default value for this - /// feature is false when external_account_collection is enabled and - /// true otherwise. + /// Disables Stripe user authentication for this embedded component. This value can only be + /// true for accounts where controller.requirement_collection is application. + /// The default value is the opposite of the external_account_collection value. For + /// example, if you don’t set external_account_collection, it defaults to true and + /// disable_stripe_user_authentication defaults to false. /// [JsonProperty("disable_stripe_user_authentication")] public bool DisableStripeUserAuthentication { get; set; } diff --git a/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsPayoutsFeatures.cs b/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsPayoutsFeatures.cs index b473297301..c03ac4ad83 100644 --- a/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsPayoutsFeatures.cs +++ b/src/Stripe.net/Entities/AccountSessions/AccountSessionComponentsPayoutsFeatures.cs @@ -6,11 +6,11 @@ namespace Stripe public class AccountSessionComponentsPayoutsFeatures : StripeEntity { /// - /// Disables Stripe user authentication for this embedded component. This feature can only - /// be true for accounts where you’re responsible for collecting updated information - /// when requirements are due or change, like Custom accounts. The default value for this - /// feature is false when external_account_collection is enabled and - /// true otherwise. + /// Disables Stripe user authentication for this embedded component. This value can only be + /// true for accounts where controller.requirement_collection is application. + /// The default value is the opposite of the external_account_collection value. For + /// example, if you don’t set external_account_collection, it defaults to true and + /// disable_stripe_user_authentication defaults to false. /// [JsonProperty("disable_stripe_user_authentication")] public bool DisableStripeUserAuthentication { get; set; } diff --git a/src/Stripe.net/Entities/Accounts/AccountFutureRequirements.cs b/src/Stripe.net/Entities/Accounts/AccountFutureRequirements.cs index 752adcadd8..2be6abf5fa 100644 --- a/src/Stripe.net/Entities/Accounts/AccountFutureRequirements.cs +++ b/src/Stripe.net/Entities/Accounts/AccountFutureRequirements.cs @@ -53,8 +53,8 @@ public class AccountFutureRequirements : StripeEntity public List Errors { get; set; } /// - /// Fields that need to be collected assuming all volume thresholds are reached. As they - /// become required, they appear in currently_due as well. + /// Fields you must collect when all thresholds are reached. As they become required, they + /// appear in currently_due as well. /// [JsonProperty("eventually_due")] public List EventuallyDue { get; set; } diff --git a/src/Stripe.net/Entities/Accounts/AccountRequirements.cs b/src/Stripe.net/Entities/Accounts/AccountRequirements.cs index 508030f1ae..3db1bd3e5c 100644 --- a/src/Stripe.net/Entities/Accounts/AccountRequirements.cs +++ b/src/Stripe.net/Entities/Accounts/AccountRequirements.cs @@ -54,9 +54,8 @@ public class AccountRequirements : StripeEntity public List Errors { get; set; } /// - /// Fields that need to be collected assuming all volume thresholds are reached. As they - /// become required, they appear in currently_due as well, and - /// current_deadline becomes set. + /// Fields you must collect when all thresholds are reached. As they become required, they + /// appear in currently_due as well, and current_deadline becomes set. /// [JsonProperty("eventually_due")] public List EventuallyDue { get; set; } diff --git a/src/Stripe.net/Entities/Capabilities/CapabilityFutureRequirements.cs b/src/Stripe.net/Entities/Capabilities/CapabilityFutureRequirements.cs index 0aa3cf5ec1..a51158382d 100644 --- a/src/Stripe.net/Entities/Capabilities/CapabilityFutureRequirements.cs +++ b/src/Stripe.net/Entities/Capabilities/CapabilityFutureRequirements.cs @@ -53,8 +53,8 @@ public class CapabilityFutureRequirements : StripeEntity Errors { get; set; } /// - /// Fields that need to be collected assuming all volume thresholds are reached. As they - /// become required, they appear in currently_due as well. + /// Fields you must collect when all thresholds are reached. As they become required, they + /// appear in currently_due as well. /// [JsonProperty("eventually_due")] public List EventuallyDue { get; set; } diff --git a/src/Stripe.net/Entities/Capabilities/CapabilityRequirements.cs b/src/Stripe.net/Entities/Capabilities/CapabilityRequirements.cs index d55f043df9..2776ebb668 100644 --- a/src/Stripe.net/Entities/Capabilities/CapabilityRequirements.cs +++ b/src/Stripe.net/Entities/Capabilities/CapabilityRequirements.cs @@ -52,9 +52,8 @@ public class CapabilityRequirements : StripeEntity public List Errors { get; set; } /// - /// Fields that need to be collected assuming all volume thresholds are reached. As they - /// become required, they appear in currently_due as well, and - /// current_deadline becomes set. + /// Fields you must collect when all thresholds are reached. As they become required, they + /// appear in currently_due as well, and current_deadline becomes set. /// [JsonProperty("eventually_due")] public List EventuallyDue { get; set; } diff --git a/src/Stripe.net/Entities/Cards/Card.cs b/src/Stripe.net/Entities/Cards/Card.cs index 4ff3810573..eb071a63fa 100644 --- a/src/Stripe.net/Entities/Cards/Card.cs +++ b/src/Stripe.net/Entities/Cards/Card.cs @@ -116,6 +116,16 @@ public Account Account [JsonProperty("address_zip_check")] public string AddressZipCheck { get; set; } + /// + /// 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”. + /// One of: always, limited, or unspecified. + /// + [JsonProperty("allow_redisplay")] + public string AllowRedisplay { get; set; } + /// /// A set of available payout methods for this card. Only values from this set should be /// passed as the method when creating a payout. @@ -291,6 +301,13 @@ public Customer Customer [JsonProperty("networks")] public CardNetworks Networks { get; set; } + /// + /// Status of a card based on the card issuer. + /// One of: regulated, or unregulated. + /// + [JsonProperty("regulated_status")] + public string RegulatedStatus { get; set; } + /// /// For external accounts that are cards, possible values are new and errored. /// If a payout fails, the status is set to errored and + /// This is used by the financial networks to identify a transaction. Visa calls this the + /// Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the + /// Acquirer Reference Data. The first three digits of the Trace ID is the Financial Network + /// Code, the next 6 digits is the Banknet Reference Number, and the last 4 digits represent + /// the date (MM/DD). This field will be available for successful Visa, Mastercard, or + /// American Express transactions and always null for other card brands. + /// + [JsonProperty("network_transaction_id")] + public string NetworkTransactionId { get; set; } + [JsonProperty("overcapture")] public ChargePaymentMethodDetailsCardOvercapture Overcapture { get; set; } + /// + /// Status of a card based on the card issuer. + /// One of: regulated, or unregulated. + /// + [JsonProperty("regulated_status")] + public string RegulatedStatus { get; set; } + /// /// Populated if this transaction used 3D Secure authentication. /// diff --git a/src/Stripe.net/Entities/Checkout/Sessions/SessionCustomerDetailsTaxId.cs b/src/Stripe.net/Entities/Checkout/Sessions/SessionCustomerDetailsTaxId.cs index 221edde29e..db268a6e57 100644 --- a/src/Stripe.net/Entities/Checkout/Sessions/SessionCustomerDetailsTaxId.cs +++ b/src/Stripe.net/Entities/Checkout/Sessions/SessionCustomerDetailsTaxId.cs @@ -19,33 +19,34 @@ public class SessionCustomerDetailsTaxId : StripeEntityca_pst_sk, my_sst, sg_gst, ae_trn, cl_tin, /// sa_vat, id_npwp, my_frp, il_vat, ge_vat, /// ua_vat, is_vat, bg_uic, hu_tin, si_tin, - /// ke_pin, tr_tin, eg_tin, ph_tin, bh_vat, - /// kz_bin, ng_tin, om_vat, de_stn, ch_uid, - /// tz_vat, uz_vat, uz_tin, md_vat, ma_vat, - /// by_tin, ao_tin, bs_tin, bb_tin, cd_nif, - /// mr_nif, me_pib, zw_tin, ba_tin, gn_nif, - /// mk_vat, sr_fin, sn_ninea, am_tin, np_pan, - /// tj_tin, ug_tin, zm_tin, kh_tin, or unknown. - /// One of: ad_nrt, ae_trn, am_tin, ao_tin, ar_cuit, - /// au_abn, au_arn, ba_tin, bb_tin, bg_uic, - /// bh_vat, bo_tin, br_cnpj, br_cpf, bs_tin, - /// by_tin, ca_bn, ca_gst_hst, ca_pst_bc, ca_pst_mb, - /// ca_pst_sk, ca_qst, cd_nif, ch_uid, ch_vat, - /// cl_tin, cn_tin, co_nit, cr_tin, de_stn, - /// do_rcn, ec_ruc, eg_tin, es_cif, eu_oss_vat, - /// eu_vat, gb_vat, ge_vat, gn_nif, hk_br, hr_oib, - /// hu_tin, id_npwp, il_vat, in_gst, is_vat, - /// jp_cn, jp_rn, jp_trn, ke_pin, kh_tin, kr_brn, - /// kz_bin, li_uid, li_vat, ma_vat, md_vat, - /// me_pib, mk_vat, mr_nif, mx_rfc, my_frp, - /// my_itn, my_sst, ng_tin, no_vat, no_voec, - /// np_pan, nz_gst, om_vat, pe_ruc, ph_tin, - /// ro_tin, rs_pib, ru_inn, ru_kpp, sa_vat, - /// sg_gst, sg_uen, si_tin, sn_ninea, sr_fin, - /// sv_nit, th_vat, tj_tin, tr_tin, tw_vat, - /// tz_vat, ua_vat, ug_tin, unknown, us_ein, - /// uy_ruc, uz_tin, uz_vat, ve_rif, vn_tin, - /// za_vat, zm_tin, or zw_tin. + /// ke_pin, tr_tin, eg_tin, ph_tin, al_tin, + /// bh_vat, kz_bin, ng_tin, om_vat, de_stn, + /// ch_uid, tz_vat, uz_vat, uz_tin, md_vat, + /// ma_vat, by_tin, ao_tin, bs_tin, bb_tin, + /// cd_nif, mr_nif, me_pib, zw_tin, ba_tin, + /// gn_nif, mk_vat, sr_fin, sn_ninea, am_tin, + /// np_pan, tj_tin, ug_tin, zm_tin, kh_tin, or + /// unknown. + /// One of: ad_nrt, ae_trn, al_tin, am_tin, ao_tin, + /// ar_cuit, au_abn, au_arn, ba_tin, bb_tin, + /// bg_uic, bh_vat, bo_tin, br_cnpj, br_cpf, + /// bs_tin, by_tin, ca_bn, ca_gst_hst, ca_pst_bc, + /// ca_pst_mb, ca_pst_sk, ca_qst, cd_nif, ch_uid, + /// ch_vat, cl_tin, cn_tin, co_nit, cr_tin, + /// de_stn, do_rcn, ec_ruc, eg_tin, es_cif, + /// eu_oss_vat, eu_vat, gb_vat, ge_vat, gn_nif, + /// hk_br, hr_oib, hu_tin, id_npwp, il_vat, + /// in_gst, is_vat, jp_cn, jp_rn, jp_trn, ke_pin, + /// kh_tin, kr_brn, kz_bin, li_uid, li_vat, + /// ma_vat, md_vat, me_pib, mk_vat, mr_nif, + /// mx_rfc, my_frp, my_itn, my_sst, ng_tin, + /// no_vat, no_voec, np_pan, nz_gst, om_vat, + /// pe_ruc, ph_tin, ro_tin, rs_pib, ru_inn, + /// ru_kpp, sa_vat, sg_gst, sg_uen, si_tin, + /// sn_ninea, sr_fin, sv_nit, th_vat, tj_tin, + /// tr_tin, tw_vat, tz_vat, ua_vat, ug_tin, + /// unknown, us_ein, uy_ruc, uz_tin, uz_vat, + /// ve_rif, vn_tin, za_vat, zm_tin, or zw_tin. /// [JsonProperty("type")] public string Type { get; set; } diff --git a/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewCard.cs b/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewCard.cs index 370ad70702..66de0dbc47 100644 --- a/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewCard.cs +++ b/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewCard.cs @@ -106,6 +106,13 @@ public class ConfirmationTokenPaymentMethodPreviewCard : StripeEntity + /// Status of a card based on the card issuer. + /// One of: regulated, or unregulated. + /// + [JsonProperty("regulated_status")] + public string RegulatedStatus { get; set; } + /// /// Contains details on how this Card may be used for 3D Secure authentication. /// diff --git a/src/Stripe.net/Entities/Disputes/DisputeEvidenceDetailsEnhancedEligibility.cs b/src/Stripe.net/Entities/Disputes/DisputeEvidenceDetailsEnhancedEligibility.cs index 3bfc24316b..8fa9ca20d6 100644 --- a/src/Stripe.net/Entities/Disputes/DisputeEvidenceDetailsEnhancedEligibility.cs +++ b/src/Stripe.net/Entities/Disputes/DisputeEvidenceDetailsEnhancedEligibility.cs @@ -7,5 +7,8 @@ public class DisputeEvidenceDetailsEnhancedEligibility : StripeEntity + { + /// + /// Visa compliance eligibility status. + /// One of: fee_acknowledged, or requires_fee_acknowledgement. + /// + [JsonProperty("status")] + public string Status { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Disputes/DisputeEvidenceEnhancedEvidence.cs b/src/Stripe.net/Entities/Disputes/DisputeEvidenceEnhancedEvidence.cs index 08abb032d7..47519d3ae2 100644 --- a/src/Stripe.net/Entities/Disputes/DisputeEvidenceEnhancedEvidence.cs +++ b/src/Stripe.net/Entities/Disputes/DisputeEvidenceEnhancedEvidence.cs @@ -7,5 +7,8 @@ public class DisputeEvidenceEnhancedEvidence : StripeEntity + { + /// + /// A field acknowledging the fee incurred when countering a Visa compliance dispute. If + /// this field is set to true, evidence can be submitted for the compliance dispute. Stripe + /// collects a 500 USD (or local equivalent) amount to cover the network costs associated + /// with resolving compliance disputes. Stripe refunds the 500 USD network fee if you win + /// the dispute. + /// + [JsonProperty("fee_acknowledged")] + public bool FeeAcknowledged { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Invoices/InvoiceCustomerTaxId.cs b/src/Stripe.net/Entities/Invoices/InvoiceCustomerTaxId.cs index 9a42550b5e..32dea31ca7 100644 --- a/src/Stripe.net/Entities/Invoices/InvoiceCustomerTaxId.cs +++ b/src/Stripe.net/Entities/Invoices/InvoiceCustomerTaxId.cs @@ -19,33 +19,34 @@ public class InvoiceCustomerTaxId : StripeEntity /// ca_pst_sk, my_sst, sg_gst, ae_trn, cl_tin, /// sa_vat, id_npwp, my_frp, il_vat, ge_vat, /// ua_vat, is_vat, bg_uic, hu_tin, si_tin, - /// ke_pin, tr_tin, eg_tin, ph_tin, bh_vat, - /// kz_bin, ng_tin, om_vat, de_stn, ch_uid, - /// tz_vat, uz_vat, uz_tin, md_vat, ma_vat, - /// by_tin, ao_tin, bs_tin, bb_tin, cd_nif, - /// mr_nif, me_pib, zw_tin, ba_tin, gn_nif, - /// mk_vat, sr_fin, sn_ninea, am_tin, np_pan, - /// tj_tin, ug_tin, zm_tin, kh_tin, or unknown. - /// One of: ad_nrt, ae_trn, am_tin, ao_tin, ar_cuit, - /// au_abn, au_arn, ba_tin, bb_tin, bg_uic, - /// bh_vat, bo_tin, br_cnpj, br_cpf, bs_tin, - /// by_tin, ca_bn, ca_gst_hst, ca_pst_bc, ca_pst_mb, - /// ca_pst_sk, ca_qst, cd_nif, ch_uid, ch_vat, - /// cl_tin, cn_tin, co_nit, cr_tin, de_stn, - /// do_rcn, ec_ruc, eg_tin, es_cif, eu_oss_vat, - /// eu_vat, gb_vat, ge_vat, gn_nif, hk_br, hr_oib, - /// hu_tin, id_npwp, il_vat, in_gst, is_vat, - /// jp_cn, jp_rn, jp_trn, ke_pin, kh_tin, kr_brn, - /// kz_bin, li_uid, li_vat, ma_vat, md_vat, - /// me_pib, mk_vat, mr_nif, mx_rfc, my_frp, - /// my_itn, my_sst, ng_tin, no_vat, no_voec, - /// np_pan, nz_gst, om_vat, pe_ruc, ph_tin, - /// ro_tin, rs_pib, ru_inn, ru_kpp, sa_vat, - /// sg_gst, sg_uen, si_tin, sn_ninea, sr_fin, - /// sv_nit, th_vat, tj_tin, tr_tin, tw_vat, - /// tz_vat, ua_vat, ug_tin, unknown, us_ein, - /// uy_ruc, uz_tin, uz_vat, ve_rif, vn_tin, - /// za_vat, zm_tin, or zw_tin. + /// ke_pin, tr_tin, eg_tin, ph_tin, al_tin, + /// bh_vat, kz_bin, ng_tin, om_vat, de_stn, + /// ch_uid, tz_vat, uz_vat, uz_tin, md_vat, + /// ma_vat, by_tin, ao_tin, bs_tin, bb_tin, + /// cd_nif, mr_nif, me_pib, zw_tin, ba_tin, + /// gn_nif, mk_vat, sr_fin, sn_ninea, am_tin, + /// np_pan, tj_tin, ug_tin, zm_tin, kh_tin, or + /// unknown. + /// One of: ad_nrt, ae_trn, al_tin, am_tin, ao_tin, + /// ar_cuit, au_abn, au_arn, ba_tin, bb_tin, + /// bg_uic, bh_vat, bo_tin, br_cnpj, br_cpf, + /// bs_tin, by_tin, ca_bn, ca_gst_hst, ca_pst_bc, + /// ca_pst_mb, ca_pst_sk, ca_qst, cd_nif, ch_uid, + /// ch_vat, cl_tin, cn_tin, co_nit, cr_tin, + /// de_stn, do_rcn, ec_ruc, eg_tin, es_cif, + /// eu_oss_vat, eu_vat, gb_vat, ge_vat, gn_nif, + /// hk_br, hr_oib, hu_tin, id_npwp, il_vat, + /// in_gst, is_vat, jp_cn, jp_rn, jp_trn, ke_pin, + /// kh_tin, kr_brn, kz_bin, li_uid, li_vat, + /// ma_vat, md_vat, me_pib, mk_vat, mr_nif, + /// mx_rfc, my_frp, my_itn, my_sst, ng_tin, + /// no_vat, no_voec, np_pan, nz_gst, om_vat, + /// pe_ruc, ph_tin, ro_tin, rs_pib, ru_inn, + /// ru_kpp, sa_vat, sg_gst, sg_uen, si_tin, + /// sn_ninea, sr_fin, sv_nit, th_vat, tj_tin, + /// tr_tin, tw_vat, tz_vat, ua_vat, ug_tin, + /// unknown, us_ein, uy_ruc, uz_tin, uz_vat, + /// ve_rif, vn_tin, za_vat, zm_tin, or zw_tin. /// [JsonProperty("type")] public string Type { get; set; } diff --git a/src/Stripe.net/Entities/PaymentMethods/PaymentMethodCard.cs b/src/Stripe.net/Entities/PaymentMethods/PaymentMethodCard.cs index 91e99aa601..069b1f8a88 100644 --- a/src/Stripe.net/Entities/PaymentMethods/PaymentMethodCard.cs +++ b/src/Stripe.net/Entities/PaymentMethods/PaymentMethodCard.cs @@ -106,6 +106,13 @@ public class PaymentMethodCard : StripeEntity [JsonProperty("networks")] public PaymentMethodCardNetworks Networks { get; set; } + /// + /// Status of a card based on the card issuer. + /// One of: regulated, or unregulated. + /// + [JsonProperty("regulated_status")] + public string RegulatedStatus { get; set; } + /// /// Contains details on how this Card may be used for 3D Secure authentication. /// diff --git a/src/Stripe.net/Entities/Persons/PersonFutureRequirements.cs b/src/Stripe.net/Entities/Persons/PersonFutureRequirements.cs index 2712eb02a3..26da6fbfe3 100644 --- a/src/Stripe.net/Entities/Persons/PersonFutureRequirements.cs +++ b/src/Stripe.net/Entities/Persons/PersonFutureRequirements.cs @@ -31,8 +31,8 @@ public class PersonFutureRequirements : StripeEntity public List Errors { get; set; } /// - /// Fields that need to be collected assuming all volume thresholds are reached. As they - /// become required, they appear in currently_due as well, and the account's + /// Fields you must collect when all thresholds are reached. As they become required, they + /// appear in currently_due as well, and the account's /// future_requirements[current_deadline] becomes set. /// [JsonProperty("eventually_due")] diff --git a/src/Stripe.net/Entities/Persons/PersonRequirements.cs b/src/Stripe.net/Entities/Persons/PersonRequirements.cs index edc07bfc03..463ef23697 100644 --- a/src/Stripe.net/Entities/Persons/PersonRequirements.cs +++ b/src/Stripe.net/Entities/Persons/PersonRequirements.cs @@ -29,9 +29,9 @@ public class PersonRequirements : StripeEntity public List Errors { get; set; } /// - /// Fields that need to be collected assuming all volume thresholds are reached. As they - /// become required, they appear in currently_due as well, and the account's - /// current_deadline becomes set. + /// Fields you must collect when all thresholds are reached. As they become required, they + /// appear in currently_due as well, and the account's current_deadline + /// becomes set. /// [JsonProperty("eventually_due")] public List EventuallyDue { get; set; } diff --git a/src/Stripe.net/Entities/Sources/Source.cs b/src/Stripe.net/Entities/Sources/Source.cs index 140eb6a79b..4c958954e4 100644 --- a/src/Stripe.net/Entities/Sources/Source.cs +++ b/src/Stripe.net/Entities/Sources/Source.cs @@ -46,6 +46,16 @@ public class Source : StripeEntity, IHasId, IHasMetadata, IHasObject, IP [JsonProperty("alipay")] public SourceAlipay Alipay { get; set; } + /// + /// 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”. + /// One of: always, limited, or unspecified. + /// + [JsonProperty("allow_redisplay")] + public string AllowRedisplay { get; set; } + /// /// A positive integer in the smallest currency unit (that is, 100 cents for $1.00, or 1 for /// ¥1, Japanese Yen being a zero-decimal currency) representing the total amount associated diff --git a/src/Stripe.net/Entities/Tax/Calculations/CalculationCustomerDetailsTaxId.cs b/src/Stripe.net/Entities/Tax/Calculations/CalculationCustomerDetailsTaxId.cs index 907548b045..363c0cce47 100644 --- a/src/Stripe.net/Entities/Tax/Calculations/CalculationCustomerDetailsTaxId.cs +++ b/src/Stripe.net/Entities/Tax/Calculations/CalculationCustomerDetailsTaxId.cs @@ -19,33 +19,34 @@ public class CalculationCustomerDetailsTaxId : StripeEntityca_pst_sk, my_sst, sg_gst, ae_trn, cl_tin, /// sa_vat, id_npwp, my_frp, il_vat, ge_vat, /// ua_vat, is_vat, bg_uic, hu_tin, si_tin, - /// ke_pin, tr_tin, eg_tin, ph_tin, bh_vat, - /// kz_bin, ng_tin, om_vat, de_stn, ch_uid, - /// tz_vat, uz_vat, uz_tin, md_vat, ma_vat, - /// by_tin, ao_tin, bs_tin, bb_tin, cd_nif, - /// mr_nif, me_pib, zw_tin, ba_tin, gn_nif, - /// mk_vat, sr_fin, sn_ninea, am_tin, np_pan, - /// tj_tin, ug_tin, zm_tin, kh_tin, or unknown. - /// One of: ad_nrt, ae_trn, am_tin, ao_tin, ar_cuit, - /// au_abn, au_arn, ba_tin, bb_tin, bg_uic, - /// bh_vat, bo_tin, br_cnpj, br_cpf, bs_tin, - /// by_tin, ca_bn, ca_gst_hst, ca_pst_bc, ca_pst_mb, - /// ca_pst_sk, ca_qst, cd_nif, ch_uid, ch_vat, - /// cl_tin, cn_tin, co_nit, cr_tin, de_stn, - /// do_rcn, ec_ruc, eg_tin, es_cif, eu_oss_vat, - /// eu_vat, gb_vat, ge_vat, gn_nif, hk_br, hr_oib, - /// hu_tin, id_npwp, il_vat, in_gst, is_vat, - /// jp_cn, jp_rn, jp_trn, ke_pin, kh_tin, kr_brn, - /// kz_bin, li_uid, li_vat, ma_vat, md_vat, - /// me_pib, mk_vat, mr_nif, mx_rfc, my_frp, - /// my_itn, my_sst, ng_tin, no_vat, no_voec, - /// np_pan, nz_gst, om_vat, pe_ruc, ph_tin, - /// ro_tin, rs_pib, ru_inn, ru_kpp, sa_vat, - /// sg_gst, sg_uen, si_tin, sn_ninea, sr_fin, - /// sv_nit, th_vat, tj_tin, tr_tin, tw_vat, - /// tz_vat, ua_vat, ug_tin, unknown, us_ein, - /// uy_ruc, uz_tin, uz_vat, ve_rif, vn_tin, - /// za_vat, zm_tin, or zw_tin. + /// ke_pin, tr_tin, eg_tin, ph_tin, al_tin, + /// bh_vat, kz_bin, ng_tin, om_vat, de_stn, + /// ch_uid, tz_vat, uz_vat, uz_tin, md_vat, + /// ma_vat, by_tin, ao_tin, bs_tin, bb_tin, + /// cd_nif, mr_nif, me_pib, zw_tin, ba_tin, + /// gn_nif, mk_vat, sr_fin, sn_ninea, am_tin, + /// np_pan, tj_tin, ug_tin, zm_tin, kh_tin, or + /// unknown. + /// One of: ad_nrt, ae_trn, al_tin, am_tin, ao_tin, + /// ar_cuit, au_abn, au_arn, ba_tin, bb_tin, + /// bg_uic, bh_vat, bo_tin, br_cnpj, br_cpf, + /// bs_tin, by_tin, ca_bn, ca_gst_hst, ca_pst_bc, + /// ca_pst_mb, ca_pst_sk, ca_qst, cd_nif, ch_uid, + /// ch_vat, cl_tin, cn_tin, co_nit, cr_tin, + /// de_stn, do_rcn, ec_ruc, eg_tin, es_cif, + /// eu_oss_vat, eu_vat, gb_vat, ge_vat, gn_nif, + /// hk_br, hr_oib, hu_tin, id_npwp, il_vat, + /// in_gst, is_vat, jp_cn, jp_rn, jp_trn, ke_pin, + /// kh_tin, kr_brn, kz_bin, li_uid, li_vat, + /// ma_vat, md_vat, me_pib, mk_vat, mr_nif, + /// mx_rfc, my_frp, my_itn, my_sst, ng_tin, + /// no_vat, no_voec, np_pan, nz_gst, om_vat, + /// pe_ruc, ph_tin, ro_tin, rs_pib, ru_inn, + /// ru_kpp, sa_vat, sg_gst, sg_uen, si_tin, + /// sn_ninea, sr_fin, sv_nit, th_vat, tj_tin, + /// tr_tin, tw_vat, tz_vat, ua_vat, ug_tin, + /// unknown, us_ein, uy_ruc, uz_tin, uz_vat, + /// ve_rif, vn_tin, za_vat, zm_tin, or zw_tin. /// [JsonProperty("type")] public string Type { get; set; } diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptions.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptions.cs index 0f18f88995..a709efe4cb 100644 --- a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptions.cs +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptions.cs @@ -8,12 +8,27 @@ public class RegistrationCountryOptions : StripeEntity + { + /// + /// Type of registration in country. + /// + [JsonProperty("type")] + public string Type { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsAm.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsAm.cs new file mode 100644 index 0000000000..60a0daf093 --- /dev/null +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsAm.cs @@ -0,0 +1,14 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; + + public class RegistrationCountryOptionsAm : StripeEntity + { + /// + /// Type of registration in country. + /// + [JsonProperty("type")] + public string Type { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsAo.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsAo.cs new file mode 100644 index 0000000000..17b8e0e856 --- /dev/null +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsAo.cs @@ -0,0 +1,14 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; + + public class RegistrationCountryOptionsAo : StripeEntity + { + /// + /// Type of registration in country. + /// + [JsonProperty("type")] + public string Type { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsBa.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsBa.cs new file mode 100644 index 0000000000..c19a2d34f3 --- /dev/null +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsBa.cs @@ -0,0 +1,14 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; + + public class RegistrationCountryOptionsBa : StripeEntity + { + /// + /// Type of registration in country. + /// + [JsonProperty("type")] + public string Type { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsBb.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsBb.cs new file mode 100644 index 0000000000..90e6a73588 --- /dev/null +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsBb.cs @@ -0,0 +1,14 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; + + public class RegistrationCountryOptionsBb : StripeEntity + { + /// + /// Type of registration in country. + /// + [JsonProperty("type")] + public string Type { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsBs.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsBs.cs new file mode 100644 index 0000000000..f84a54fdd1 --- /dev/null +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsBs.cs @@ -0,0 +1,14 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; + + public class RegistrationCountryOptionsBs : StripeEntity + { + /// + /// Type of registration in country. + /// + [JsonProperty("type")] + public string Type { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsCd.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsCd.cs new file mode 100644 index 0000000000..1081c0c53f --- /dev/null +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsCd.cs @@ -0,0 +1,14 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; + + public class RegistrationCountryOptionsCd : StripeEntity + { + /// + /// Type of registration in country. + /// + [JsonProperty("type")] + public string Type { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsGn.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsGn.cs new file mode 100644 index 0000000000..c3738b2a21 --- /dev/null +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsGn.cs @@ -0,0 +1,14 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; + + public class RegistrationCountryOptionsGn : StripeEntity + { + /// + /// Type of registration in country. + /// + [JsonProperty("type")] + public string Type { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsKh.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsKh.cs new file mode 100644 index 0000000000..c9a49144b4 --- /dev/null +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsKh.cs @@ -0,0 +1,14 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; + + public class RegistrationCountryOptionsKh : StripeEntity + { + /// + /// Type of registration in country. + /// + [JsonProperty("type")] + public string Type { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsMe.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsMe.cs new file mode 100644 index 0000000000..331e93ace6 --- /dev/null +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsMe.cs @@ -0,0 +1,14 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; + + public class RegistrationCountryOptionsMe : StripeEntity + { + /// + /// Type of registration in country. + /// + [JsonProperty("type")] + public string Type { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsMk.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsMk.cs new file mode 100644 index 0000000000..41a7fa4824 --- /dev/null +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsMk.cs @@ -0,0 +1,14 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; + + public class RegistrationCountryOptionsMk : StripeEntity + { + /// + /// Type of registration in country. + /// + [JsonProperty("type")] + public string Type { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsMr.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsMr.cs new file mode 100644 index 0000000000..ebb2dd7a09 --- /dev/null +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsMr.cs @@ -0,0 +1,14 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; + + public class RegistrationCountryOptionsMr : StripeEntity + { + /// + /// Type of registration in country. + /// + [JsonProperty("type")] + public string Type { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsNp.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsNp.cs new file mode 100644 index 0000000000..fbd0c82731 --- /dev/null +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsNp.cs @@ -0,0 +1,14 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; + + public class RegistrationCountryOptionsNp : StripeEntity + { + /// + /// Type of registration in country. + /// + [JsonProperty("type")] + public string Type { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsPe.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsPe.cs new file mode 100644 index 0000000000..13862d94e1 --- /dev/null +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsPe.cs @@ -0,0 +1,14 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; + + public class RegistrationCountryOptionsPe : StripeEntity + { + /// + /// Type of registration in country. + /// + [JsonProperty("type")] + public string Type { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsSn.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsSn.cs new file mode 100644 index 0000000000..4c0e7efff8 --- /dev/null +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsSn.cs @@ -0,0 +1,14 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; + + public class RegistrationCountryOptionsSn : StripeEntity + { + /// + /// Type of registration in country. + /// + [JsonProperty("type")] + public string Type { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsSr.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsSr.cs new file mode 100644 index 0000000000..38388127da --- /dev/null +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsSr.cs @@ -0,0 +1,14 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; + + public class RegistrationCountryOptionsSr : StripeEntity + { + /// + /// Type of registration in country. + /// + [JsonProperty("type")] + public string Type { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsTj.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsTj.cs new file mode 100644 index 0000000000..e1de50ce52 --- /dev/null +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsTj.cs @@ -0,0 +1,14 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; + + public class RegistrationCountryOptionsTj : StripeEntity + { + /// + /// Type of registration in country. + /// + [JsonProperty("type")] + public string Type { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsUg.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsUg.cs new file mode 100644 index 0000000000..06ebbab232 --- /dev/null +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsUg.cs @@ -0,0 +1,14 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; + + public class RegistrationCountryOptionsUg : StripeEntity + { + /// + /// Type of registration in country. + /// + [JsonProperty("type")] + public string Type { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsUy.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsUy.cs new file mode 100644 index 0000000000..757c04f4da --- /dev/null +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsUy.cs @@ -0,0 +1,14 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; + + public class RegistrationCountryOptionsUy : StripeEntity + { + /// + /// Type of registration in country. + /// + [JsonProperty("type")] + public string Type { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsZm.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsZm.cs new file mode 100644 index 0000000000..6dcf195154 --- /dev/null +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsZm.cs @@ -0,0 +1,14 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; + + public class RegistrationCountryOptionsZm : StripeEntity + { + /// + /// Type of registration in country. + /// + [JsonProperty("type")] + public string Type { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsZw.cs b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsZw.cs new file mode 100644 index 0000000000..39405eee5f --- /dev/null +++ b/src/Stripe.net/Entities/Tax/Registrations/RegistrationCountryOptionsZw.cs @@ -0,0 +1,14 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; + + public class RegistrationCountryOptionsZw : StripeEntity + { + /// + /// Type of registration in country. + /// + [JsonProperty("type")] + public string Type { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Tax/Transactions/TransactionCustomerDetailsTaxId.cs b/src/Stripe.net/Entities/Tax/Transactions/TransactionCustomerDetailsTaxId.cs index e9254ab3d6..b348dd5fbc 100644 --- a/src/Stripe.net/Entities/Tax/Transactions/TransactionCustomerDetailsTaxId.cs +++ b/src/Stripe.net/Entities/Tax/Transactions/TransactionCustomerDetailsTaxId.cs @@ -19,33 +19,34 @@ public class TransactionCustomerDetailsTaxId : StripeEntityca_pst_sk, my_sst, sg_gst, ae_trn, cl_tin, /// sa_vat, id_npwp, my_frp, il_vat, ge_vat, /// ua_vat, is_vat, bg_uic, hu_tin, si_tin, - /// ke_pin, tr_tin, eg_tin, ph_tin, bh_vat, - /// kz_bin, ng_tin, om_vat, de_stn, ch_uid, - /// tz_vat, uz_vat, uz_tin, md_vat, ma_vat, - /// by_tin, ao_tin, bs_tin, bb_tin, cd_nif, - /// mr_nif, me_pib, zw_tin, ba_tin, gn_nif, - /// mk_vat, sr_fin, sn_ninea, am_tin, np_pan, - /// tj_tin, ug_tin, zm_tin, kh_tin, or unknown. - /// One of: ad_nrt, ae_trn, am_tin, ao_tin, ar_cuit, - /// au_abn, au_arn, ba_tin, bb_tin, bg_uic, - /// bh_vat, bo_tin, br_cnpj, br_cpf, bs_tin, - /// by_tin, ca_bn, ca_gst_hst, ca_pst_bc, ca_pst_mb, - /// ca_pst_sk, ca_qst, cd_nif, ch_uid, ch_vat, - /// cl_tin, cn_tin, co_nit, cr_tin, de_stn, - /// do_rcn, ec_ruc, eg_tin, es_cif, eu_oss_vat, - /// eu_vat, gb_vat, ge_vat, gn_nif, hk_br, hr_oib, - /// hu_tin, id_npwp, il_vat, in_gst, is_vat, - /// jp_cn, jp_rn, jp_trn, ke_pin, kh_tin, kr_brn, - /// kz_bin, li_uid, li_vat, ma_vat, md_vat, - /// me_pib, mk_vat, mr_nif, mx_rfc, my_frp, - /// my_itn, my_sst, ng_tin, no_vat, no_voec, - /// np_pan, nz_gst, om_vat, pe_ruc, ph_tin, - /// ro_tin, rs_pib, ru_inn, ru_kpp, sa_vat, - /// sg_gst, sg_uen, si_tin, sn_ninea, sr_fin, - /// sv_nit, th_vat, tj_tin, tr_tin, tw_vat, - /// tz_vat, ua_vat, ug_tin, unknown, us_ein, - /// uy_ruc, uz_tin, uz_vat, ve_rif, vn_tin, - /// za_vat, zm_tin, or zw_tin. + /// ke_pin, tr_tin, eg_tin, ph_tin, al_tin, + /// bh_vat, kz_bin, ng_tin, om_vat, de_stn, + /// ch_uid, tz_vat, uz_vat, uz_tin, md_vat, + /// ma_vat, by_tin, ao_tin, bs_tin, bb_tin, + /// cd_nif, mr_nif, me_pib, zw_tin, ba_tin, + /// gn_nif, mk_vat, sr_fin, sn_ninea, am_tin, + /// np_pan, tj_tin, ug_tin, zm_tin, kh_tin, or + /// unknown. + /// One of: ad_nrt, ae_trn, al_tin, am_tin, ao_tin, + /// ar_cuit, au_abn, au_arn, ba_tin, bb_tin, + /// bg_uic, bh_vat, bo_tin, br_cnpj, br_cpf, + /// bs_tin, by_tin, ca_bn, ca_gst_hst, ca_pst_bc, + /// ca_pst_mb, ca_pst_sk, ca_qst, cd_nif, ch_uid, + /// ch_vat, cl_tin, cn_tin, co_nit, cr_tin, + /// de_stn, do_rcn, ec_ruc, eg_tin, es_cif, + /// eu_oss_vat, eu_vat, gb_vat, ge_vat, gn_nif, + /// hk_br, hr_oib, hu_tin, id_npwp, il_vat, + /// in_gst, is_vat, jp_cn, jp_rn, jp_trn, ke_pin, + /// kh_tin, kr_brn, kz_bin, li_uid, li_vat, + /// ma_vat, md_vat, me_pib, mk_vat, mr_nif, + /// mx_rfc, my_frp, my_itn, my_sst, ng_tin, + /// no_vat, no_voec, np_pan, nz_gst, om_vat, + /// pe_ruc, ph_tin, ro_tin, rs_pib, ru_inn, + /// ru_kpp, sa_vat, sg_gst, sg_uen, si_tin, + /// sn_ninea, sr_fin, sv_nit, th_vat, tj_tin, + /// tr_tin, tw_vat, tz_vat, ua_vat, ug_tin, + /// unknown, us_ein, uy_ruc, uz_tin, uz_vat, + /// ve_rif, vn_tin, za_vat, zm_tin, or zw_tin. /// [JsonProperty("type")] public string Type { get; set; } diff --git a/src/Stripe.net/Entities/TaxIds/TaxId.cs b/src/Stripe.net/Entities/TaxIds/TaxId.cs index 4ffe066ba7..fc07d20726 100644 --- a/src/Stripe.net/Entities/TaxIds/TaxId.cs +++ b/src/Stripe.net/Entities/TaxIds/TaxId.cs @@ -92,7 +92,28 @@ public Customer Customer public TaxIdOwner Owner { get; set; } /// - /// Type of the tax ID, one of ad_nrt, ae_trn, am_tin, ao_tin, + /// Type of the tax ID, one of ad_nrt, ae_trn, al_tin, am_tin, + /// ao_tin, ar_cuit, au_abn, au_arn, ba_tin, + /// bb_tin, bg_uic, bh_vat, bo_tin, br_cnpj, + /// br_cpf, bs_tin, by_tin, ca_bn, ca_gst_hst, + /// ca_pst_bc, ca_pst_mb, ca_pst_sk, ca_qst, cd_nif, + /// ch_uid, ch_vat, cl_tin, cn_tin, co_nit, + /// cr_tin, de_stn, do_rcn, ec_ruc, eg_tin, + /// es_cif, eu_oss_vat, eu_vat, gb_vat, ge_vat, + /// gn_nif, hk_br, hr_oib, hu_tin, id_npwp, + /// il_vat, in_gst, is_vat, jp_cn, jp_rn, jp_trn, + /// ke_pin, kh_tin, kr_brn, kz_bin, li_uid, + /// li_vat, ma_vat, md_vat, me_pib, mk_vat, + /// mr_nif, mx_rfc, my_frp, my_itn, my_sst, + /// ng_tin, no_vat, no_voec, np_pan, nz_gst, + /// om_vat, pe_ruc, ph_tin, ro_tin, rs_pib, + /// ru_inn, ru_kpp, sa_vat, sg_gst, sg_uen, + /// si_tin, sn_ninea, sr_fin, sv_nit, th_vat, + /// tj_tin, tr_tin, tw_vat, tz_vat, ua_vat, + /// ug_tin, us_ein, uy_ruc, uz_tin, uz_vat, + /// ve_rif, vn_tin, za_vat, zm_tin, or zw_tin. Note that + /// some legacy tax IDs have type unknown. + /// One of: ad_nrt, ae_trn, al_tin, am_tin, ao_tin, /// ar_cuit, au_abn, au_arn, ba_tin, bb_tin, /// bg_uic, bh_vat, bo_tin, br_cnpj, br_cpf, /// bs_tin, by_tin, ca_bn, ca_gst_hst, ca_pst_bc, @@ -110,29 +131,8 @@ public Customer Customer /// ru_kpp, sa_vat, sg_gst, sg_uen, si_tin, /// sn_ninea, sr_fin, sv_nit, th_vat, tj_tin, /// tr_tin, tw_vat, tz_vat, ua_vat, ug_tin, - /// us_ein, uy_ruc, uz_tin, uz_vat, ve_rif, - /// vn_tin, za_vat, zm_tin, or zw_tin. Note that some legacy tax - /// IDs have type unknown. - /// One of: ad_nrt, ae_trn, am_tin, ao_tin, ar_cuit, - /// au_abn, au_arn, ba_tin, bb_tin, bg_uic, - /// bh_vat, bo_tin, br_cnpj, br_cpf, bs_tin, - /// by_tin, ca_bn, ca_gst_hst, ca_pst_bc, ca_pst_mb, - /// ca_pst_sk, ca_qst, cd_nif, ch_uid, ch_vat, - /// cl_tin, cn_tin, co_nit, cr_tin, de_stn, - /// do_rcn, ec_ruc, eg_tin, es_cif, eu_oss_vat, - /// eu_vat, gb_vat, ge_vat, gn_nif, hk_br, hr_oib, - /// hu_tin, id_npwp, il_vat, in_gst, is_vat, - /// jp_cn, jp_rn, jp_trn, ke_pin, kh_tin, kr_brn, - /// kz_bin, li_uid, li_vat, ma_vat, md_vat, - /// me_pib, mk_vat, mr_nif, mx_rfc, my_frp, - /// my_itn, my_sst, ng_tin, no_vat, no_voec, - /// np_pan, nz_gst, om_vat, pe_ruc, ph_tin, - /// ro_tin, rs_pib, ru_inn, ru_kpp, sa_vat, - /// sg_gst, sg_uen, si_tin, sn_ninea, sr_fin, - /// sv_nit, th_vat, tj_tin, tr_tin, tw_vat, - /// tz_vat, ua_vat, ug_tin, unknown, us_ein, - /// uy_ruc, uz_tin, uz_vat, ve_rif, vn_tin, - /// za_vat, zm_tin, or zw_tin. + /// unknown, us_ein, uy_ruc, uz_tin, uz_vat, + /// ve_rif, vn_tin, za_vat, zm_tin, or zw_tin. /// [JsonProperty("type")] public string Type { get; set; } diff --git a/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsAccountManagementFeaturesOptions.cs b/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsAccountManagementFeaturesOptions.cs index 37dd1a8fb1..91b6163d59 100644 --- a/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsAccountManagementFeaturesOptions.cs +++ b/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsAccountManagementFeaturesOptions.cs @@ -6,11 +6,11 @@ namespace Stripe public class AccountSessionComponentsAccountManagementFeaturesOptions : INestedOptions { /// - /// Disables Stripe user authentication for this embedded component. This feature can only - /// be true for accounts where you’re responsible for collecting updated information - /// when requirements are due or change, like Custom accounts. The default value for this - /// feature is false when external_account_collection is enabled and - /// true otherwise. + /// Disables Stripe user authentication for this embedded component. This value can only be + /// true for accounts where controller.requirement_collection is application. + /// The default value is the opposite of the external_account_collection value. For + /// example, if you don’t set external_account_collection, it defaults to true and + /// disable_stripe_user_authentication defaults to false. /// [JsonProperty("disable_stripe_user_authentication")] public bool? DisableStripeUserAuthentication { get; set; } diff --git a/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsAccountOnboardingFeaturesOptions.cs b/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsAccountOnboardingFeaturesOptions.cs index d4366fd088..c2a6acf273 100644 --- a/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsAccountOnboardingFeaturesOptions.cs +++ b/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsAccountOnboardingFeaturesOptions.cs @@ -6,11 +6,11 @@ namespace Stripe public class AccountSessionComponentsAccountOnboardingFeaturesOptions : INestedOptions { /// - /// Disables Stripe user authentication for this embedded component. This feature can only - /// be true for accounts where you’re responsible for collecting updated information - /// when requirements are due or change, like Custom accounts. The default value for this - /// feature is false when external_account_collection is enabled and - /// true otherwise. + /// Disables Stripe user authentication for this embedded component. This value can only be + /// true for accounts where controller.requirement_collection is application. + /// The default value is the opposite of the external_account_collection value. For + /// example, if you don’t set external_account_collection, it defaults to true and + /// disable_stripe_user_authentication defaults to false. /// [JsonProperty("disable_stripe_user_authentication")] public bool? DisableStripeUserAuthentication { get; set; } diff --git a/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsBalancesFeaturesOptions.cs b/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsBalancesFeaturesOptions.cs index f8aa614802..c86e593081 100644 --- a/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsBalancesFeaturesOptions.cs +++ b/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsBalancesFeaturesOptions.cs @@ -6,11 +6,11 @@ namespace Stripe public class AccountSessionComponentsBalancesFeaturesOptions : INestedOptions { /// - /// Disables Stripe user authentication for this embedded component. This feature can only - /// be true for accounts where you’re responsible for collecting updated information - /// when requirements are due or change, like Custom accounts. The default value for this - /// feature is false when external_account_collection is enabled and - /// true otherwise. + /// Disables Stripe user authentication for this embedded component. This value can only be + /// true for accounts where controller.requirement_collection is application. + /// The default value is the opposite of the external_account_collection value. For + /// example, if you don’t set external_account_collection, it defaults to true and + /// disable_stripe_user_authentication defaults to false. /// [JsonProperty("disable_stripe_user_authentication")] public bool? DisableStripeUserAuthentication { get; set; } diff --git a/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsNotificationBannerFeaturesOptions.cs b/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsNotificationBannerFeaturesOptions.cs index 5de881d382..a7701e366e 100644 --- a/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsNotificationBannerFeaturesOptions.cs +++ b/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsNotificationBannerFeaturesOptions.cs @@ -6,11 +6,11 @@ namespace Stripe public class AccountSessionComponentsNotificationBannerFeaturesOptions : INestedOptions { /// - /// Disables Stripe user authentication for this embedded component. This feature can only - /// be true for accounts where you’re responsible for collecting updated information - /// when requirements are due or change, like Custom accounts. The default value for this - /// feature is false when external_account_collection is enabled and - /// true otherwise. + /// Disables Stripe user authentication for this embedded component. This value can only be + /// true for accounts where controller.requirement_collection is application. + /// The default value is the opposite of the external_account_collection value. For + /// example, if you don’t set external_account_collection, it defaults to true and + /// disable_stripe_user_authentication defaults to false. /// [JsonProperty("disable_stripe_user_authentication")] public bool? DisableStripeUserAuthentication { get; set; } diff --git a/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsPayoutsFeaturesOptions.cs b/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsPayoutsFeaturesOptions.cs index ebb666ed9e..0a4f923b58 100644 --- a/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsPayoutsFeaturesOptions.cs +++ b/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsPayoutsFeaturesOptions.cs @@ -6,11 +6,11 @@ namespace Stripe public class AccountSessionComponentsPayoutsFeaturesOptions : INestedOptions { /// - /// Disables Stripe user authentication for this embedded component. This feature can only - /// be true for accounts where you’re responsible for collecting updated information - /// when requirements are due or change, like Custom accounts. The default value for this - /// feature is false when external_account_collection is enabled and - /// true otherwise. + /// Disables Stripe user authentication for this embedded component. This value can only be + /// true for accounts where controller.requirement_collection is application. + /// The default value is the opposite of the external_account_collection value. For + /// example, if you don’t set external_account_collection, it defaults to true and + /// disable_stripe_user_authentication defaults to false. /// [JsonProperty("disable_stripe_user_authentication")] public bool? DisableStripeUserAuthentication { get; set; } diff --git a/src/Stripe.net/Services/CustomerTaxIds/CustomerTaxIdCreateOptions.cs b/src/Stripe.net/Services/CustomerTaxIds/CustomerTaxIdCreateOptions.cs index 0176491175..3539f028ac 100644 --- a/src/Stripe.net/Services/CustomerTaxIds/CustomerTaxIdCreateOptions.cs +++ b/src/Stripe.net/Services/CustomerTaxIds/CustomerTaxIdCreateOptions.cs @@ -6,7 +6,27 @@ namespace Stripe public class CustomerTaxIdCreateOptions : BaseOptions { /// - /// Type of the tax ID, one of ad_nrt, ae_trn, am_tin, ao_tin, + /// Type of the tax ID, one of ad_nrt, ae_trn, al_tin, am_tin, + /// ao_tin, ar_cuit, au_abn, au_arn, ba_tin, + /// bb_tin, bg_uic, bh_vat, bo_tin, br_cnpj, + /// br_cpf, bs_tin, by_tin, ca_bn, ca_gst_hst, + /// ca_pst_bc, ca_pst_mb, ca_pst_sk, ca_qst, cd_nif, + /// ch_uid, ch_vat, cl_tin, cn_tin, co_nit, + /// cr_tin, de_stn, do_rcn, ec_ruc, eg_tin, + /// es_cif, eu_oss_vat, eu_vat, gb_vat, ge_vat, + /// gn_nif, hk_br, hr_oib, hu_tin, id_npwp, + /// il_vat, in_gst, is_vat, jp_cn, jp_rn, jp_trn, + /// ke_pin, kh_tin, kr_brn, kz_bin, li_uid, + /// li_vat, ma_vat, md_vat, me_pib, mk_vat, + /// mr_nif, mx_rfc, my_frp, my_itn, my_sst, + /// ng_tin, no_vat, no_voec, np_pan, nz_gst, + /// om_vat, pe_ruc, ph_tin, ro_tin, rs_pib, + /// ru_inn, ru_kpp, sa_vat, sg_gst, sg_uen, + /// si_tin, sn_ninea, sr_fin, sv_nit, th_vat, + /// tj_tin, tr_tin, tw_vat, tz_vat, ua_vat, + /// ug_tin, us_ein, uy_ruc, uz_tin, uz_vat, + /// ve_rif, vn_tin, za_vat, zm_tin, or zw_tin. + /// One of: ad_nrt, ae_trn, al_tin, am_tin, ao_tin, /// ar_cuit, au_abn, au_arn, ba_tin, bb_tin, /// bg_uic, bh_vat, bo_tin, br_cnpj, br_cpf, /// bs_tin, by_tin, ca_bn, ca_gst_hst, ca_pst_bc, @@ -26,26 +46,6 @@ public class CustomerTaxIdCreateOptions : BaseOptions /// tr_tin, tw_vat, tz_vat, ua_vat, ug_tin, /// us_ein, uy_ruc, uz_tin, uz_vat, ve_rif, /// vn_tin, za_vat, zm_tin, or zw_tin. - /// One of: ad_nrt, ae_trn, am_tin, ao_tin, ar_cuit, - /// au_abn, au_arn, ba_tin, bb_tin, bg_uic, - /// bh_vat, bo_tin, br_cnpj, br_cpf, bs_tin, - /// by_tin, ca_bn, ca_gst_hst, ca_pst_bc, ca_pst_mb, - /// ca_pst_sk, ca_qst, cd_nif, ch_uid, ch_vat, - /// cl_tin, cn_tin, co_nit, cr_tin, de_stn, - /// do_rcn, ec_ruc, eg_tin, es_cif, eu_oss_vat, - /// eu_vat, gb_vat, ge_vat, gn_nif, hk_br, hr_oib, - /// hu_tin, id_npwp, il_vat, in_gst, is_vat, - /// jp_cn, jp_rn, jp_trn, ke_pin, kh_tin, kr_brn, - /// kz_bin, li_uid, li_vat, ma_vat, md_vat, - /// me_pib, mk_vat, mr_nif, mx_rfc, my_frp, - /// my_itn, my_sst, ng_tin, no_vat, no_voec, - /// np_pan, nz_gst, om_vat, pe_ruc, ph_tin, - /// ro_tin, rs_pib, ru_inn, ru_kpp, sa_vat, - /// sg_gst, sg_uen, si_tin, sn_ninea, sr_fin, - /// sv_nit, th_vat, tj_tin, tr_tin, tw_vat, - /// tz_vat, ua_vat, ug_tin, us_ein, uy_ruc, - /// uz_tin, uz_vat, ve_rif, vn_tin, za_vat, - /// zm_tin, or zw_tin. /// [JsonProperty("type")] public string Type { get; set; } diff --git a/src/Stripe.net/Services/Customers/CustomerTaxIdDataOptions.cs b/src/Stripe.net/Services/Customers/CustomerTaxIdDataOptions.cs index 010bb64fc6..35b890c661 100644 --- a/src/Stripe.net/Services/Customers/CustomerTaxIdDataOptions.cs +++ b/src/Stripe.net/Services/Customers/CustomerTaxIdDataOptions.cs @@ -6,7 +6,27 @@ namespace Stripe public class CustomerTaxIdDataOptions : INestedOptions { /// - /// Type of the tax ID, one of ad_nrt, ae_trn, am_tin, ao_tin, + /// Type of the tax ID, one of ad_nrt, ae_trn, al_tin, am_tin, + /// ao_tin, ar_cuit, au_abn, au_arn, ba_tin, + /// bb_tin, bg_uic, bh_vat, bo_tin, br_cnpj, + /// br_cpf, bs_tin, by_tin, ca_bn, ca_gst_hst, + /// ca_pst_bc, ca_pst_mb, ca_pst_sk, ca_qst, cd_nif, + /// ch_uid, ch_vat, cl_tin, cn_tin, co_nit, + /// cr_tin, de_stn, do_rcn, ec_ruc, eg_tin, + /// es_cif, eu_oss_vat, eu_vat, gb_vat, ge_vat, + /// gn_nif, hk_br, hr_oib, hu_tin, id_npwp, + /// il_vat, in_gst, is_vat, jp_cn, jp_rn, jp_trn, + /// ke_pin, kh_tin, kr_brn, kz_bin, li_uid, + /// li_vat, ma_vat, md_vat, me_pib, mk_vat, + /// mr_nif, mx_rfc, my_frp, my_itn, my_sst, + /// ng_tin, no_vat, no_voec, np_pan, nz_gst, + /// om_vat, pe_ruc, ph_tin, ro_tin, rs_pib, + /// ru_inn, ru_kpp, sa_vat, sg_gst, sg_uen, + /// si_tin, sn_ninea, sr_fin, sv_nit, th_vat, + /// tj_tin, tr_tin, tw_vat, tz_vat, ua_vat, + /// ug_tin, us_ein, uy_ruc, uz_tin, uz_vat, + /// ve_rif, vn_tin, za_vat, zm_tin, or zw_tin. + /// One of: ad_nrt, ae_trn, al_tin, am_tin, ao_tin, /// ar_cuit, au_abn, au_arn, ba_tin, bb_tin, /// bg_uic, bh_vat, bo_tin, br_cnpj, br_cpf, /// bs_tin, by_tin, ca_bn, ca_gst_hst, ca_pst_bc, @@ -26,26 +46,6 @@ public class CustomerTaxIdDataOptions : INestedOptions /// tr_tin, tw_vat, tz_vat, ua_vat, ug_tin, /// us_ein, uy_ruc, uz_tin, uz_vat, ve_rif, /// vn_tin, za_vat, zm_tin, or zw_tin. - /// One of: ad_nrt, ae_trn, am_tin, ao_tin, ar_cuit, - /// au_abn, au_arn, ba_tin, bb_tin, bg_uic, - /// bh_vat, bo_tin, br_cnpj, br_cpf, bs_tin, - /// by_tin, ca_bn, ca_gst_hst, ca_pst_bc, ca_pst_mb, - /// ca_pst_sk, ca_qst, cd_nif, ch_uid, ch_vat, - /// cl_tin, cn_tin, co_nit, cr_tin, de_stn, - /// do_rcn, ec_ruc, eg_tin, es_cif, eu_oss_vat, - /// eu_vat, gb_vat, ge_vat, gn_nif, hk_br, hr_oib, - /// hu_tin, id_npwp, il_vat, in_gst, is_vat, - /// jp_cn, jp_rn, jp_trn, ke_pin, kh_tin, kr_brn, - /// kz_bin, li_uid, li_vat, ma_vat, md_vat, - /// me_pib, mk_vat, mr_nif, mx_rfc, my_frp, - /// my_itn, my_sst, ng_tin, no_vat, no_voec, - /// np_pan, nz_gst, om_vat, pe_ruc, ph_tin, - /// ro_tin, rs_pib, ru_inn, ru_kpp, sa_vat, - /// sg_gst, sg_uen, si_tin, sn_ninea, sr_fin, - /// sv_nit, th_vat, tj_tin, tr_tin, tw_vat, - /// tz_vat, ua_vat, ug_tin, us_ein, uy_ruc, - /// uz_tin, uz_vat, ve_rif, vn_tin, za_vat, - /// zm_tin, or zw_tin. /// [JsonProperty("type")] public string Type { get; set; } diff --git a/src/Stripe.net/Services/Disputes/DisputeEvidenceEnhancedEvidenceOptions.cs b/src/Stripe.net/Services/Disputes/DisputeEvidenceEnhancedEvidenceOptions.cs index 62b1a16bbf..58e909e30a 100644 --- a/src/Stripe.net/Services/Disputes/DisputeEvidenceEnhancedEvidenceOptions.cs +++ b/src/Stripe.net/Services/Disputes/DisputeEvidenceEnhancedEvidenceOptions.cs @@ -10,5 +10,11 @@ public class DisputeEvidenceEnhancedEvidenceOptions : INestedOptions /// [JsonProperty("visa_compelling_evidence_3")] public DisputeEvidenceEnhancedEvidenceVisaCompellingEvidence3Options VisaCompellingEvidence3 { get; set; } + + /// + /// Evidence provided for Visa compliance evidence submission. + /// + [JsonProperty("visa_compliance")] + public DisputeEvidenceEnhancedEvidenceVisaComplianceOptions VisaCompliance { get; set; } } } diff --git a/src/Stripe.net/Services/Disputes/DisputeEvidenceEnhancedEvidenceVisaComplianceOptions.cs b/src/Stripe.net/Services/Disputes/DisputeEvidenceEnhancedEvidenceVisaComplianceOptions.cs new file mode 100644 index 0000000000..017f950722 --- /dev/null +++ b/src/Stripe.net/Services/Disputes/DisputeEvidenceEnhancedEvidenceVisaComplianceOptions.cs @@ -0,0 +1,18 @@ +// File generated from our OpenAPI spec +namespace Stripe +{ + using Newtonsoft.Json; + + public class DisputeEvidenceEnhancedEvidenceVisaComplianceOptions : INestedOptions + { + /// + /// A field acknowledging the fee incurred when countering a Visa compliance dispute. If + /// this field is set to true, evidence can be submitted for the compliance dispute. Stripe + /// collects a 500 USD (or local equivalent) amount to cover the network costs associated + /// with resolving compliance disputes. Stripe refunds the 500 USD network fee if you win + /// the dispute. + /// + [JsonProperty("fee_acknowledged")] + public bool? FeeAcknowledged { get; set; } + } +} diff --git a/src/Stripe.net/Services/InvoiceUpcomingLines/InvoiceUpcomingLinesCustomerDetailsTaxIdOptions.cs b/src/Stripe.net/Services/InvoiceUpcomingLines/InvoiceUpcomingLinesCustomerDetailsTaxIdOptions.cs index cd5b13a007..f22a1d4139 100644 --- a/src/Stripe.net/Services/InvoiceUpcomingLines/InvoiceUpcomingLinesCustomerDetailsTaxIdOptions.cs +++ b/src/Stripe.net/Services/InvoiceUpcomingLines/InvoiceUpcomingLinesCustomerDetailsTaxIdOptions.cs @@ -6,7 +6,27 @@ namespace Stripe public class InvoiceUpcomingLinesCustomerDetailsTaxIdOptions : INestedOptions { /// - /// Type of the tax ID, one of ad_nrt, ae_trn, am_tin, ao_tin, + /// Type of the tax ID, one of ad_nrt, ae_trn, al_tin, am_tin, + /// ao_tin, ar_cuit, au_abn, au_arn, ba_tin, + /// bb_tin, bg_uic, bh_vat, bo_tin, br_cnpj, + /// br_cpf, bs_tin, by_tin, ca_bn, ca_gst_hst, + /// ca_pst_bc, ca_pst_mb, ca_pst_sk, ca_qst, cd_nif, + /// ch_uid, ch_vat, cl_tin, cn_tin, co_nit, + /// cr_tin, de_stn, do_rcn, ec_ruc, eg_tin, + /// es_cif, eu_oss_vat, eu_vat, gb_vat, ge_vat, + /// gn_nif, hk_br, hr_oib, hu_tin, id_npwp, + /// il_vat, in_gst, is_vat, jp_cn, jp_rn, jp_trn, + /// ke_pin, kh_tin, kr_brn, kz_bin, li_uid, + /// li_vat, ma_vat, md_vat, me_pib, mk_vat, + /// mr_nif, mx_rfc, my_frp, my_itn, my_sst, + /// ng_tin, no_vat, no_voec, np_pan, nz_gst, + /// om_vat, pe_ruc, ph_tin, ro_tin, rs_pib, + /// ru_inn, ru_kpp, sa_vat, sg_gst, sg_uen, + /// si_tin, sn_ninea, sr_fin, sv_nit, th_vat, + /// tj_tin, tr_tin, tw_vat, tz_vat, ua_vat, + /// ug_tin, us_ein, uy_ruc, uz_tin, uz_vat, + /// ve_rif, vn_tin, za_vat, zm_tin, or zw_tin. + /// One of: ad_nrt, ae_trn, al_tin, am_tin, ao_tin, /// ar_cuit, au_abn, au_arn, ba_tin, bb_tin, /// bg_uic, bh_vat, bo_tin, br_cnpj, br_cpf, /// bs_tin, by_tin, ca_bn, ca_gst_hst, ca_pst_bc, @@ -26,26 +46,6 @@ public class InvoiceUpcomingLinesCustomerDetailsTaxIdOptions : INestedOptions /// tr_tin, tw_vat, tz_vat, ua_vat, ug_tin, /// us_ein, uy_ruc, uz_tin, uz_vat, ve_rif, /// vn_tin, za_vat, zm_tin, or zw_tin. - /// One of: ad_nrt, ae_trn, am_tin, ao_tin, ar_cuit, - /// au_abn, au_arn, ba_tin, bb_tin, bg_uic, - /// bh_vat, bo_tin, br_cnpj, br_cpf, bs_tin, - /// by_tin, ca_bn, ca_gst_hst, ca_pst_bc, ca_pst_mb, - /// ca_pst_sk, ca_qst, cd_nif, ch_uid, ch_vat, - /// cl_tin, cn_tin, co_nit, cr_tin, de_stn, - /// do_rcn, ec_ruc, eg_tin, es_cif, eu_oss_vat, - /// eu_vat, gb_vat, ge_vat, gn_nif, hk_br, hr_oib, - /// hu_tin, id_npwp, il_vat, in_gst, is_vat, - /// jp_cn, jp_rn, jp_trn, ke_pin, kh_tin, kr_brn, - /// kz_bin, li_uid, li_vat, ma_vat, md_vat, - /// me_pib, mk_vat, mr_nif, mx_rfc, my_frp, - /// my_itn, my_sst, ng_tin, no_vat, no_voec, - /// np_pan, nz_gst, om_vat, pe_ruc, ph_tin, - /// ro_tin, rs_pib, ru_inn, ru_kpp, sa_vat, - /// sg_gst, sg_uen, si_tin, sn_ninea, sr_fin, - /// sv_nit, th_vat, tj_tin, tr_tin, tw_vat, - /// tz_vat, ua_vat, ug_tin, us_ein, uy_ruc, - /// uz_tin, uz_vat, ve_rif, vn_tin, za_vat, - /// zm_tin, or zw_tin. /// [JsonProperty("type")] public string Type { get; set; } diff --git a/src/Stripe.net/Services/Invoices/InvoiceCustomerDetailsTaxIdOptions.cs b/src/Stripe.net/Services/Invoices/InvoiceCustomerDetailsTaxIdOptions.cs index 5913d0870f..9112960bb7 100644 --- a/src/Stripe.net/Services/Invoices/InvoiceCustomerDetailsTaxIdOptions.cs +++ b/src/Stripe.net/Services/Invoices/InvoiceCustomerDetailsTaxIdOptions.cs @@ -6,7 +6,27 @@ namespace Stripe public class InvoiceCustomerDetailsTaxIdOptions : INestedOptions { /// - /// Type of the tax ID, one of ad_nrt, ae_trn, am_tin, ao_tin, + /// Type of the tax ID, one of ad_nrt, ae_trn, al_tin, am_tin, + /// ao_tin, ar_cuit, au_abn, au_arn, ba_tin, + /// bb_tin, bg_uic, bh_vat, bo_tin, br_cnpj, + /// br_cpf, bs_tin, by_tin, ca_bn, ca_gst_hst, + /// ca_pst_bc, ca_pst_mb, ca_pst_sk, ca_qst, cd_nif, + /// ch_uid, ch_vat, cl_tin, cn_tin, co_nit, + /// cr_tin, de_stn, do_rcn, ec_ruc, eg_tin, + /// es_cif, eu_oss_vat, eu_vat, gb_vat, ge_vat, + /// gn_nif, hk_br, hr_oib, hu_tin, id_npwp, + /// il_vat, in_gst, is_vat, jp_cn, jp_rn, jp_trn, + /// ke_pin, kh_tin, kr_brn, kz_bin, li_uid, + /// li_vat, ma_vat, md_vat, me_pib, mk_vat, + /// mr_nif, mx_rfc, my_frp, my_itn, my_sst, + /// ng_tin, no_vat, no_voec, np_pan, nz_gst, + /// om_vat, pe_ruc, ph_tin, ro_tin, rs_pib, + /// ru_inn, ru_kpp, sa_vat, sg_gst, sg_uen, + /// si_tin, sn_ninea, sr_fin, sv_nit, th_vat, + /// tj_tin, tr_tin, tw_vat, tz_vat, ua_vat, + /// ug_tin, us_ein, uy_ruc, uz_tin, uz_vat, + /// ve_rif, vn_tin, za_vat, zm_tin, or zw_tin. + /// One of: ad_nrt, ae_trn, al_tin, am_tin, ao_tin, /// ar_cuit, au_abn, au_arn, ba_tin, bb_tin, /// bg_uic, bh_vat, bo_tin, br_cnpj, br_cpf, /// bs_tin, by_tin, ca_bn, ca_gst_hst, ca_pst_bc, @@ -26,26 +46,6 @@ public class InvoiceCustomerDetailsTaxIdOptions : INestedOptions /// tr_tin, tw_vat, tz_vat, ua_vat, ug_tin, /// us_ein, uy_ruc, uz_tin, uz_vat, ve_rif, /// vn_tin, za_vat, zm_tin, or zw_tin. - /// One of: ad_nrt, ae_trn, am_tin, ao_tin, ar_cuit, - /// au_abn, au_arn, ba_tin, bb_tin, bg_uic, - /// bh_vat, bo_tin, br_cnpj, br_cpf, bs_tin, - /// by_tin, ca_bn, ca_gst_hst, ca_pst_bc, ca_pst_mb, - /// ca_pst_sk, ca_qst, cd_nif, ch_uid, ch_vat, - /// cl_tin, cn_tin, co_nit, cr_tin, de_stn, - /// do_rcn, ec_ruc, eg_tin, es_cif, eu_oss_vat, - /// eu_vat, gb_vat, ge_vat, gn_nif, hk_br, hr_oib, - /// hu_tin, id_npwp, il_vat, in_gst, is_vat, - /// jp_cn, jp_rn, jp_trn, ke_pin, kh_tin, kr_brn, - /// kz_bin, li_uid, li_vat, ma_vat, md_vat, - /// me_pib, mk_vat, mr_nif, mx_rfc, my_frp, - /// my_itn, my_sst, ng_tin, no_vat, no_voec, - /// np_pan, nz_gst, om_vat, pe_ruc, ph_tin, - /// ro_tin, rs_pib, ru_inn, ru_kpp, sa_vat, - /// sg_gst, sg_uen, si_tin, sn_ninea, sr_fin, - /// sv_nit, th_vat, tj_tin, tr_tin, tw_vat, - /// tz_vat, ua_vat, ug_tin, us_ein, uy_ruc, - /// uz_tin, uz_vat, ve_rif, vn_tin, za_vat, - /// zm_tin, or zw_tin. /// [JsonProperty("type")] public string Type { get; set; } diff --git a/src/Stripe.net/Services/Tax/Calculations/CalculationCustomerDetailsTaxIdOptions.cs b/src/Stripe.net/Services/Tax/Calculations/CalculationCustomerDetailsTaxIdOptions.cs index 0078ebe422..345a637c99 100644 --- a/src/Stripe.net/Services/Tax/Calculations/CalculationCustomerDetailsTaxIdOptions.cs +++ b/src/Stripe.net/Services/Tax/Calculations/CalculationCustomerDetailsTaxIdOptions.cs @@ -6,7 +6,27 @@ namespace Stripe.Tax public class CalculationCustomerDetailsTaxIdOptions : INestedOptions { /// - /// Type of the tax ID, one of ad_nrt, ae_trn, am_tin, ao_tin, + /// Type of the tax ID, one of ad_nrt, ae_trn, al_tin, am_tin, + /// ao_tin, ar_cuit, au_abn, au_arn, ba_tin, + /// bb_tin, bg_uic, bh_vat, bo_tin, br_cnpj, + /// br_cpf, bs_tin, by_tin, ca_bn, ca_gst_hst, + /// ca_pst_bc, ca_pst_mb, ca_pst_sk, ca_qst, cd_nif, + /// ch_uid, ch_vat, cl_tin, cn_tin, co_nit, + /// cr_tin, de_stn, do_rcn, ec_ruc, eg_tin, + /// es_cif, eu_oss_vat, eu_vat, gb_vat, ge_vat, + /// gn_nif, hk_br, hr_oib, hu_tin, id_npwp, + /// il_vat, in_gst, is_vat, jp_cn, jp_rn, jp_trn, + /// ke_pin, kh_tin, kr_brn, kz_bin, li_uid, + /// li_vat, ma_vat, md_vat, me_pib, mk_vat, + /// mr_nif, mx_rfc, my_frp, my_itn, my_sst, + /// ng_tin, no_vat, no_voec, np_pan, nz_gst, + /// om_vat, pe_ruc, ph_tin, ro_tin, rs_pib, + /// ru_inn, ru_kpp, sa_vat, sg_gst, sg_uen, + /// si_tin, sn_ninea, sr_fin, sv_nit, th_vat, + /// tj_tin, tr_tin, tw_vat, tz_vat, ua_vat, + /// ug_tin, us_ein, uy_ruc, uz_tin, uz_vat, + /// ve_rif, vn_tin, za_vat, zm_tin, or zw_tin. + /// One of: ad_nrt, ae_trn, al_tin, am_tin, ao_tin, /// ar_cuit, au_abn, au_arn, ba_tin, bb_tin, /// bg_uic, bh_vat, bo_tin, br_cnpj, br_cpf, /// bs_tin, by_tin, ca_bn, ca_gst_hst, ca_pst_bc, @@ -26,26 +46,6 @@ public class CalculationCustomerDetailsTaxIdOptions : INestedOptions /// tr_tin, tw_vat, tz_vat, ua_vat, ug_tin, /// us_ein, uy_ruc, uz_tin, uz_vat, ve_rif, /// vn_tin, za_vat, zm_tin, or zw_tin. - /// One of: ad_nrt, ae_trn, am_tin, ao_tin, ar_cuit, - /// au_abn, au_arn, ba_tin, bb_tin, bg_uic, - /// bh_vat, bo_tin, br_cnpj, br_cpf, bs_tin, - /// by_tin, ca_bn, ca_gst_hst, ca_pst_bc, ca_pst_mb, - /// ca_pst_sk, ca_qst, cd_nif, ch_uid, ch_vat, - /// cl_tin, cn_tin, co_nit, cr_tin, de_stn, - /// do_rcn, ec_ruc, eg_tin, es_cif, eu_oss_vat, - /// eu_vat, gb_vat, ge_vat, gn_nif, hk_br, hr_oib, - /// hu_tin, id_npwp, il_vat, in_gst, is_vat, - /// jp_cn, jp_rn, jp_trn, ke_pin, kh_tin, kr_brn, - /// kz_bin, li_uid, li_vat, ma_vat, md_vat, - /// me_pib, mk_vat, mr_nif, mx_rfc, my_frp, - /// my_itn, my_sst, ng_tin, no_vat, no_voec, - /// np_pan, nz_gst, om_vat, pe_ruc, ph_tin, - /// ro_tin, rs_pib, ru_inn, ru_kpp, sa_vat, - /// sg_gst, sg_uen, si_tin, sn_ninea, sr_fin, - /// sv_nit, th_vat, tj_tin, tr_tin, tw_vat, - /// tz_vat, ua_vat, ug_tin, us_ein, uy_ruc, - /// uz_tin, uz_vat, ve_rif, vn_tin, za_vat, - /// zm_tin, or zw_tin. /// [JsonProperty("type")] public string Type { get; set; } diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsAlOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsAlOptions.cs new file mode 100644 index 0000000000..feb5d37e4f --- /dev/null +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsAlOptions.cs @@ -0,0 +1,14 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; + + public class RegistrationCountryOptionsAlOptions : INestedOptions + { + /// + /// Type of registration to be created in country. + /// + [JsonProperty("type")] + public string Type { get; set; } + } +} diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsAmOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsAmOptions.cs new file mode 100644 index 0000000000..15a3385930 --- /dev/null +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsAmOptions.cs @@ -0,0 +1,14 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; + + public class RegistrationCountryOptionsAmOptions : INestedOptions + { + /// + /// Type of registration to be created in country. + /// + [JsonProperty("type")] + public string Type { get; set; } + } +} diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsAoOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsAoOptions.cs new file mode 100644 index 0000000000..329bfd8085 --- /dev/null +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsAoOptions.cs @@ -0,0 +1,14 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; + + public class RegistrationCountryOptionsAoOptions : INestedOptions + { + /// + /// Type of registration to be created in country. + /// + [JsonProperty("type")] + public string Type { get; set; } + } +} diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBaOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBaOptions.cs new file mode 100644 index 0000000000..383824d934 --- /dev/null +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBaOptions.cs @@ -0,0 +1,14 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; + + public class RegistrationCountryOptionsBaOptions : INestedOptions + { + /// + /// Type of registration to be created in country. + /// + [JsonProperty("type")] + public string Type { get; set; } + } +} diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBbOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBbOptions.cs new file mode 100644 index 0000000000..4e3c33cddc --- /dev/null +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBbOptions.cs @@ -0,0 +1,14 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; + + public class RegistrationCountryOptionsBbOptions : INestedOptions + { + /// + /// Type of registration to be created in country. + /// + [JsonProperty("type")] + public string Type { get; set; } + } +} diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBsOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBsOptions.cs new file mode 100644 index 0000000000..b476fd8967 --- /dev/null +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsBsOptions.cs @@ -0,0 +1,14 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; + + public class RegistrationCountryOptionsBsOptions : INestedOptions + { + /// + /// Type of registration to be created in country. + /// + [JsonProperty("type")] + public string Type { get; set; } + } +} diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsCdOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsCdOptions.cs new file mode 100644 index 0000000000..5701b1c6e8 --- /dev/null +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsCdOptions.cs @@ -0,0 +1,14 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; + + public class RegistrationCountryOptionsCdOptions : INestedOptions + { + /// + /// Type of registration to be created in country. + /// + [JsonProperty("type")] + public string Type { get; set; } + } +} diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsGnOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsGnOptions.cs new file mode 100644 index 0000000000..5951fd7dab --- /dev/null +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsGnOptions.cs @@ -0,0 +1,14 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; + + public class RegistrationCountryOptionsGnOptions : INestedOptions + { + /// + /// Type of registration to be created in country. + /// + [JsonProperty("type")] + public string Type { get; set; } + } +} diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsKhOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsKhOptions.cs new file mode 100644 index 0000000000..02d9b5901d --- /dev/null +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsKhOptions.cs @@ -0,0 +1,14 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; + + public class RegistrationCountryOptionsKhOptions : INestedOptions + { + /// + /// Type of registration to be created in country. + /// + [JsonProperty("type")] + public string Type { get; set; } + } +} diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsMeOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsMeOptions.cs new file mode 100644 index 0000000000..04c3728be3 --- /dev/null +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsMeOptions.cs @@ -0,0 +1,14 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; + + public class RegistrationCountryOptionsMeOptions : INestedOptions + { + /// + /// Type of registration to be created in country. + /// + [JsonProperty("type")] + public string Type { get; set; } + } +} diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsMkOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsMkOptions.cs new file mode 100644 index 0000000000..770173b081 --- /dev/null +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsMkOptions.cs @@ -0,0 +1,14 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; + + public class RegistrationCountryOptionsMkOptions : INestedOptions + { + /// + /// Type of registration to be created in country. + /// + [JsonProperty("type")] + public string Type { get; set; } + } +} diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsMrOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsMrOptions.cs new file mode 100644 index 0000000000..891ca40792 --- /dev/null +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsMrOptions.cs @@ -0,0 +1,14 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; + + public class RegistrationCountryOptionsMrOptions : INestedOptions + { + /// + /// Type of registration to be created in country. + /// + [JsonProperty("type")] + public string Type { get; set; } + } +} diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsNpOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsNpOptions.cs new file mode 100644 index 0000000000..49c6055122 --- /dev/null +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsNpOptions.cs @@ -0,0 +1,14 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; + + public class RegistrationCountryOptionsNpOptions : INestedOptions + { + /// + /// Type of registration to be created in country. + /// + [JsonProperty("type")] + public string Type { get; set; } + } +} diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsOptions.cs index 12d6ff40b5..0750f559b0 100644 --- a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsOptions.cs +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsOptions.cs @@ -11,6 +11,24 @@ public class RegistrationCountryOptionsOptions : INestedOptions [JsonProperty("ae")] public RegistrationCountryOptionsAeOptions Ae { get; set; } + /// + /// Options for the registration in AL. + /// + [JsonProperty("al")] + public RegistrationCountryOptionsAlOptions Al { get; set; } + + /// + /// Options for the registration in AM. + /// + [JsonProperty("am")] + public RegistrationCountryOptionsAmOptions Am { get; set; } + + /// + /// Options for the registration in AO. + /// + [JsonProperty("ao")] + public RegistrationCountryOptionsAoOptions Ao { get; set; } + /// /// Options for the registration in AT. /// @@ -23,6 +41,18 @@ public class RegistrationCountryOptionsOptions : INestedOptions [JsonProperty("au")] public RegistrationCountryOptionsAuOptions Au { get; set; } + /// + /// Options for the registration in BA. + /// + [JsonProperty("ba")] + public RegistrationCountryOptionsBaOptions Ba { get; set; } + + /// + /// Options for the registration in BB. + /// + [JsonProperty("bb")] + public RegistrationCountryOptionsBbOptions Bb { get; set; } + /// /// Options for the registration in BE. /// @@ -41,6 +71,12 @@ public class RegistrationCountryOptionsOptions : INestedOptions [JsonProperty("bh")] public RegistrationCountryOptionsBhOptions Bh { get; set; } + /// + /// Options for the registration in BS. + /// + [JsonProperty("bs")] + public RegistrationCountryOptionsBsOptions Bs { get; set; } + /// /// Options for the registration in BY. /// @@ -53,6 +89,12 @@ public class RegistrationCountryOptionsOptions : INestedOptions [JsonProperty("ca")] public RegistrationCountryOptionsCaOptions Ca { get; set; } + /// + /// Options for the registration in CD. + /// + [JsonProperty("cd")] + public RegistrationCountryOptionsCdOptions Cd { get; set; } + /// /// Options for the registration in CH. /// @@ -149,6 +191,12 @@ public class RegistrationCountryOptionsOptions : INestedOptions [JsonProperty("ge")] public RegistrationCountryOptionsGeOptions Ge { get; set; } + /// + /// Options for the registration in GN. + /// + [JsonProperty("gn")] + public RegistrationCountryOptionsGnOptions Gn { get; set; } + /// /// Options for the registration in GR. /// @@ -203,6 +251,12 @@ public class RegistrationCountryOptionsOptions : INestedOptions [JsonProperty("ke")] public RegistrationCountryOptionsKeOptions Ke { get; set; } + /// + /// Options for the registration in KH. + /// + [JsonProperty("kh")] + public RegistrationCountryOptionsKhOptions Kh { get; set; } + /// /// Options for the registration in KR. /// @@ -245,6 +299,24 @@ public class RegistrationCountryOptionsOptions : INestedOptions [JsonProperty("md")] public RegistrationCountryOptionsMdOptions Md { get; set; } + /// + /// Options for the registration in ME. + /// + [JsonProperty("me")] + public RegistrationCountryOptionsMeOptions Me { get; set; } + + /// + /// Options for the registration in MK. + /// + [JsonProperty("mk")] + public RegistrationCountryOptionsMkOptions Mk { get; set; } + + /// + /// Options for the registration in MR. + /// + [JsonProperty("mr")] + public RegistrationCountryOptionsMrOptions Mr { get; set; } + /// /// Options for the registration in MT. /// @@ -281,6 +353,12 @@ public class RegistrationCountryOptionsOptions : INestedOptions [JsonProperty("no")] public RegistrationCountryOptionsNoOptions No { get; set; } + /// + /// Options for the registration in NP. + /// + [JsonProperty("np")] + public RegistrationCountryOptionsNpOptions Np { get; set; } + /// /// Options for the registration in NZ. /// @@ -293,6 +371,12 @@ public class RegistrationCountryOptionsOptions : INestedOptions [JsonProperty("om")] public RegistrationCountryOptionsOmOptions Om { get; set; } + /// + /// Options for the registration in PE. + /// + [JsonProperty("pe")] + public RegistrationCountryOptionsPeOptions Pe { get; set; } + /// /// Options for the registration in PL. /// @@ -353,12 +437,30 @@ public class RegistrationCountryOptionsOptions : INestedOptions [JsonProperty("sk")] public RegistrationCountryOptionsSkOptions Sk { get; set; } + /// + /// Options for the registration in SN. + /// + [JsonProperty("sn")] + public RegistrationCountryOptionsSnOptions Sn { get; set; } + + /// + /// Options for the registration in SR. + /// + [JsonProperty("sr")] + public RegistrationCountryOptionsSrOptions Sr { get; set; } + /// /// Options for the registration in TH. /// [JsonProperty("th")] public RegistrationCountryOptionsThOptions Th { get; set; } + /// + /// Options for the registration in TJ. + /// + [JsonProperty("tj")] + public RegistrationCountryOptionsTjOptions Tj { get; set; } + /// /// Options for the registration in TR. /// @@ -371,12 +473,24 @@ public class RegistrationCountryOptionsOptions : INestedOptions [JsonProperty("tz")] public RegistrationCountryOptionsTzOptions Tz { get; set; } + /// + /// Options for the registration in UG. + /// + [JsonProperty("ug")] + public RegistrationCountryOptionsUgOptions Ug { get; set; } + /// /// Options for the registration in US. /// [JsonProperty("us")] public RegistrationCountryOptionsUsOptions Us { get; set; } + /// + /// Options for the registration in UY. + /// + [JsonProperty("uy")] + public RegistrationCountryOptionsUyOptions Uy { get; set; } + /// /// Options for the registration in UZ. /// @@ -394,5 +508,17 @@ public class RegistrationCountryOptionsOptions : INestedOptions /// [JsonProperty("za")] public RegistrationCountryOptionsZaOptions Za { get; set; } + + /// + /// Options for the registration in ZM. + /// + [JsonProperty("zm")] + public RegistrationCountryOptionsZmOptions Zm { get; set; } + + /// + /// Options for the registration in ZW. + /// + [JsonProperty("zw")] + public RegistrationCountryOptionsZwOptions Zw { get; set; } } } diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsPeOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsPeOptions.cs new file mode 100644 index 0000000000..1527e097ba --- /dev/null +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsPeOptions.cs @@ -0,0 +1,14 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; + + public class RegistrationCountryOptionsPeOptions : INestedOptions + { + /// + /// Type of registration to be created in country. + /// + [JsonProperty("type")] + public string Type { get; set; } + } +} diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsSnOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsSnOptions.cs new file mode 100644 index 0000000000..e2d8c73a89 --- /dev/null +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsSnOptions.cs @@ -0,0 +1,14 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; + + public class RegistrationCountryOptionsSnOptions : INestedOptions + { + /// + /// Type of registration to be created in country. + /// + [JsonProperty("type")] + public string Type { get; set; } + } +} diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsSrOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsSrOptions.cs new file mode 100644 index 0000000000..dcb64e4540 --- /dev/null +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsSrOptions.cs @@ -0,0 +1,14 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; + + public class RegistrationCountryOptionsSrOptions : INestedOptions + { + /// + /// Type of registration to be created in country. + /// + [JsonProperty("type")] + public string Type { get; set; } + } +} diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsTjOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsTjOptions.cs new file mode 100644 index 0000000000..5bcef43ca2 --- /dev/null +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsTjOptions.cs @@ -0,0 +1,14 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; + + public class RegistrationCountryOptionsTjOptions : INestedOptions + { + /// + /// Type of registration to be created in country. + /// + [JsonProperty("type")] + public string Type { get; set; } + } +} diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsUgOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsUgOptions.cs new file mode 100644 index 0000000000..2e863325e6 --- /dev/null +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsUgOptions.cs @@ -0,0 +1,14 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; + + public class RegistrationCountryOptionsUgOptions : INestedOptions + { + /// + /// Type of registration to be created in country. + /// + [JsonProperty("type")] + public string Type { get; set; } + } +} diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsUyOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsUyOptions.cs new file mode 100644 index 0000000000..89ca2805b5 --- /dev/null +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsUyOptions.cs @@ -0,0 +1,14 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; + + public class RegistrationCountryOptionsUyOptions : INestedOptions + { + /// + /// Type of registration to be created in country. + /// + [JsonProperty("type")] + public string Type { get; set; } + } +} diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsZmOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsZmOptions.cs new file mode 100644 index 0000000000..0233cad1bf --- /dev/null +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsZmOptions.cs @@ -0,0 +1,14 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; + + public class RegistrationCountryOptionsZmOptions : INestedOptions + { + /// + /// Type of registration to be created in country. + /// + [JsonProperty("type")] + public string Type { get; set; } + } +} diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsZwOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsZwOptions.cs new file mode 100644 index 0000000000..6ec2c32048 --- /dev/null +++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsZwOptions.cs @@ -0,0 +1,14 @@ +// File generated from our OpenAPI spec +namespace Stripe.Tax +{ + using Newtonsoft.Json; + + public class RegistrationCountryOptionsZwOptions : INestedOptions + { + /// + /// Type of registration to be created in country. + /// + [JsonProperty("type")] + public string Type { get; set; } + } +} diff --git a/src/Stripe.net/Services/TaxIds/TaxIdCreateOptions.cs b/src/Stripe.net/Services/TaxIds/TaxIdCreateOptions.cs index 6b44e860ec..8acf96c87a 100644 --- a/src/Stripe.net/Services/TaxIds/TaxIdCreateOptions.cs +++ b/src/Stripe.net/Services/TaxIds/TaxIdCreateOptions.cs @@ -12,7 +12,27 @@ public class TaxIdCreateOptions : BaseOptions public TaxIdOwnerOptions Owner { get; set; } /// - /// Type of the tax ID, one of ad_nrt, ae_trn, am_tin, ao_tin, + /// Type of the tax ID, one of ad_nrt, ae_trn, al_tin, am_tin, + /// ao_tin, ar_cuit, au_abn, au_arn, ba_tin, + /// bb_tin, bg_uic, bh_vat, bo_tin, br_cnpj, + /// br_cpf, bs_tin, by_tin, ca_bn, ca_gst_hst, + /// ca_pst_bc, ca_pst_mb, ca_pst_sk, ca_qst, cd_nif, + /// ch_uid, ch_vat, cl_tin, cn_tin, co_nit, + /// cr_tin, de_stn, do_rcn, ec_ruc, eg_tin, + /// es_cif, eu_oss_vat, eu_vat, gb_vat, ge_vat, + /// gn_nif, hk_br, hr_oib, hu_tin, id_npwp, + /// il_vat, in_gst, is_vat, jp_cn, jp_rn, jp_trn, + /// ke_pin, kh_tin, kr_brn, kz_bin, li_uid, + /// li_vat, ma_vat, md_vat, me_pib, mk_vat, + /// mr_nif, mx_rfc, my_frp, my_itn, my_sst, + /// ng_tin, no_vat, no_voec, np_pan, nz_gst, + /// om_vat, pe_ruc, ph_tin, ro_tin, rs_pib, + /// ru_inn, ru_kpp, sa_vat, sg_gst, sg_uen, + /// si_tin, sn_ninea, sr_fin, sv_nit, th_vat, + /// tj_tin, tr_tin, tw_vat, tz_vat, ua_vat, + /// ug_tin, us_ein, uy_ruc, uz_tin, uz_vat, + /// ve_rif, vn_tin, za_vat, zm_tin, or zw_tin. + /// One of: ad_nrt, ae_trn, al_tin, am_tin, ao_tin, /// ar_cuit, au_abn, au_arn, ba_tin, bb_tin, /// bg_uic, bh_vat, bo_tin, br_cnpj, br_cpf, /// bs_tin, by_tin, ca_bn, ca_gst_hst, ca_pst_bc, @@ -32,26 +52,6 @@ public class TaxIdCreateOptions : BaseOptions /// tr_tin, tw_vat, tz_vat, ua_vat, ug_tin, /// us_ein, uy_ruc, uz_tin, uz_vat, ve_rif, /// vn_tin, za_vat, zm_tin, or zw_tin. - /// One of: ad_nrt, ae_trn, am_tin, ao_tin, ar_cuit, - /// au_abn, au_arn, ba_tin, bb_tin, bg_uic, - /// bh_vat, bo_tin, br_cnpj, br_cpf, bs_tin, - /// by_tin, ca_bn, ca_gst_hst, ca_pst_bc, ca_pst_mb, - /// ca_pst_sk, ca_qst, cd_nif, ch_uid, ch_vat, - /// cl_tin, cn_tin, co_nit, cr_tin, de_stn, - /// do_rcn, ec_ruc, eg_tin, es_cif, eu_oss_vat, - /// eu_vat, gb_vat, ge_vat, gn_nif, hk_br, hr_oib, - /// hu_tin, id_npwp, il_vat, in_gst, is_vat, - /// jp_cn, jp_rn, jp_trn, ke_pin, kh_tin, kr_brn, - /// kz_bin, li_uid, li_vat, ma_vat, md_vat, - /// me_pib, mk_vat, mr_nif, mx_rfc, my_frp, - /// my_itn, my_sst, ng_tin, no_vat, no_voec, - /// np_pan, nz_gst, om_vat, pe_ruc, ph_tin, - /// ro_tin, rs_pib, ru_inn, ru_kpp, sa_vat, - /// sg_gst, sg_uen, si_tin, sn_ninea, sr_fin, - /// sv_nit, th_vat, tj_tin, tr_tin, tw_vat, - /// tz_vat, ua_vat, ug_tin, us_ein, uy_ruc, - /// uz_tin, uz_vat, ve_rif, vn_tin, za_vat, - /// zm_tin, or zw_tin. /// [JsonProperty("type")] public string Type { get; set; } diff --git a/src/Stripe.net/Services/WebhookEndpoints/WebhookEndpointCreateOptions.cs b/src/Stripe.net/Services/WebhookEndpoints/WebhookEndpointCreateOptions.cs index 8be80d5990..2c541c5dee 100644 --- a/src/Stripe.net/Services/WebhookEndpoints/WebhookEndpointCreateOptions.cs +++ b/src/Stripe.net/Services/WebhookEndpoints/WebhookEndpointCreateOptions.cs @@ -35,7 +35,7 @@ public class WebhookEndpointCreateOptions : BaseOptions, IHasMetadata /// 2019-11-05, 2019-12-03, 2020-03-02, 2020-08-27, /// 2022-08-01, 2022-11-15, 2023-08-16, 2023-10-16, /// 2024-04-10, 2024-06-20, 2024-09-30.acacia, - /// 2024-10-28.acacia, or 2024-11-20.acacia. + /// 2024-10-28.acacia, 2024-11-20.acacia, or 2024-12-18.acacia. /// [JsonProperty("api_version")] public string ApiVersion { get; set; }