From c966b244a3e3d44193b8ae62c5966739250edda8 Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Thu, 29 Jun 2023 23:52:31 +0000 Subject: [PATCH 1/4] Update generated code for v406 --- OPENAPI_VERSION | 2 +- checkout_session.go | 28 ++++++++++++++-------------- financialconnections_accountowner.go | 1 + tax_calculation.go | 28 ++++++++++++++-------------- tax_transaction.go | 28 ++++++++++++++-------------- taxid.go | 28 ++++++++++++++-------------- 6 files changed, 58 insertions(+), 57 deletions(-) diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index d91d121a73..103b9dcfb3 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v403 \ No newline at end of file +v406 \ No newline at end of file diff --git a/checkout_session.go b/checkout_session.go index d28bbd2daa..95fcc5718e 100644 --- a/checkout_session.go +++ b/checkout_session.go @@ -105,13 +105,13 @@ type CheckoutSessionCustomerDetailsTaxIDType string // List of values that CheckoutSessionCustomerDetailsTaxIDType can take const ( - CheckoutSessionCustomerDetailsTaxIDTypeADNRT CheckoutSessionCustomerDetailsTaxIDType = "ad_nrt" + CheckoutSessionCustomerDetailsTaxIDTypeAdNrt CheckoutSessionCustomerDetailsTaxIDType = "ad_nrt" CheckoutSessionCustomerDetailsTaxIDTypeAETRN CheckoutSessionCustomerDetailsTaxIDType = "ae_trn" - CheckoutSessionCustomerDetailsTaxIDTypeARCUIT CheckoutSessionCustomerDetailsTaxIDType = "ar_cuit" + CheckoutSessionCustomerDetailsTaxIDTypeARCuit CheckoutSessionCustomerDetailsTaxIDType = "ar_cuit" CheckoutSessionCustomerDetailsTaxIDTypeAUABN CheckoutSessionCustomerDetailsTaxIDType = "au_abn" CheckoutSessionCustomerDetailsTaxIDTypeAUARN CheckoutSessionCustomerDetailsTaxIDType = "au_arn" CheckoutSessionCustomerDetailsTaxIDTypeBGUIC CheckoutSessionCustomerDetailsTaxIDType = "bg_uic" - CheckoutSessionCustomerDetailsTaxIDTypeBOTIN CheckoutSessionCustomerDetailsTaxIDType = "bo_tin" + CheckoutSessionCustomerDetailsTaxIDTypeBoTin CheckoutSessionCustomerDetailsTaxIDType = "bo_tin" CheckoutSessionCustomerDetailsTaxIDTypeBRCNPJ CheckoutSessionCustomerDetailsTaxIDType = "br_cnpj" CheckoutSessionCustomerDetailsTaxIDTypeBRCPF CheckoutSessionCustomerDetailsTaxIDType = "br_cpf" CheckoutSessionCustomerDetailsTaxIDTypeCABN CheckoutSessionCustomerDetailsTaxIDType = "ca_bn" @@ -122,11 +122,11 @@ const ( CheckoutSessionCustomerDetailsTaxIDTypeCAQST CheckoutSessionCustomerDetailsTaxIDType = "ca_qst" CheckoutSessionCustomerDetailsTaxIDTypeCHVAT CheckoutSessionCustomerDetailsTaxIDType = "ch_vat" CheckoutSessionCustomerDetailsTaxIDTypeCLTIN CheckoutSessionCustomerDetailsTaxIDType = "cl_tin" - CheckoutSessionCustomerDetailsTaxIDTypeCNTIN CheckoutSessionCustomerDetailsTaxIDType = "cn_tin" - CheckoutSessionCustomerDetailsTaxIDTypeCONIT CheckoutSessionCustomerDetailsTaxIDType = "co_nit" - CheckoutSessionCustomerDetailsTaxIDTypeCRTIN CheckoutSessionCustomerDetailsTaxIDType = "cr_tin" - CheckoutSessionCustomerDetailsTaxIDTypeDORCN CheckoutSessionCustomerDetailsTaxIDType = "do_rcn" - CheckoutSessionCustomerDetailsTaxIDTypeECRUC CheckoutSessionCustomerDetailsTaxIDType = "ec_ruc" + CheckoutSessionCustomerDetailsTaxIDTypeCnTin CheckoutSessionCustomerDetailsTaxIDType = "cn_tin" + CheckoutSessionCustomerDetailsTaxIDTypeCoNit CheckoutSessionCustomerDetailsTaxIDType = "co_nit" + CheckoutSessionCustomerDetailsTaxIDTypeCrTin CheckoutSessionCustomerDetailsTaxIDType = "cr_tin" + CheckoutSessionCustomerDetailsTaxIDTypeDoRcn CheckoutSessionCustomerDetailsTaxIDType = "do_rcn" + CheckoutSessionCustomerDetailsTaxIDTypeEcRuc CheckoutSessionCustomerDetailsTaxIDType = "ec_ruc" CheckoutSessionCustomerDetailsTaxIDTypeEGTIN CheckoutSessionCustomerDetailsTaxIDType = "eg_tin" CheckoutSessionCustomerDetailsTaxIDTypeESCIF CheckoutSessionCustomerDetailsTaxIDType = "es_cif" CheckoutSessionCustomerDetailsTaxIDTypeEUOSSVAT CheckoutSessionCustomerDetailsTaxIDType = "eu_oss_vat" @@ -151,25 +151,25 @@ const ( CheckoutSessionCustomerDetailsTaxIDTypeMYSST CheckoutSessionCustomerDetailsTaxIDType = "my_sst" CheckoutSessionCustomerDetailsTaxIDTypeNOVAT CheckoutSessionCustomerDetailsTaxIDType = "no_vat" CheckoutSessionCustomerDetailsTaxIDTypeNZGST CheckoutSessionCustomerDetailsTaxIDType = "nz_gst" - CheckoutSessionCustomerDetailsTaxIDTypePERUC CheckoutSessionCustomerDetailsTaxIDType = "pe_ruc" + CheckoutSessionCustomerDetailsTaxIDTypePeRuc CheckoutSessionCustomerDetailsTaxIDType = "pe_ruc" CheckoutSessionCustomerDetailsTaxIDTypePHTIN CheckoutSessionCustomerDetailsTaxIDType = "ph_tin" - CheckoutSessionCustomerDetailsTaxIDTypeRSPIB CheckoutSessionCustomerDetailsTaxIDType = "rs_pib" + CheckoutSessionCustomerDetailsTaxIDTypeRsPib CheckoutSessionCustomerDetailsTaxIDType = "rs_pib" CheckoutSessionCustomerDetailsTaxIDTypeRUINN CheckoutSessionCustomerDetailsTaxIDType = "ru_inn" CheckoutSessionCustomerDetailsTaxIDTypeRUKPP CheckoutSessionCustomerDetailsTaxIDType = "ru_kpp" CheckoutSessionCustomerDetailsTaxIDTypeSAVAT CheckoutSessionCustomerDetailsTaxIDType = "sa_vat" CheckoutSessionCustomerDetailsTaxIDTypeSGGST CheckoutSessionCustomerDetailsTaxIDType = "sg_gst" CheckoutSessionCustomerDetailsTaxIDTypeSGUEN CheckoutSessionCustomerDetailsTaxIDType = "sg_uen" CheckoutSessionCustomerDetailsTaxIDTypeSITIN CheckoutSessionCustomerDetailsTaxIDType = "si_tin" - CheckoutSessionCustomerDetailsTaxIDTypeSVNIT CheckoutSessionCustomerDetailsTaxIDType = "sv_nit" + CheckoutSessionCustomerDetailsTaxIDTypeSVNit CheckoutSessionCustomerDetailsTaxIDType = "sv_nit" CheckoutSessionCustomerDetailsTaxIDTypeTHVAT CheckoutSessionCustomerDetailsTaxIDType = "th_vat" CheckoutSessionCustomerDetailsTaxIDTypeTRTIN CheckoutSessionCustomerDetailsTaxIDType = "tr_tin" CheckoutSessionCustomerDetailsTaxIDTypeTWVAT CheckoutSessionCustomerDetailsTaxIDType = "tw_vat" CheckoutSessionCustomerDetailsTaxIDTypeUAVAT CheckoutSessionCustomerDetailsTaxIDType = "ua_vat" CheckoutSessionCustomerDetailsTaxIDTypeUnknown CheckoutSessionCustomerDetailsTaxIDType = "unknown" CheckoutSessionCustomerDetailsTaxIDTypeUSEIN CheckoutSessionCustomerDetailsTaxIDType = "us_ein" - CheckoutSessionCustomerDetailsTaxIDTypeUYRUC CheckoutSessionCustomerDetailsTaxIDType = "uy_ruc" - CheckoutSessionCustomerDetailsTaxIDTypeVERIF CheckoutSessionCustomerDetailsTaxIDType = "ve_rif" - CheckoutSessionCustomerDetailsTaxIDTypeVNTIN CheckoutSessionCustomerDetailsTaxIDType = "vn_tin" + CheckoutSessionCustomerDetailsTaxIDTypeUyRuc CheckoutSessionCustomerDetailsTaxIDType = "uy_ruc" + CheckoutSessionCustomerDetailsTaxIDTypeVeRif CheckoutSessionCustomerDetailsTaxIDType = "ve_rif" + CheckoutSessionCustomerDetailsTaxIDTypeVnTin CheckoutSessionCustomerDetailsTaxIDType = "vn_tin" CheckoutSessionCustomerDetailsTaxIDTypeZAVAT CheckoutSessionCustomerDetailsTaxIDType = "za_vat" ) diff --git a/financialconnections_accountowner.go b/financialconnections_accountowner.go index be7b226e3f..49fca19ada 100644 --- a/financialconnections_accountowner.go +++ b/financialconnections_accountowner.go @@ -6,6 +6,7 @@ package stripe +// Describes an owner of an account. type FinancialConnectionsAccountOwner struct { // The email address of the owner. Email string `json:"email"` diff --git a/tax_calculation.go b/tax_calculation.go index 0f64e736b8..8f869f601c 100644 --- a/tax_calculation.go +++ b/tax_calculation.go @@ -20,13 +20,13 @@ type TaxCalculationCustomerDetailsTaxIDType string // List of values that TaxCalculationCustomerDetailsTaxIDType can take const ( - TaxCalculationCustomerDetailsTaxIDTypeADNRT TaxCalculationCustomerDetailsTaxIDType = "ad_nrt" + TaxCalculationCustomerDetailsTaxIDTypeAdNrt TaxCalculationCustomerDetailsTaxIDType = "ad_nrt" TaxCalculationCustomerDetailsTaxIDTypeAETRN TaxCalculationCustomerDetailsTaxIDType = "ae_trn" - TaxCalculationCustomerDetailsTaxIDTypeARCUIT TaxCalculationCustomerDetailsTaxIDType = "ar_cuit" + TaxCalculationCustomerDetailsTaxIDTypeARCuit TaxCalculationCustomerDetailsTaxIDType = "ar_cuit" TaxCalculationCustomerDetailsTaxIDTypeAUABN TaxCalculationCustomerDetailsTaxIDType = "au_abn" TaxCalculationCustomerDetailsTaxIDTypeAUARN TaxCalculationCustomerDetailsTaxIDType = "au_arn" TaxCalculationCustomerDetailsTaxIDTypeBGUIC TaxCalculationCustomerDetailsTaxIDType = "bg_uic" - TaxCalculationCustomerDetailsTaxIDTypeBOTIN TaxCalculationCustomerDetailsTaxIDType = "bo_tin" + TaxCalculationCustomerDetailsTaxIDTypeBoTin TaxCalculationCustomerDetailsTaxIDType = "bo_tin" TaxCalculationCustomerDetailsTaxIDTypeBRCNPJ TaxCalculationCustomerDetailsTaxIDType = "br_cnpj" TaxCalculationCustomerDetailsTaxIDTypeBRCPF TaxCalculationCustomerDetailsTaxIDType = "br_cpf" TaxCalculationCustomerDetailsTaxIDTypeCABN TaxCalculationCustomerDetailsTaxIDType = "ca_bn" @@ -37,11 +37,11 @@ const ( TaxCalculationCustomerDetailsTaxIDTypeCAQST TaxCalculationCustomerDetailsTaxIDType = "ca_qst" TaxCalculationCustomerDetailsTaxIDTypeCHVAT TaxCalculationCustomerDetailsTaxIDType = "ch_vat" TaxCalculationCustomerDetailsTaxIDTypeCLTIN TaxCalculationCustomerDetailsTaxIDType = "cl_tin" - TaxCalculationCustomerDetailsTaxIDTypeCNTIN TaxCalculationCustomerDetailsTaxIDType = "cn_tin" - TaxCalculationCustomerDetailsTaxIDTypeCONIT TaxCalculationCustomerDetailsTaxIDType = "co_nit" - TaxCalculationCustomerDetailsTaxIDTypeCRTIN TaxCalculationCustomerDetailsTaxIDType = "cr_tin" - TaxCalculationCustomerDetailsTaxIDTypeDORCN TaxCalculationCustomerDetailsTaxIDType = "do_rcn" - TaxCalculationCustomerDetailsTaxIDTypeECRUC TaxCalculationCustomerDetailsTaxIDType = "ec_ruc" + TaxCalculationCustomerDetailsTaxIDTypeCnTin TaxCalculationCustomerDetailsTaxIDType = "cn_tin" + TaxCalculationCustomerDetailsTaxIDTypeCoNit TaxCalculationCustomerDetailsTaxIDType = "co_nit" + TaxCalculationCustomerDetailsTaxIDTypeCrTin TaxCalculationCustomerDetailsTaxIDType = "cr_tin" + TaxCalculationCustomerDetailsTaxIDTypeDoRcn TaxCalculationCustomerDetailsTaxIDType = "do_rcn" + TaxCalculationCustomerDetailsTaxIDTypeEcRuc TaxCalculationCustomerDetailsTaxIDType = "ec_ruc" TaxCalculationCustomerDetailsTaxIDTypeEGTIN TaxCalculationCustomerDetailsTaxIDType = "eg_tin" TaxCalculationCustomerDetailsTaxIDTypeESCIF TaxCalculationCustomerDetailsTaxIDType = "es_cif" TaxCalculationCustomerDetailsTaxIDTypeEUOSSVAT TaxCalculationCustomerDetailsTaxIDType = "eu_oss_vat" @@ -66,25 +66,25 @@ const ( TaxCalculationCustomerDetailsTaxIDTypeMYSST TaxCalculationCustomerDetailsTaxIDType = "my_sst" TaxCalculationCustomerDetailsTaxIDTypeNOVAT TaxCalculationCustomerDetailsTaxIDType = "no_vat" TaxCalculationCustomerDetailsTaxIDTypeNZGST TaxCalculationCustomerDetailsTaxIDType = "nz_gst" - TaxCalculationCustomerDetailsTaxIDTypePERUC TaxCalculationCustomerDetailsTaxIDType = "pe_ruc" + TaxCalculationCustomerDetailsTaxIDTypePeRuc TaxCalculationCustomerDetailsTaxIDType = "pe_ruc" TaxCalculationCustomerDetailsTaxIDTypePHTIN TaxCalculationCustomerDetailsTaxIDType = "ph_tin" - TaxCalculationCustomerDetailsTaxIDTypeRSPIB TaxCalculationCustomerDetailsTaxIDType = "rs_pib" + TaxCalculationCustomerDetailsTaxIDTypeRsPib TaxCalculationCustomerDetailsTaxIDType = "rs_pib" TaxCalculationCustomerDetailsTaxIDTypeRUINN TaxCalculationCustomerDetailsTaxIDType = "ru_inn" TaxCalculationCustomerDetailsTaxIDTypeRUKPP TaxCalculationCustomerDetailsTaxIDType = "ru_kpp" TaxCalculationCustomerDetailsTaxIDTypeSAVAT TaxCalculationCustomerDetailsTaxIDType = "sa_vat" TaxCalculationCustomerDetailsTaxIDTypeSGGST TaxCalculationCustomerDetailsTaxIDType = "sg_gst" TaxCalculationCustomerDetailsTaxIDTypeSGUEN TaxCalculationCustomerDetailsTaxIDType = "sg_uen" TaxCalculationCustomerDetailsTaxIDTypeSITIN TaxCalculationCustomerDetailsTaxIDType = "si_tin" - TaxCalculationCustomerDetailsTaxIDTypeSVNIT TaxCalculationCustomerDetailsTaxIDType = "sv_nit" + TaxCalculationCustomerDetailsTaxIDTypeSVNit TaxCalculationCustomerDetailsTaxIDType = "sv_nit" TaxCalculationCustomerDetailsTaxIDTypeTHVAT TaxCalculationCustomerDetailsTaxIDType = "th_vat" TaxCalculationCustomerDetailsTaxIDTypeTRTIN TaxCalculationCustomerDetailsTaxIDType = "tr_tin" TaxCalculationCustomerDetailsTaxIDTypeTWVAT TaxCalculationCustomerDetailsTaxIDType = "tw_vat" TaxCalculationCustomerDetailsTaxIDTypeUAVAT TaxCalculationCustomerDetailsTaxIDType = "ua_vat" TaxCalculationCustomerDetailsTaxIDTypeUnknown TaxCalculationCustomerDetailsTaxIDType = "unknown" TaxCalculationCustomerDetailsTaxIDTypeUSEIN TaxCalculationCustomerDetailsTaxIDType = "us_ein" - TaxCalculationCustomerDetailsTaxIDTypeUYRUC TaxCalculationCustomerDetailsTaxIDType = "uy_ruc" - TaxCalculationCustomerDetailsTaxIDTypeVERIF TaxCalculationCustomerDetailsTaxIDType = "ve_rif" - TaxCalculationCustomerDetailsTaxIDTypeVNTIN TaxCalculationCustomerDetailsTaxIDType = "vn_tin" + TaxCalculationCustomerDetailsTaxIDTypeUyRuc TaxCalculationCustomerDetailsTaxIDType = "uy_ruc" + TaxCalculationCustomerDetailsTaxIDTypeVeRif TaxCalculationCustomerDetailsTaxIDType = "ve_rif" + TaxCalculationCustomerDetailsTaxIDTypeVnTin TaxCalculationCustomerDetailsTaxIDType = "vn_tin" TaxCalculationCustomerDetailsTaxIDTypeZAVAT TaxCalculationCustomerDetailsTaxIDType = "za_vat" ) diff --git a/tax_transaction.go b/tax_transaction.go index edbc27253b..9f1bbd668e 100644 --- a/tax_transaction.go +++ b/tax_transaction.go @@ -20,13 +20,13 @@ type TaxTransactionCustomerDetailsTaxIDType string // List of values that TaxTransactionCustomerDetailsTaxIDType can take const ( - TaxTransactionCustomerDetailsTaxIDTypeADNRT TaxTransactionCustomerDetailsTaxIDType = "ad_nrt" + TaxTransactionCustomerDetailsTaxIDTypeAdNrt TaxTransactionCustomerDetailsTaxIDType = "ad_nrt" TaxTransactionCustomerDetailsTaxIDTypeAETRN TaxTransactionCustomerDetailsTaxIDType = "ae_trn" - TaxTransactionCustomerDetailsTaxIDTypeARCUIT TaxTransactionCustomerDetailsTaxIDType = "ar_cuit" + TaxTransactionCustomerDetailsTaxIDTypeARCuit TaxTransactionCustomerDetailsTaxIDType = "ar_cuit" TaxTransactionCustomerDetailsTaxIDTypeAUABN TaxTransactionCustomerDetailsTaxIDType = "au_abn" TaxTransactionCustomerDetailsTaxIDTypeAUARN TaxTransactionCustomerDetailsTaxIDType = "au_arn" TaxTransactionCustomerDetailsTaxIDTypeBGUIC TaxTransactionCustomerDetailsTaxIDType = "bg_uic" - TaxTransactionCustomerDetailsTaxIDTypeBOTIN TaxTransactionCustomerDetailsTaxIDType = "bo_tin" + TaxTransactionCustomerDetailsTaxIDTypeBoTin TaxTransactionCustomerDetailsTaxIDType = "bo_tin" TaxTransactionCustomerDetailsTaxIDTypeBRCNPJ TaxTransactionCustomerDetailsTaxIDType = "br_cnpj" TaxTransactionCustomerDetailsTaxIDTypeBRCPF TaxTransactionCustomerDetailsTaxIDType = "br_cpf" TaxTransactionCustomerDetailsTaxIDTypeCABN TaxTransactionCustomerDetailsTaxIDType = "ca_bn" @@ -37,11 +37,11 @@ const ( TaxTransactionCustomerDetailsTaxIDTypeCAQST TaxTransactionCustomerDetailsTaxIDType = "ca_qst" TaxTransactionCustomerDetailsTaxIDTypeCHVAT TaxTransactionCustomerDetailsTaxIDType = "ch_vat" TaxTransactionCustomerDetailsTaxIDTypeCLTIN TaxTransactionCustomerDetailsTaxIDType = "cl_tin" - TaxTransactionCustomerDetailsTaxIDTypeCNTIN TaxTransactionCustomerDetailsTaxIDType = "cn_tin" - TaxTransactionCustomerDetailsTaxIDTypeCONIT TaxTransactionCustomerDetailsTaxIDType = "co_nit" - TaxTransactionCustomerDetailsTaxIDTypeCRTIN TaxTransactionCustomerDetailsTaxIDType = "cr_tin" - TaxTransactionCustomerDetailsTaxIDTypeDORCN TaxTransactionCustomerDetailsTaxIDType = "do_rcn" - TaxTransactionCustomerDetailsTaxIDTypeECRUC TaxTransactionCustomerDetailsTaxIDType = "ec_ruc" + TaxTransactionCustomerDetailsTaxIDTypeCnTin TaxTransactionCustomerDetailsTaxIDType = "cn_tin" + TaxTransactionCustomerDetailsTaxIDTypeCoNit TaxTransactionCustomerDetailsTaxIDType = "co_nit" + TaxTransactionCustomerDetailsTaxIDTypeCrTin TaxTransactionCustomerDetailsTaxIDType = "cr_tin" + TaxTransactionCustomerDetailsTaxIDTypeDoRcn TaxTransactionCustomerDetailsTaxIDType = "do_rcn" + TaxTransactionCustomerDetailsTaxIDTypeEcRuc TaxTransactionCustomerDetailsTaxIDType = "ec_ruc" TaxTransactionCustomerDetailsTaxIDTypeEGTIN TaxTransactionCustomerDetailsTaxIDType = "eg_tin" TaxTransactionCustomerDetailsTaxIDTypeESCIF TaxTransactionCustomerDetailsTaxIDType = "es_cif" TaxTransactionCustomerDetailsTaxIDTypeEUOSSVAT TaxTransactionCustomerDetailsTaxIDType = "eu_oss_vat" @@ -66,25 +66,25 @@ const ( TaxTransactionCustomerDetailsTaxIDTypeMYSST TaxTransactionCustomerDetailsTaxIDType = "my_sst" TaxTransactionCustomerDetailsTaxIDTypeNOVAT TaxTransactionCustomerDetailsTaxIDType = "no_vat" TaxTransactionCustomerDetailsTaxIDTypeNZGST TaxTransactionCustomerDetailsTaxIDType = "nz_gst" - TaxTransactionCustomerDetailsTaxIDTypePERUC TaxTransactionCustomerDetailsTaxIDType = "pe_ruc" + TaxTransactionCustomerDetailsTaxIDTypePeRuc TaxTransactionCustomerDetailsTaxIDType = "pe_ruc" TaxTransactionCustomerDetailsTaxIDTypePHTIN TaxTransactionCustomerDetailsTaxIDType = "ph_tin" - TaxTransactionCustomerDetailsTaxIDTypeRSPIB TaxTransactionCustomerDetailsTaxIDType = "rs_pib" + TaxTransactionCustomerDetailsTaxIDTypeRsPib TaxTransactionCustomerDetailsTaxIDType = "rs_pib" TaxTransactionCustomerDetailsTaxIDTypeRUINN TaxTransactionCustomerDetailsTaxIDType = "ru_inn" TaxTransactionCustomerDetailsTaxIDTypeRUKPP TaxTransactionCustomerDetailsTaxIDType = "ru_kpp" TaxTransactionCustomerDetailsTaxIDTypeSAVAT TaxTransactionCustomerDetailsTaxIDType = "sa_vat" TaxTransactionCustomerDetailsTaxIDTypeSGGST TaxTransactionCustomerDetailsTaxIDType = "sg_gst" TaxTransactionCustomerDetailsTaxIDTypeSGUEN TaxTransactionCustomerDetailsTaxIDType = "sg_uen" TaxTransactionCustomerDetailsTaxIDTypeSITIN TaxTransactionCustomerDetailsTaxIDType = "si_tin" - TaxTransactionCustomerDetailsTaxIDTypeSVNIT TaxTransactionCustomerDetailsTaxIDType = "sv_nit" + TaxTransactionCustomerDetailsTaxIDTypeSVNit TaxTransactionCustomerDetailsTaxIDType = "sv_nit" TaxTransactionCustomerDetailsTaxIDTypeTHVAT TaxTransactionCustomerDetailsTaxIDType = "th_vat" TaxTransactionCustomerDetailsTaxIDTypeTRTIN TaxTransactionCustomerDetailsTaxIDType = "tr_tin" TaxTransactionCustomerDetailsTaxIDTypeTWVAT TaxTransactionCustomerDetailsTaxIDType = "tw_vat" TaxTransactionCustomerDetailsTaxIDTypeUAVAT TaxTransactionCustomerDetailsTaxIDType = "ua_vat" TaxTransactionCustomerDetailsTaxIDTypeUnknown TaxTransactionCustomerDetailsTaxIDType = "unknown" TaxTransactionCustomerDetailsTaxIDTypeUSEIN TaxTransactionCustomerDetailsTaxIDType = "us_ein" - TaxTransactionCustomerDetailsTaxIDTypeUYRUC TaxTransactionCustomerDetailsTaxIDType = "uy_ruc" - TaxTransactionCustomerDetailsTaxIDTypeVERIF TaxTransactionCustomerDetailsTaxIDType = "ve_rif" - TaxTransactionCustomerDetailsTaxIDTypeVNTIN TaxTransactionCustomerDetailsTaxIDType = "vn_tin" + TaxTransactionCustomerDetailsTaxIDTypeUyRuc TaxTransactionCustomerDetailsTaxIDType = "uy_ruc" + TaxTransactionCustomerDetailsTaxIDTypeVeRif TaxTransactionCustomerDetailsTaxIDType = "ve_rif" + TaxTransactionCustomerDetailsTaxIDTypeVnTin TaxTransactionCustomerDetailsTaxIDType = "vn_tin" TaxTransactionCustomerDetailsTaxIDTypeZAVAT TaxTransactionCustomerDetailsTaxIDType = "za_vat" ) diff --git a/taxid.go b/taxid.go index 0b1bb2bd9f..071fde860e 100644 --- a/taxid.go +++ b/taxid.go @@ -13,13 +13,13 @@ type TaxIDType string // List of values that TaxIDType can take const ( - TaxIDTypeADNRT TaxIDType = "ad_nrt" + TaxIDTypeAdNrt TaxIDType = "ad_nrt" TaxIDTypeAETRN TaxIDType = "ae_trn" - TaxIDTypeARCUIT TaxIDType = "ar_cuit" + TaxIDTypeARCuit TaxIDType = "ar_cuit" TaxIDTypeAUABN TaxIDType = "au_abn" TaxIDTypeAUARN TaxIDType = "au_arn" TaxIDTypeBGUIC TaxIDType = "bg_uic" - TaxIDTypeBOTIN TaxIDType = "bo_tin" + TaxIDTypeBoTin TaxIDType = "bo_tin" TaxIDTypeBRCNPJ TaxIDType = "br_cnpj" TaxIDTypeBRCPF TaxIDType = "br_cpf" TaxIDTypeCABN TaxIDType = "ca_bn" @@ -30,11 +30,11 @@ const ( TaxIDTypeCAQST TaxIDType = "ca_qst" TaxIDTypeCHVAT TaxIDType = "ch_vat" TaxIDTypeCLTIN TaxIDType = "cl_tin" - TaxIDTypeCNTIN TaxIDType = "cn_tin" - TaxIDTypeCONIT TaxIDType = "co_nit" - TaxIDTypeCRTIN TaxIDType = "cr_tin" - TaxIDTypeDORCN TaxIDType = "do_rcn" - TaxIDTypeECRUC TaxIDType = "ec_ruc" + TaxIDTypeCnTin TaxIDType = "cn_tin" + TaxIDTypeCoNit TaxIDType = "co_nit" + TaxIDTypeCrTin TaxIDType = "cr_tin" + TaxIDTypeDoRcn TaxIDType = "do_rcn" + TaxIDTypeEcRuc TaxIDType = "ec_ruc" TaxIDTypeEGTIN TaxIDType = "eg_tin" TaxIDTypeESCIF TaxIDType = "es_cif" TaxIDTypeEUOSSVAT TaxIDType = "eu_oss_vat" @@ -59,25 +59,25 @@ const ( TaxIDTypeMYSST TaxIDType = "my_sst" TaxIDTypeNOVAT TaxIDType = "no_vat" TaxIDTypeNZGST TaxIDType = "nz_gst" - TaxIDTypePERUC TaxIDType = "pe_ruc" + TaxIDTypePeRuc TaxIDType = "pe_ruc" TaxIDTypePHTIN TaxIDType = "ph_tin" - TaxIDTypeRSPIB TaxIDType = "rs_pib" + TaxIDTypeRsPib TaxIDType = "rs_pib" TaxIDTypeRUINN TaxIDType = "ru_inn" TaxIDTypeRUKPP TaxIDType = "ru_kpp" TaxIDTypeSAVAT TaxIDType = "sa_vat" TaxIDTypeSGGST TaxIDType = "sg_gst" TaxIDTypeSGUEN TaxIDType = "sg_uen" TaxIDTypeSITIN TaxIDType = "si_tin" - TaxIDTypeSVNIT TaxIDType = "sv_nit" + TaxIDTypeSVNit TaxIDType = "sv_nit" TaxIDTypeTHVAT TaxIDType = "th_vat" TaxIDTypeTRTIN TaxIDType = "tr_tin" TaxIDTypeTWVAT TaxIDType = "tw_vat" TaxIDTypeUAVAT TaxIDType = "ua_vat" TaxIDTypeUnknown TaxIDType = "unknown" TaxIDTypeUSEIN TaxIDType = "us_ein" - TaxIDTypeUYRUC TaxIDType = "uy_ruc" - TaxIDTypeVERIF TaxIDType = "ve_rif" - TaxIDTypeVNTIN TaxIDType = "vn_tin" + TaxIDTypeUyRuc TaxIDType = "uy_ruc" + TaxIDTypeVeRif TaxIDType = "ve_rif" + TaxIDTypeVnTin TaxIDType = "vn_tin" TaxIDTypeZAVAT TaxIDType = "za_vat" ) From 59d96c73637cacbfa403d92ae25bd2682db9e63c Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Mon, 3 Jul 2023 13:13:16 +0000 Subject: [PATCH 2/4] Update generated code for v407 --- OPENAPI_VERSION | 2 +- paymentlink.go | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 103b9dcfb3..b78408674c 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v406 \ No newline at end of file +v407 \ No newline at end of file diff --git a/paymentlink.go b/paymentlink.go index 018728b087..ae031f876a 100644 --- a/paymentlink.go +++ b/paymentlink.go @@ -504,6 +504,22 @@ type PaymentLinkCustomFieldLabel struct { Type PaymentLinkCustomFieldLabelType `json:"type"` } +// Configuration for `type=numeric` fields. +type PaymentLinkCustomFieldNumeric struct { + // The maximum character length constraint for the customer's input. + MaximumLength int64 `json:"maximum_length"` + // The minimum character length requirement for the customer's input. + MinimumLength int64 `json:"minimum_length"` +} + +// Configuration for `type=text` fields. +type PaymentLinkCustomFieldText struct { + // The maximum character length constraint for the customer's input. + MaximumLength int64 `json:"maximum_length"` + // The minimum character length requirement for the customer's input. + MinimumLength int64 `json:"minimum_length"` +} + // Collect additional information from your customer using custom fields. Up to 2 fields are supported. type PaymentLinkCustomField struct { // Configuration for `type=dropdown` fields. @@ -511,8 +527,12 @@ type PaymentLinkCustomField struct { // String of your choice that your integration can use to reconcile this field. Must be unique to this field, alphanumeric, and up to 200 characters. Key string `json:"key"` Label *PaymentLinkCustomFieldLabel `json:"label"` + // Configuration for `type=numeric` fields. + Numeric *PaymentLinkCustomFieldNumeric `json:"numeric"` // Whether the customer is required to complete the field before completing the Checkout Session. Defaults to `false`. Optional bool `json:"optional"` + // Configuration for `type=text` fields. + Text *PaymentLinkCustomFieldText `json:"text"` // The type of the field. Type PaymentLinkCustomFieldType `json:"type"` } From 3e0bc95e803b76e9cae6888f329e61f38857e598 Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Mon, 3 Jul 2023 17:34:26 +0000 Subject: [PATCH 3/4] Update generated code for v408 --- OPENAPI_VERSION | 2 +- subscription.go | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index b78408674c..a0b891b03c 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v407 \ No newline at end of file +v408 \ No newline at end of file diff --git a/subscription.go b/subscription.go index 4bbfea4393..e4e2fe890a 100644 --- a/subscription.go +++ b/subscription.go @@ -232,9 +232,17 @@ type SubscriptionSearchParams struct { Page *string `form:"page"` } +// Filter subscriptions by their automatic tax settings. +type SubscriptionListAutomaticTaxParams struct { + // Enabled automatic tax calculation which will automatically compute tax rates on all invoices generated by the subscription. + Enabled *bool `form:"enabled"` +} + // By default, returns a list of subscriptions that have not been canceled. In order to list canceled subscriptions, specify status=canceled. type SubscriptionListParams struct { ListParams `form:"*"` + // Filter subscriptions by their automatic tax settings. + AutomaticTax *SubscriptionListAutomaticTaxParams `form:"automatic_tax"` // The collection method of the subscriptions to retrieve. Either `charge_automatically` or `send_invoice`. CollectionMethod *string `form:"collection_method"` Created *int64 `form:"created"` From 88e1d46bb8a17863b428bcd40a463b18372fecc3 Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Wed, 5 Jul 2023 21:17:17 +0000 Subject: [PATCH 4/4] Update generated code for v408 --- checkout_session.go | 28 ++++++++++++++-------------- tax_calculation.go | 28 ++++++++++++++-------------- tax_transaction.go | 28 ++++++++++++++-------------- taxid.go | 28 ++++++++++++++-------------- 4 files changed, 56 insertions(+), 56 deletions(-) diff --git a/checkout_session.go b/checkout_session.go index 95fcc5718e..d28bbd2daa 100644 --- a/checkout_session.go +++ b/checkout_session.go @@ -105,13 +105,13 @@ type CheckoutSessionCustomerDetailsTaxIDType string // List of values that CheckoutSessionCustomerDetailsTaxIDType can take const ( - CheckoutSessionCustomerDetailsTaxIDTypeAdNrt CheckoutSessionCustomerDetailsTaxIDType = "ad_nrt" + CheckoutSessionCustomerDetailsTaxIDTypeADNRT CheckoutSessionCustomerDetailsTaxIDType = "ad_nrt" CheckoutSessionCustomerDetailsTaxIDTypeAETRN CheckoutSessionCustomerDetailsTaxIDType = "ae_trn" - CheckoutSessionCustomerDetailsTaxIDTypeARCuit CheckoutSessionCustomerDetailsTaxIDType = "ar_cuit" + CheckoutSessionCustomerDetailsTaxIDTypeARCUIT CheckoutSessionCustomerDetailsTaxIDType = "ar_cuit" CheckoutSessionCustomerDetailsTaxIDTypeAUABN CheckoutSessionCustomerDetailsTaxIDType = "au_abn" CheckoutSessionCustomerDetailsTaxIDTypeAUARN CheckoutSessionCustomerDetailsTaxIDType = "au_arn" CheckoutSessionCustomerDetailsTaxIDTypeBGUIC CheckoutSessionCustomerDetailsTaxIDType = "bg_uic" - CheckoutSessionCustomerDetailsTaxIDTypeBoTin CheckoutSessionCustomerDetailsTaxIDType = "bo_tin" + CheckoutSessionCustomerDetailsTaxIDTypeBOTIN CheckoutSessionCustomerDetailsTaxIDType = "bo_tin" CheckoutSessionCustomerDetailsTaxIDTypeBRCNPJ CheckoutSessionCustomerDetailsTaxIDType = "br_cnpj" CheckoutSessionCustomerDetailsTaxIDTypeBRCPF CheckoutSessionCustomerDetailsTaxIDType = "br_cpf" CheckoutSessionCustomerDetailsTaxIDTypeCABN CheckoutSessionCustomerDetailsTaxIDType = "ca_bn" @@ -122,11 +122,11 @@ const ( CheckoutSessionCustomerDetailsTaxIDTypeCAQST CheckoutSessionCustomerDetailsTaxIDType = "ca_qst" CheckoutSessionCustomerDetailsTaxIDTypeCHVAT CheckoutSessionCustomerDetailsTaxIDType = "ch_vat" CheckoutSessionCustomerDetailsTaxIDTypeCLTIN CheckoutSessionCustomerDetailsTaxIDType = "cl_tin" - CheckoutSessionCustomerDetailsTaxIDTypeCnTin CheckoutSessionCustomerDetailsTaxIDType = "cn_tin" - CheckoutSessionCustomerDetailsTaxIDTypeCoNit CheckoutSessionCustomerDetailsTaxIDType = "co_nit" - CheckoutSessionCustomerDetailsTaxIDTypeCrTin CheckoutSessionCustomerDetailsTaxIDType = "cr_tin" - CheckoutSessionCustomerDetailsTaxIDTypeDoRcn CheckoutSessionCustomerDetailsTaxIDType = "do_rcn" - CheckoutSessionCustomerDetailsTaxIDTypeEcRuc CheckoutSessionCustomerDetailsTaxIDType = "ec_ruc" + CheckoutSessionCustomerDetailsTaxIDTypeCNTIN CheckoutSessionCustomerDetailsTaxIDType = "cn_tin" + CheckoutSessionCustomerDetailsTaxIDTypeCONIT CheckoutSessionCustomerDetailsTaxIDType = "co_nit" + CheckoutSessionCustomerDetailsTaxIDTypeCRTIN CheckoutSessionCustomerDetailsTaxIDType = "cr_tin" + CheckoutSessionCustomerDetailsTaxIDTypeDORCN CheckoutSessionCustomerDetailsTaxIDType = "do_rcn" + CheckoutSessionCustomerDetailsTaxIDTypeECRUC CheckoutSessionCustomerDetailsTaxIDType = "ec_ruc" CheckoutSessionCustomerDetailsTaxIDTypeEGTIN CheckoutSessionCustomerDetailsTaxIDType = "eg_tin" CheckoutSessionCustomerDetailsTaxIDTypeESCIF CheckoutSessionCustomerDetailsTaxIDType = "es_cif" CheckoutSessionCustomerDetailsTaxIDTypeEUOSSVAT CheckoutSessionCustomerDetailsTaxIDType = "eu_oss_vat" @@ -151,25 +151,25 @@ const ( CheckoutSessionCustomerDetailsTaxIDTypeMYSST CheckoutSessionCustomerDetailsTaxIDType = "my_sst" CheckoutSessionCustomerDetailsTaxIDTypeNOVAT CheckoutSessionCustomerDetailsTaxIDType = "no_vat" CheckoutSessionCustomerDetailsTaxIDTypeNZGST CheckoutSessionCustomerDetailsTaxIDType = "nz_gst" - CheckoutSessionCustomerDetailsTaxIDTypePeRuc CheckoutSessionCustomerDetailsTaxIDType = "pe_ruc" + CheckoutSessionCustomerDetailsTaxIDTypePERUC CheckoutSessionCustomerDetailsTaxIDType = "pe_ruc" CheckoutSessionCustomerDetailsTaxIDTypePHTIN CheckoutSessionCustomerDetailsTaxIDType = "ph_tin" - CheckoutSessionCustomerDetailsTaxIDTypeRsPib CheckoutSessionCustomerDetailsTaxIDType = "rs_pib" + CheckoutSessionCustomerDetailsTaxIDTypeRSPIB CheckoutSessionCustomerDetailsTaxIDType = "rs_pib" CheckoutSessionCustomerDetailsTaxIDTypeRUINN CheckoutSessionCustomerDetailsTaxIDType = "ru_inn" CheckoutSessionCustomerDetailsTaxIDTypeRUKPP CheckoutSessionCustomerDetailsTaxIDType = "ru_kpp" CheckoutSessionCustomerDetailsTaxIDTypeSAVAT CheckoutSessionCustomerDetailsTaxIDType = "sa_vat" CheckoutSessionCustomerDetailsTaxIDTypeSGGST CheckoutSessionCustomerDetailsTaxIDType = "sg_gst" CheckoutSessionCustomerDetailsTaxIDTypeSGUEN CheckoutSessionCustomerDetailsTaxIDType = "sg_uen" CheckoutSessionCustomerDetailsTaxIDTypeSITIN CheckoutSessionCustomerDetailsTaxIDType = "si_tin" - CheckoutSessionCustomerDetailsTaxIDTypeSVNit CheckoutSessionCustomerDetailsTaxIDType = "sv_nit" + CheckoutSessionCustomerDetailsTaxIDTypeSVNIT CheckoutSessionCustomerDetailsTaxIDType = "sv_nit" CheckoutSessionCustomerDetailsTaxIDTypeTHVAT CheckoutSessionCustomerDetailsTaxIDType = "th_vat" CheckoutSessionCustomerDetailsTaxIDTypeTRTIN CheckoutSessionCustomerDetailsTaxIDType = "tr_tin" CheckoutSessionCustomerDetailsTaxIDTypeTWVAT CheckoutSessionCustomerDetailsTaxIDType = "tw_vat" CheckoutSessionCustomerDetailsTaxIDTypeUAVAT CheckoutSessionCustomerDetailsTaxIDType = "ua_vat" CheckoutSessionCustomerDetailsTaxIDTypeUnknown CheckoutSessionCustomerDetailsTaxIDType = "unknown" CheckoutSessionCustomerDetailsTaxIDTypeUSEIN CheckoutSessionCustomerDetailsTaxIDType = "us_ein" - CheckoutSessionCustomerDetailsTaxIDTypeUyRuc CheckoutSessionCustomerDetailsTaxIDType = "uy_ruc" - CheckoutSessionCustomerDetailsTaxIDTypeVeRif CheckoutSessionCustomerDetailsTaxIDType = "ve_rif" - CheckoutSessionCustomerDetailsTaxIDTypeVnTin CheckoutSessionCustomerDetailsTaxIDType = "vn_tin" + CheckoutSessionCustomerDetailsTaxIDTypeUYRUC CheckoutSessionCustomerDetailsTaxIDType = "uy_ruc" + CheckoutSessionCustomerDetailsTaxIDTypeVERIF CheckoutSessionCustomerDetailsTaxIDType = "ve_rif" + CheckoutSessionCustomerDetailsTaxIDTypeVNTIN CheckoutSessionCustomerDetailsTaxIDType = "vn_tin" CheckoutSessionCustomerDetailsTaxIDTypeZAVAT CheckoutSessionCustomerDetailsTaxIDType = "za_vat" ) diff --git a/tax_calculation.go b/tax_calculation.go index 8f869f601c..0f64e736b8 100644 --- a/tax_calculation.go +++ b/tax_calculation.go @@ -20,13 +20,13 @@ type TaxCalculationCustomerDetailsTaxIDType string // List of values that TaxCalculationCustomerDetailsTaxIDType can take const ( - TaxCalculationCustomerDetailsTaxIDTypeAdNrt TaxCalculationCustomerDetailsTaxIDType = "ad_nrt" + TaxCalculationCustomerDetailsTaxIDTypeADNRT TaxCalculationCustomerDetailsTaxIDType = "ad_nrt" TaxCalculationCustomerDetailsTaxIDTypeAETRN TaxCalculationCustomerDetailsTaxIDType = "ae_trn" - TaxCalculationCustomerDetailsTaxIDTypeARCuit TaxCalculationCustomerDetailsTaxIDType = "ar_cuit" + TaxCalculationCustomerDetailsTaxIDTypeARCUIT TaxCalculationCustomerDetailsTaxIDType = "ar_cuit" TaxCalculationCustomerDetailsTaxIDTypeAUABN TaxCalculationCustomerDetailsTaxIDType = "au_abn" TaxCalculationCustomerDetailsTaxIDTypeAUARN TaxCalculationCustomerDetailsTaxIDType = "au_arn" TaxCalculationCustomerDetailsTaxIDTypeBGUIC TaxCalculationCustomerDetailsTaxIDType = "bg_uic" - TaxCalculationCustomerDetailsTaxIDTypeBoTin TaxCalculationCustomerDetailsTaxIDType = "bo_tin" + TaxCalculationCustomerDetailsTaxIDTypeBOTIN TaxCalculationCustomerDetailsTaxIDType = "bo_tin" TaxCalculationCustomerDetailsTaxIDTypeBRCNPJ TaxCalculationCustomerDetailsTaxIDType = "br_cnpj" TaxCalculationCustomerDetailsTaxIDTypeBRCPF TaxCalculationCustomerDetailsTaxIDType = "br_cpf" TaxCalculationCustomerDetailsTaxIDTypeCABN TaxCalculationCustomerDetailsTaxIDType = "ca_bn" @@ -37,11 +37,11 @@ const ( TaxCalculationCustomerDetailsTaxIDTypeCAQST TaxCalculationCustomerDetailsTaxIDType = "ca_qst" TaxCalculationCustomerDetailsTaxIDTypeCHVAT TaxCalculationCustomerDetailsTaxIDType = "ch_vat" TaxCalculationCustomerDetailsTaxIDTypeCLTIN TaxCalculationCustomerDetailsTaxIDType = "cl_tin" - TaxCalculationCustomerDetailsTaxIDTypeCnTin TaxCalculationCustomerDetailsTaxIDType = "cn_tin" - TaxCalculationCustomerDetailsTaxIDTypeCoNit TaxCalculationCustomerDetailsTaxIDType = "co_nit" - TaxCalculationCustomerDetailsTaxIDTypeCrTin TaxCalculationCustomerDetailsTaxIDType = "cr_tin" - TaxCalculationCustomerDetailsTaxIDTypeDoRcn TaxCalculationCustomerDetailsTaxIDType = "do_rcn" - TaxCalculationCustomerDetailsTaxIDTypeEcRuc TaxCalculationCustomerDetailsTaxIDType = "ec_ruc" + TaxCalculationCustomerDetailsTaxIDTypeCNTIN TaxCalculationCustomerDetailsTaxIDType = "cn_tin" + TaxCalculationCustomerDetailsTaxIDTypeCONIT TaxCalculationCustomerDetailsTaxIDType = "co_nit" + TaxCalculationCustomerDetailsTaxIDTypeCRTIN TaxCalculationCustomerDetailsTaxIDType = "cr_tin" + TaxCalculationCustomerDetailsTaxIDTypeDORCN TaxCalculationCustomerDetailsTaxIDType = "do_rcn" + TaxCalculationCustomerDetailsTaxIDTypeECRUC TaxCalculationCustomerDetailsTaxIDType = "ec_ruc" TaxCalculationCustomerDetailsTaxIDTypeEGTIN TaxCalculationCustomerDetailsTaxIDType = "eg_tin" TaxCalculationCustomerDetailsTaxIDTypeESCIF TaxCalculationCustomerDetailsTaxIDType = "es_cif" TaxCalculationCustomerDetailsTaxIDTypeEUOSSVAT TaxCalculationCustomerDetailsTaxIDType = "eu_oss_vat" @@ -66,25 +66,25 @@ const ( TaxCalculationCustomerDetailsTaxIDTypeMYSST TaxCalculationCustomerDetailsTaxIDType = "my_sst" TaxCalculationCustomerDetailsTaxIDTypeNOVAT TaxCalculationCustomerDetailsTaxIDType = "no_vat" TaxCalculationCustomerDetailsTaxIDTypeNZGST TaxCalculationCustomerDetailsTaxIDType = "nz_gst" - TaxCalculationCustomerDetailsTaxIDTypePeRuc TaxCalculationCustomerDetailsTaxIDType = "pe_ruc" + TaxCalculationCustomerDetailsTaxIDTypePERUC TaxCalculationCustomerDetailsTaxIDType = "pe_ruc" TaxCalculationCustomerDetailsTaxIDTypePHTIN TaxCalculationCustomerDetailsTaxIDType = "ph_tin" - TaxCalculationCustomerDetailsTaxIDTypeRsPib TaxCalculationCustomerDetailsTaxIDType = "rs_pib" + TaxCalculationCustomerDetailsTaxIDTypeRSPIB TaxCalculationCustomerDetailsTaxIDType = "rs_pib" TaxCalculationCustomerDetailsTaxIDTypeRUINN TaxCalculationCustomerDetailsTaxIDType = "ru_inn" TaxCalculationCustomerDetailsTaxIDTypeRUKPP TaxCalculationCustomerDetailsTaxIDType = "ru_kpp" TaxCalculationCustomerDetailsTaxIDTypeSAVAT TaxCalculationCustomerDetailsTaxIDType = "sa_vat" TaxCalculationCustomerDetailsTaxIDTypeSGGST TaxCalculationCustomerDetailsTaxIDType = "sg_gst" TaxCalculationCustomerDetailsTaxIDTypeSGUEN TaxCalculationCustomerDetailsTaxIDType = "sg_uen" TaxCalculationCustomerDetailsTaxIDTypeSITIN TaxCalculationCustomerDetailsTaxIDType = "si_tin" - TaxCalculationCustomerDetailsTaxIDTypeSVNit TaxCalculationCustomerDetailsTaxIDType = "sv_nit" + TaxCalculationCustomerDetailsTaxIDTypeSVNIT TaxCalculationCustomerDetailsTaxIDType = "sv_nit" TaxCalculationCustomerDetailsTaxIDTypeTHVAT TaxCalculationCustomerDetailsTaxIDType = "th_vat" TaxCalculationCustomerDetailsTaxIDTypeTRTIN TaxCalculationCustomerDetailsTaxIDType = "tr_tin" TaxCalculationCustomerDetailsTaxIDTypeTWVAT TaxCalculationCustomerDetailsTaxIDType = "tw_vat" TaxCalculationCustomerDetailsTaxIDTypeUAVAT TaxCalculationCustomerDetailsTaxIDType = "ua_vat" TaxCalculationCustomerDetailsTaxIDTypeUnknown TaxCalculationCustomerDetailsTaxIDType = "unknown" TaxCalculationCustomerDetailsTaxIDTypeUSEIN TaxCalculationCustomerDetailsTaxIDType = "us_ein" - TaxCalculationCustomerDetailsTaxIDTypeUyRuc TaxCalculationCustomerDetailsTaxIDType = "uy_ruc" - TaxCalculationCustomerDetailsTaxIDTypeVeRif TaxCalculationCustomerDetailsTaxIDType = "ve_rif" - TaxCalculationCustomerDetailsTaxIDTypeVnTin TaxCalculationCustomerDetailsTaxIDType = "vn_tin" + TaxCalculationCustomerDetailsTaxIDTypeUYRUC TaxCalculationCustomerDetailsTaxIDType = "uy_ruc" + TaxCalculationCustomerDetailsTaxIDTypeVERIF TaxCalculationCustomerDetailsTaxIDType = "ve_rif" + TaxCalculationCustomerDetailsTaxIDTypeVNTIN TaxCalculationCustomerDetailsTaxIDType = "vn_tin" TaxCalculationCustomerDetailsTaxIDTypeZAVAT TaxCalculationCustomerDetailsTaxIDType = "za_vat" ) diff --git a/tax_transaction.go b/tax_transaction.go index 9f1bbd668e..edbc27253b 100644 --- a/tax_transaction.go +++ b/tax_transaction.go @@ -20,13 +20,13 @@ type TaxTransactionCustomerDetailsTaxIDType string // List of values that TaxTransactionCustomerDetailsTaxIDType can take const ( - TaxTransactionCustomerDetailsTaxIDTypeAdNrt TaxTransactionCustomerDetailsTaxIDType = "ad_nrt" + TaxTransactionCustomerDetailsTaxIDTypeADNRT TaxTransactionCustomerDetailsTaxIDType = "ad_nrt" TaxTransactionCustomerDetailsTaxIDTypeAETRN TaxTransactionCustomerDetailsTaxIDType = "ae_trn" - TaxTransactionCustomerDetailsTaxIDTypeARCuit TaxTransactionCustomerDetailsTaxIDType = "ar_cuit" + TaxTransactionCustomerDetailsTaxIDTypeARCUIT TaxTransactionCustomerDetailsTaxIDType = "ar_cuit" TaxTransactionCustomerDetailsTaxIDTypeAUABN TaxTransactionCustomerDetailsTaxIDType = "au_abn" TaxTransactionCustomerDetailsTaxIDTypeAUARN TaxTransactionCustomerDetailsTaxIDType = "au_arn" TaxTransactionCustomerDetailsTaxIDTypeBGUIC TaxTransactionCustomerDetailsTaxIDType = "bg_uic" - TaxTransactionCustomerDetailsTaxIDTypeBoTin TaxTransactionCustomerDetailsTaxIDType = "bo_tin" + TaxTransactionCustomerDetailsTaxIDTypeBOTIN TaxTransactionCustomerDetailsTaxIDType = "bo_tin" TaxTransactionCustomerDetailsTaxIDTypeBRCNPJ TaxTransactionCustomerDetailsTaxIDType = "br_cnpj" TaxTransactionCustomerDetailsTaxIDTypeBRCPF TaxTransactionCustomerDetailsTaxIDType = "br_cpf" TaxTransactionCustomerDetailsTaxIDTypeCABN TaxTransactionCustomerDetailsTaxIDType = "ca_bn" @@ -37,11 +37,11 @@ const ( TaxTransactionCustomerDetailsTaxIDTypeCAQST TaxTransactionCustomerDetailsTaxIDType = "ca_qst" TaxTransactionCustomerDetailsTaxIDTypeCHVAT TaxTransactionCustomerDetailsTaxIDType = "ch_vat" TaxTransactionCustomerDetailsTaxIDTypeCLTIN TaxTransactionCustomerDetailsTaxIDType = "cl_tin" - TaxTransactionCustomerDetailsTaxIDTypeCnTin TaxTransactionCustomerDetailsTaxIDType = "cn_tin" - TaxTransactionCustomerDetailsTaxIDTypeCoNit TaxTransactionCustomerDetailsTaxIDType = "co_nit" - TaxTransactionCustomerDetailsTaxIDTypeCrTin TaxTransactionCustomerDetailsTaxIDType = "cr_tin" - TaxTransactionCustomerDetailsTaxIDTypeDoRcn TaxTransactionCustomerDetailsTaxIDType = "do_rcn" - TaxTransactionCustomerDetailsTaxIDTypeEcRuc TaxTransactionCustomerDetailsTaxIDType = "ec_ruc" + TaxTransactionCustomerDetailsTaxIDTypeCNTIN TaxTransactionCustomerDetailsTaxIDType = "cn_tin" + TaxTransactionCustomerDetailsTaxIDTypeCONIT TaxTransactionCustomerDetailsTaxIDType = "co_nit" + TaxTransactionCustomerDetailsTaxIDTypeCRTIN TaxTransactionCustomerDetailsTaxIDType = "cr_tin" + TaxTransactionCustomerDetailsTaxIDTypeDORCN TaxTransactionCustomerDetailsTaxIDType = "do_rcn" + TaxTransactionCustomerDetailsTaxIDTypeECRUC TaxTransactionCustomerDetailsTaxIDType = "ec_ruc" TaxTransactionCustomerDetailsTaxIDTypeEGTIN TaxTransactionCustomerDetailsTaxIDType = "eg_tin" TaxTransactionCustomerDetailsTaxIDTypeESCIF TaxTransactionCustomerDetailsTaxIDType = "es_cif" TaxTransactionCustomerDetailsTaxIDTypeEUOSSVAT TaxTransactionCustomerDetailsTaxIDType = "eu_oss_vat" @@ -66,25 +66,25 @@ const ( TaxTransactionCustomerDetailsTaxIDTypeMYSST TaxTransactionCustomerDetailsTaxIDType = "my_sst" TaxTransactionCustomerDetailsTaxIDTypeNOVAT TaxTransactionCustomerDetailsTaxIDType = "no_vat" TaxTransactionCustomerDetailsTaxIDTypeNZGST TaxTransactionCustomerDetailsTaxIDType = "nz_gst" - TaxTransactionCustomerDetailsTaxIDTypePeRuc TaxTransactionCustomerDetailsTaxIDType = "pe_ruc" + TaxTransactionCustomerDetailsTaxIDTypePERUC TaxTransactionCustomerDetailsTaxIDType = "pe_ruc" TaxTransactionCustomerDetailsTaxIDTypePHTIN TaxTransactionCustomerDetailsTaxIDType = "ph_tin" - TaxTransactionCustomerDetailsTaxIDTypeRsPib TaxTransactionCustomerDetailsTaxIDType = "rs_pib" + TaxTransactionCustomerDetailsTaxIDTypeRSPIB TaxTransactionCustomerDetailsTaxIDType = "rs_pib" TaxTransactionCustomerDetailsTaxIDTypeRUINN TaxTransactionCustomerDetailsTaxIDType = "ru_inn" TaxTransactionCustomerDetailsTaxIDTypeRUKPP TaxTransactionCustomerDetailsTaxIDType = "ru_kpp" TaxTransactionCustomerDetailsTaxIDTypeSAVAT TaxTransactionCustomerDetailsTaxIDType = "sa_vat" TaxTransactionCustomerDetailsTaxIDTypeSGGST TaxTransactionCustomerDetailsTaxIDType = "sg_gst" TaxTransactionCustomerDetailsTaxIDTypeSGUEN TaxTransactionCustomerDetailsTaxIDType = "sg_uen" TaxTransactionCustomerDetailsTaxIDTypeSITIN TaxTransactionCustomerDetailsTaxIDType = "si_tin" - TaxTransactionCustomerDetailsTaxIDTypeSVNit TaxTransactionCustomerDetailsTaxIDType = "sv_nit" + TaxTransactionCustomerDetailsTaxIDTypeSVNIT TaxTransactionCustomerDetailsTaxIDType = "sv_nit" TaxTransactionCustomerDetailsTaxIDTypeTHVAT TaxTransactionCustomerDetailsTaxIDType = "th_vat" TaxTransactionCustomerDetailsTaxIDTypeTRTIN TaxTransactionCustomerDetailsTaxIDType = "tr_tin" TaxTransactionCustomerDetailsTaxIDTypeTWVAT TaxTransactionCustomerDetailsTaxIDType = "tw_vat" TaxTransactionCustomerDetailsTaxIDTypeUAVAT TaxTransactionCustomerDetailsTaxIDType = "ua_vat" TaxTransactionCustomerDetailsTaxIDTypeUnknown TaxTransactionCustomerDetailsTaxIDType = "unknown" TaxTransactionCustomerDetailsTaxIDTypeUSEIN TaxTransactionCustomerDetailsTaxIDType = "us_ein" - TaxTransactionCustomerDetailsTaxIDTypeUyRuc TaxTransactionCustomerDetailsTaxIDType = "uy_ruc" - TaxTransactionCustomerDetailsTaxIDTypeVeRif TaxTransactionCustomerDetailsTaxIDType = "ve_rif" - TaxTransactionCustomerDetailsTaxIDTypeVnTin TaxTransactionCustomerDetailsTaxIDType = "vn_tin" + TaxTransactionCustomerDetailsTaxIDTypeUYRUC TaxTransactionCustomerDetailsTaxIDType = "uy_ruc" + TaxTransactionCustomerDetailsTaxIDTypeVERIF TaxTransactionCustomerDetailsTaxIDType = "ve_rif" + TaxTransactionCustomerDetailsTaxIDTypeVNTIN TaxTransactionCustomerDetailsTaxIDType = "vn_tin" TaxTransactionCustomerDetailsTaxIDTypeZAVAT TaxTransactionCustomerDetailsTaxIDType = "za_vat" ) diff --git a/taxid.go b/taxid.go index 071fde860e..0b1bb2bd9f 100644 --- a/taxid.go +++ b/taxid.go @@ -13,13 +13,13 @@ type TaxIDType string // List of values that TaxIDType can take const ( - TaxIDTypeAdNrt TaxIDType = "ad_nrt" + TaxIDTypeADNRT TaxIDType = "ad_nrt" TaxIDTypeAETRN TaxIDType = "ae_trn" - TaxIDTypeARCuit TaxIDType = "ar_cuit" + TaxIDTypeARCUIT TaxIDType = "ar_cuit" TaxIDTypeAUABN TaxIDType = "au_abn" TaxIDTypeAUARN TaxIDType = "au_arn" TaxIDTypeBGUIC TaxIDType = "bg_uic" - TaxIDTypeBoTin TaxIDType = "bo_tin" + TaxIDTypeBOTIN TaxIDType = "bo_tin" TaxIDTypeBRCNPJ TaxIDType = "br_cnpj" TaxIDTypeBRCPF TaxIDType = "br_cpf" TaxIDTypeCABN TaxIDType = "ca_bn" @@ -30,11 +30,11 @@ const ( TaxIDTypeCAQST TaxIDType = "ca_qst" TaxIDTypeCHVAT TaxIDType = "ch_vat" TaxIDTypeCLTIN TaxIDType = "cl_tin" - TaxIDTypeCnTin TaxIDType = "cn_tin" - TaxIDTypeCoNit TaxIDType = "co_nit" - TaxIDTypeCrTin TaxIDType = "cr_tin" - TaxIDTypeDoRcn TaxIDType = "do_rcn" - TaxIDTypeEcRuc TaxIDType = "ec_ruc" + TaxIDTypeCNTIN TaxIDType = "cn_tin" + TaxIDTypeCONIT TaxIDType = "co_nit" + TaxIDTypeCRTIN TaxIDType = "cr_tin" + TaxIDTypeDORCN TaxIDType = "do_rcn" + TaxIDTypeECRUC TaxIDType = "ec_ruc" TaxIDTypeEGTIN TaxIDType = "eg_tin" TaxIDTypeESCIF TaxIDType = "es_cif" TaxIDTypeEUOSSVAT TaxIDType = "eu_oss_vat" @@ -59,25 +59,25 @@ const ( TaxIDTypeMYSST TaxIDType = "my_sst" TaxIDTypeNOVAT TaxIDType = "no_vat" TaxIDTypeNZGST TaxIDType = "nz_gst" - TaxIDTypePeRuc TaxIDType = "pe_ruc" + TaxIDTypePERUC TaxIDType = "pe_ruc" TaxIDTypePHTIN TaxIDType = "ph_tin" - TaxIDTypeRsPib TaxIDType = "rs_pib" + TaxIDTypeRSPIB TaxIDType = "rs_pib" TaxIDTypeRUINN TaxIDType = "ru_inn" TaxIDTypeRUKPP TaxIDType = "ru_kpp" TaxIDTypeSAVAT TaxIDType = "sa_vat" TaxIDTypeSGGST TaxIDType = "sg_gst" TaxIDTypeSGUEN TaxIDType = "sg_uen" TaxIDTypeSITIN TaxIDType = "si_tin" - TaxIDTypeSVNit TaxIDType = "sv_nit" + TaxIDTypeSVNIT TaxIDType = "sv_nit" TaxIDTypeTHVAT TaxIDType = "th_vat" TaxIDTypeTRTIN TaxIDType = "tr_tin" TaxIDTypeTWVAT TaxIDType = "tw_vat" TaxIDTypeUAVAT TaxIDType = "ua_vat" TaxIDTypeUnknown TaxIDType = "unknown" TaxIDTypeUSEIN TaxIDType = "us_ein" - TaxIDTypeUyRuc TaxIDType = "uy_ruc" - TaxIDTypeVeRif TaxIDType = "ve_rif" - TaxIDTypeVnTin TaxIDType = "vn_tin" + TaxIDTypeUYRUC TaxIDType = "uy_ruc" + TaxIDTypeVERIF TaxIDType = "ve_rif" + TaxIDTypeVNTIN TaxIDType = "vn_tin" TaxIDTypeZAVAT TaxIDType = "za_vat" )