From b7791716c2bc5e19398cb61bc8077f9ca9582960 Mon Sep 17 00:00:00 2001 From: Richard Marmorstein Date: Thu, 17 Jun 2021 23:07:03 -0400 Subject: [PATCH] Codegen for openapi 2550077 --- .../Sessions/SessionCustomerDetailsTaxId.cs | 18 ++++++++++-------- .../Entities/Invoices/InvoiceCustomerTaxId.cs | 18 ++++++++++-------- src/Stripe.net/Entities/TaxIds/TaxId.cs | 16 +++++++++------- .../Customers/CustomerTaxIdDataOptions.cs | 15 ++++++++------- .../InvoiceCustomerDetailsTaxIdOptions.cs | 15 ++++++++------- ...voiceLineItemCustomerDetailsTaxIdOptions.cs | 15 ++++++++------- .../Services/TaxIds/TaxIdCreateOptions.cs | 15 ++++++++------- 7 files changed, 61 insertions(+), 51 deletions(-) diff --git a/src/Stripe.net/Entities/Checkout/Sessions/SessionCustomerDetailsTaxId.cs b/src/Stripe.net/Entities/Checkout/Sessions/SessionCustomerDetailsTaxId.cs index fdd4bf9528..202e6a24a7 100644 --- a/src/Stripe.net/Entities/Checkout/Sessions/SessionCustomerDetailsTaxId.cs +++ b/src/Stripe.net/Entities/Checkout/Sessions/SessionCustomerDetailsTaxId.cs @@ -11,15 +11,17 @@ public class SessionCustomerDetailsTaxId : StripeEntityza_vat, ch_vat, mx_rfc, sg_uen, ru_inn, /// ru_kpp, ca_bn, hk_br, es_cif, tw_vat, th_vat, /// jp_cn, jp_rn, li_uid, my_itn, us_ein, kr_brn, - /// ca_qst, my_sst, sg_gst, ae_trn, cl_tin, - /// sa_vat, id_npwp, my_frp, or unknown. + /// ca_qst, ca_gst_hst, ca_pst_bc, ca_pst_mb, ca_pst_sk, + /// my_sst, sg_gst, ae_trn, cl_tin, sa_vat, + /// id_npwp, my_frp, or unknown. /// One of: ae_trn, au_abn, br_cnpj, br_cpf, ca_bn, - /// ca_qst, ch_vat, cl_tin, es_cif, eu_vat, - /// gb_vat, hk_br, id_npwp, in_gst, jp_cn, jp_rn, - /// kr_brn, li_uid, mx_rfc, my_frp, my_itn, - /// my_sst, no_vat, nz_gst, ru_inn, ru_kpp, - /// sa_vat, sg_gst, sg_uen, th_vat, tw_vat, - /// unknown, us_ein, or za_vat. + /// ca_gst_hst, ca_pst_bc, ca_pst_mb, ca_pst_sk, ca_qst, + /// ch_vat, cl_tin, es_cif, eu_vat, gb_vat, hk_br, + /// id_npwp, in_gst, jp_cn, jp_rn, kr_brn, li_uid, + /// mx_rfc, my_frp, my_itn, my_sst, no_vat, + /// nz_gst, ru_inn, ru_kpp, sa_vat, sg_gst, + /// sg_uen, th_vat, tw_vat, unknown, us_ein, or + /// za_vat. /// [JsonProperty("type")] public string Type { get; set; } diff --git a/src/Stripe.net/Entities/Invoices/InvoiceCustomerTaxId.cs b/src/Stripe.net/Entities/Invoices/InvoiceCustomerTaxId.cs index c6b57ba6d0..03e779bc84 100644 --- a/src/Stripe.net/Entities/Invoices/InvoiceCustomerTaxId.cs +++ b/src/Stripe.net/Entities/Invoices/InvoiceCustomerTaxId.cs @@ -11,15 +11,17 @@ public class InvoiceCustomerTaxId : StripeEntity /// za_vat, ch_vat, mx_rfc, sg_uen, ru_inn, /// ru_kpp, ca_bn, hk_br, es_cif, tw_vat, th_vat, /// jp_cn, jp_rn, li_uid, my_itn, us_ein, kr_brn, - /// ca_qst, my_sst, sg_gst, ae_trn, cl_tin, - /// sa_vat, id_npwp, my_frp, or unknown. + /// ca_qst, ca_gst_hst, ca_pst_bc, ca_pst_mb, ca_pst_sk, + /// my_sst, sg_gst, ae_trn, cl_tin, sa_vat, + /// id_npwp, my_frp, or unknown. /// One of: ae_trn, au_abn, br_cnpj, br_cpf, ca_bn, - /// ca_qst, ch_vat, cl_tin, es_cif, eu_vat, - /// gb_vat, hk_br, id_npwp, in_gst, jp_cn, jp_rn, - /// kr_brn, li_uid, mx_rfc, my_frp, my_itn, - /// my_sst, no_vat, nz_gst, ru_inn, ru_kpp, - /// sa_vat, sg_gst, sg_uen, th_vat, tw_vat, - /// unknown, us_ein, or za_vat. + /// ca_gst_hst, ca_pst_bc, ca_pst_mb, ca_pst_sk, ca_qst, + /// ch_vat, cl_tin, es_cif, eu_vat, gb_vat, hk_br, + /// id_npwp, in_gst, jp_cn, jp_rn, kr_brn, li_uid, + /// mx_rfc, my_frp, my_itn, my_sst, no_vat, + /// nz_gst, ru_inn, ru_kpp, sa_vat, sg_gst, + /// sg_uen, th_vat, tw_vat, unknown, us_ein, or + /// za_vat. /// [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 d0f952a6dd..3424c384c5 100644 --- a/src/Stripe.net/Entities/TaxIds/TaxId.cs +++ b/src/Stripe.net/Entities/TaxIds/TaxId.cs @@ -78,19 +78,21 @@ public Customer Customer /// /// Type of the tax ID, one of ae_trn, au_abn, br_cnpj, br_cpf, - /// ca_bn, ca_qst, ch_vat, cl_tin, es_cif, eu_vat, + /// ca_bn, ca_gst_hst, ca_pst_bc, ca_pst_mb, ca_pst_sk, + /// ca_qst, ch_vat, cl_tin, es_cif, eu_vat, /// gb_vat, hk_br, id_npwp, in_gst, jp_cn, jp_rn, /// kr_brn, li_uid, mx_rfc, my_frp, my_itn, /// my_sst, no_vat, nz_gst, ru_inn, ru_kpp, /// sa_vat, sg_gst, sg_uen, th_vat, tw_vat, /// us_ein, or za_vat. Note that some legacy tax IDs have type unknown. /// One of: ae_trn, au_abn, br_cnpj, br_cpf, ca_bn, - /// ca_qst, ch_vat, cl_tin, es_cif, eu_vat, - /// gb_vat, hk_br, id_npwp, in_gst, jp_cn, jp_rn, - /// kr_brn, li_uid, mx_rfc, my_frp, my_itn, - /// my_sst, no_vat, nz_gst, ru_inn, ru_kpp, - /// sa_vat, sg_gst, sg_uen, th_vat, tw_vat, - /// unknown, us_ein, or za_vat. + /// ca_gst_hst, ca_pst_bc, ca_pst_mb, ca_pst_sk, ca_qst, + /// ch_vat, cl_tin, es_cif, eu_vat, gb_vat, hk_br, + /// id_npwp, in_gst, jp_cn, jp_rn, kr_brn, li_uid, + /// mx_rfc, my_frp, my_itn, my_sst, no_vat, + /// nz_gst, ru_inn, ru_kpp, sa_vat, sg_gst, + /// sg_uen, th_vat, tw_vat, unknown, us_ein, or + /// za_vat. /// [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 de3e26937d..ad40aba708 100644 --- a/src/Stripe.net/Services/Customers/CustomerTaxIdDataOptions.cs +++ b/src/Stripe.net/Services/Customers/CustomerTaxIdDataOptions.cs @@ -7,19 +7,20 @@ public class CustomerTaxIdDataOptions : INestedOptions { /// /// Type of the tax ID, one of ae_trn, au_abn, br_cnpj, br_cpf, - /// ca_bn, ca_qst, ch_vat, cl_tin, es_cif, eu_vat, - /// gb_vat, hk_br, id_npwp, in_gst, jp_cn, jp_rn, - /// kr_brn, li_uid, mx_rfc, my_frp, my_itn, - /// my_sst, no_vat, nz_gst, ru_inn, ru_kpp, - /// sa_vat, sg_gst, sg_uen, th_vat, tw_vat, - /// us_ein, or za_vat. - /// One of: ae_trn, au_abn, br_cnpj, br_cpf, ca_bn, + /// ca_bn, ca_gst_hst, ca_pst_bc, ca_pst_mb, ca_pst_sk, /// ca_qst, ch_vat, cl_tin, es_cif, eu_vat, /// gb_vat, hk_br, id_npwp, in_gst, jp_cn, jp_rn, /// kr_brn, li_uid, mx_rfc, my_frp, my_itn, /// my_sst, no_vat, nz_gst, ru_inn, ru_kpp, /// sa_vat, sg_gst, sg_uen, th_vat, tw_vat, /// us_ein, or za_vat. + /// One of: ae_trn, au_abn, br_cnpj, br_cpf, ca_bn, + /// ca_gst_hst, ca_pst_bc, ca_pst_mb, ca_pst_sk, ca_qst, + /// ch_vat, cl_tin, es_cif, eu_vat, gb_vat, hk_br, + /// id_npwp, in_gst, jp_cn, jp_rn, kr_brn, li_uid, + /// mx_rfc, my_frp, my_itn, my_sst, no_vat, + /// nz_gst, ru_inn, ru_kpp, sa_vat, sg_gst, + /// sg_uen, th_vat, tw_vat, us_ein, or za_vat. /// [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 49d5addb55..b13ee59d4b 100644 --- a/src/Stripe.net/Services/Invoices/InvoiceCustomerDetailsTaxIdOptions.cs +++ b/src/Stripe.net/Services/Invoices/InvoiceCustomerDetailsTaxIdOptions.cs @@ -7,19 +7,20 @@ public class InvoiceCustomerDetailsTaxIdOptions : INestedOptions { /// /// Type of the tax ID, one of ae_trn, au_abn, br_cnpj, br_cpf, - /// ca_bn, ca_qst, ch_vat, cl_tin, es_cif, eu_vat, - /// gb_vat, hk_br, id_npwp, in_gst, jp_cn, jp_rn, - /// kr_brn, li_uid, mx_rfc, my_frp, my_itn, - /// my_sst, no_vat, nz_gst, ru_inn, ru_kpp, - /// sa_vat, sg_gst, sg_uen, th_vat, tw_vat, - /// us_ein, or za_vat. - /// One of: ae_trn, au_abn, br_cnpj, br_cpf, ca_bn, + /// ca_bn, ca_gst_hst, ca_pst_bc, ca_pst_mb, ca_pst_sk, /// ca_qst, ch_vat, cl_tin, es_cif, eu_vat, /// gb_vat, hk_br, id_npwp, in_gst, jp_cn, jp_rn, /// kr_brn, li_uid, mx_rfc, my_frp, my_itn, /// my_sst, no_vat, nz_gst, ru_inn, ru_kpp, /// sa_vat, sg_gst, sg_uen, th_vat, tw_vat, /// us_ein, or za_vat. + /// One of: ae_trn, au_abn, br_cnpj, br_cpf, ca_bn, + /// ca_gst_hst, ca_pst_bc, ca_pst_mb, ca_pst_sk, ca_qst, + /// ch_vat, cl_tin, es_cif, eu_vat, gb_vat, hk_br, + /// id_npwp, in_gst, jp_cn, jp_rn, kr_brn, li_uid, + /// mx_rfc, my_frp, my_itn, my_sst, no_vat, + /// nz_gst, ru_inn, ru_kpp, sa_vat, sg_gst, + /// sg_uen, th_vat, tw_vat, us_ein, or za_vat. /// [JsonProperty("type")] public string Type { get; set; } diff --git a/src/Stripe.net/Services/Invoices/InvoiceLineItemCustomerDetailsTaxIdOptions.cs b/src/Stripe.net/Services/Invoices/InvoiceLineItemCustomerDetailsTaxIdOptions.cs index 9299feed6e..695b4f01f4 100644 --- a/src/Stripe.net/Services/Invoices/InvoiceLineItemCustomerDetailsTaxIdOptions.cs +++ b/src/Stripe.net/Services/Invoices/InvoiceLineItemCustomerDetailsTaxIdOptions.cs @@ -7,19 +7,20 @@ public class InvoiceLineItemCustomerDetailsTaxIdOptions : INestedOptions { /// /// Type of the tax ID, one of ae_trn, au_abn, br_cnpj, br_cpf, - /// ca_bn, ca_qst, ch_vat, cl_tin, es_cif, eu_vat, - /// gb_vat, hk_br, id_npwp, in_gst, jp_cn, jp_rn, - /// kr_brn, li_uid, mx_rfc, my_frp, my_itn, - /// my_sst, no_vat, nz_gst, ru_inn, ru_kpp, - /// sa_vat, sg_gst, sg_uen, th_vat, tw_vat, - /// us_ein, or za_vat. - /// One of: ae_trn, au_abn, br_cnpj, br_cpf, ca_bn, + /// ca_bn, ca_gst_hst, ca_pst_bc, ca_pst_mb, ca_pst_sk, /// ca_qst, ch_vat, cl_tin, es_cif, eu_vat, /// gb_vat, hk_br, id_npwp, in_gst, jp_cn, jp_rn, /// kr_brn, li_uid, mx_rfc, my_frp, my_itn, /// my_sst, no_vat, nz_gst, ru_inn, ru_kpp, /// sa_vat, sg_gst, sg_uen, th_vat, tw_vat, /// us_ein, or za_vat. + /// One of: ae_trn, au_abn, br_cnpj, br_cpf, ca_bn, + /// ca_gst_hst, ca_pst_bc, ca_pst_mb, ca_pst_sk, ca_qst, + /// ch_vat, cl_tin, es_cif, eu_vat, gb_vat, hk_br, + /// id_npwp, in_gst, jp_cn, jp_rn, kr_brn, li_uid, + /// mx_rfc, my_frp, my_itn, my_sst, no_vat, + /// nz_gst, ru_inn, ru_kpp, sa_vat, sg_gst, + /// sg_uen, th_vat, tw_vat, us_ein, or za_vat. /// [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 2443f589eb..404f1c1684 100644 --- a/src/Stripe.net/Services/TaxIds/TaxIdCreateOptions.cs +++ b/src/Stripe.net/Services/TaxIds/TaxIdCreateOptions.cs @@ -7,19 +7,20 @@ public class TaxIdCreateOptions : BaseOptions { /// /// Type of the tax ID, one of ae_trn, au_abn, br_cnpj, br_cpf, - /// ca_bn, ca_qst, ch_vat, cl_tin, es_cif, eu_vat, - /// gb_vat, hk_br, id_npwp, in_gst, jp_cn, jp_rn, - /// kr_brn, li_uid, mx_rfc, my_frp, my_itn, - /// my_sst, no_vat, nz_gst, ru_inn, ru_kpp, - /// sa_vat, sg_gst, sg_uen, th_vat, tw_vat, - /// us_ein, or za_vat. - /// One of: ae_trn, au_abn, br_cnpj, br_cpf, ca_bn, + /// ca_bn, ca_gst_hst, ca_pst_bc, ca_pst_mb, ca_pst_sk, /// ca_qst, ch_vat, cl_tin, es_cif, eu_vat, /// gb_vat, hk_br, id_npwp, in_gst, jp_cn, jp_rn, /// kr_brn, li_uid, mx_rfc, my_frp, my_itn, /// my_sst, no_vat, nz_gst, ru_inn, ru_kpp, /// sa_vat, sg_gst, sg_uen, th_vat, tw_vat, /// us_ein, or za_vat. + /// One of: ae_trn, au_abn, br_cnpj, br_cpf, ca_bn, + /// ca_gst_hst, ca_pst_bc, ca_pst_mb, ca_pst_sk, ca_qst, + /// ch_vat, cl_tin, es_cif, eu_vat, gb_vat, hk_br, + /// id_npwp, in_gst, jp_cn, jp_rn, kr_brn, li_uid, + /// mx_rfc, my_frp, my_itn, my_sst, no_vat, + /// nz_gst, ru_inn, ru_kpp, sa_vat, sg_gst, + /// sg_uen, th_vat, tw_vat, us_ein, or za_vat. /// [JsonProperty("type")] public string Type { get; set; }