Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API Updates for beta branch #2593

Merged
merged 7 commits into from
Oct 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 40.14.0 - 2022-10-20
* [#2591](https://github.com/stripe/stripe-dotnet/pull/2591) API Updates
* Add support for `Tipping` on `TerminalReaderActionProcessPaymentIntentProcessConfig` and `TerminalReaderProcessConfigOptions`

## 40.14.0-beta.1 - 2022-10-14
* [#2590](https://github.com/stripe/stripe-dotnet/pull/2590) API Updates for beta branch
* Updated stable APIs to the latest version
Expand Down
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v202
v203
2 changes: 2 additions & 0 deletions src/Stripe.net/Constants/SourceType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ public static class SourceType

public const string P24 = "p24";

public const string Paypal = "paypal";

public const string SepaCreditTransfer = "sepa_credit_transfer";

public const string SepaDebit = "sepa_debit";
Expand Down
3 changes: 3 additions & 0 deletions src/Stripe.net/Entities/Charges/ChargePaymentMethodDetails.cs
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ public class ChargePaymentMethodDetails : StripeEntity<ChargePaymentMethodDetail
[JsonProperty("paynow")]
public ChargePaymentMethodDetailsPaynow Paynow { get; set; }

[JsonProperty("paypal")]
public ChargePaymentMethodDetailsPaypal Paypal { get; set; }

[JsonProperty("pix")]
public ChargePaymentMethodDetailsPix Pix { get; set; }

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
// File generated from our OpenAPI spec
namespace Stripe
{
using Newtonsoft.Json;

public class ChargePaymentMethodDetailsPaypal : StripeEntity<ChargePaymentMethodDetailsPaypal>
{
/// <summary>
/// PayPal account PayerID. This identifier uniquely identifies the PayPal customer.
/// </summary>
[JsonProperty("payer_id")]
public string PayerId { get; set; }

/// <summary>
/// The shipping address for the customer, as supplied by the merchant at the point of
/// payment execution. This shipping address will not be updated if the merchant updates the
/// shipping address on the PaymentIntent after the PaymentIntent was successfully
/// confirmed.
/// </summary>
[JsonProperty("shipping")]
public Address Shipping { get; set; }

/// <summary>
/// A unique ID generated by PayPal for this transaction.
/// </summary>
[JsonProperty("transaction_id")]
public string TransactionId { get; set; }

/// <summary>
/// The shipping address for the customer, as supplied by the merchant at the point of
/// payment execution. This shipping address will not be updated if the merchant updates the
/// shipping address on the PaymentIntent after the PaymentIntent was successfully
/// confirmed.
/// </summary>
[JsonProperty("verified_address")]
public Address VerifiedAddress { get; set; }

/// <summary>
/// Owner's verified email. Values are verified or provided by PayPal directly (if
/// supported) at the time of authorization or settlement. They cannot be set or mutated.
/// </summary>
[JsonProperty("verified_email")]
public string VerifiedEmail { get; set; }

/// <summary>
/// Owner's verified full name. Values are verified or provided by PayPal directly (if
/// supported) at the time of authorization or settlement. They cannot be set or mutated.
/// </summary>
[JsonProperty("verified_name")]
public string VerifiedName { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,22 @@ public class SessionCustomerDetailsTaxId : StripeEntity<SessionCustomerDetailsTa
/// <c>eu_oss_vat</c>, <c>gb_vat</c>, <c>nz_gst</c>, <c>au_abn</c>, <c>au_arn</c>,
/// <c>in_gst</c>, <c>no_vat</c>, <c>za_vat</c>, <c>ch_vat</c>, <c>mx_rfc</c>,
/// <c>sg_uen</c>, <c>ru_inn</c>, <c>ru_kpp</c>, <c>ca_bn</c>, <c>hk_br</c>, <c>es_cif</c>,
/// <c>tw_vat</c>, <c>th_vat</c>, <c>jp_cn</c>, <c>jp_rn</c>, <c>li_uid</c>, <c>my_itn</c>,
/// <c>us_ein</c>, <c>kr_brn</c>, <c>ca_qst</c>, <c>ca_gst_hst</c>, <c>ca_pst_bc</c>,
/// <c>ca_pst_mb</c>, <c>ca_pst_sk</c>, <c>my_sst</c>, <c>sg_gst</c>, <c>ae_trn</c>,
/// <c>cl_tin</c>, <c>sa_vat</c>, <c>id_npwp</c>, <c>my_frp</c>, <c>il_vat</c>,
/// <c>ge_vat</c>, <c>ua_vat</c>, <c>is_vat</c>, <c>bg_uic</c>, <c>hu_tin</c>,
/// <c>si_tin</c>, or <c>unknown</c>.
/// <c>tw_vat</c>, <c>th_vat</c>, <c>jp_cn</c>, <c>jp_rn</c>, <c>jp_trn</c>, <c>li_uid</c>,
/// <c>my_itn</c>, <c>us_ein</c>, <c>kr_brn</c>, <c>ca_qst</c>, <c>ca_gst_hst</c>,
/// <c>ca_pst_bc</c>, <c>ca_pst_mb</c>, <c>ca_pst_sk</c>, <c>my_sst</c>, <c>sg_gst</c>,
/// <c>ae_trn</c>, <c>cl_tin</c>, <c>sa_vat</c>, <c>id_npwp</c>, <c>my_frp</c>,
/// <c>il_vat</c>, <c>ge_vat</c>, <c>ua_vat</c>, <c>is_vat</c>, <c>bg_uic</c>,
/// <c>hu_tin</c>, <c>si_tin</c>, <c>ke_pin</c>, or <c>unknown</c>.
/// One of: <c>ae_trn</c>, <c>au_abn</c>, <c>au_arn</c>, <c>bg_uic</c>, <c>br_cnpj</c>,
/// <c>br_cpf</c>, <c>ca_bn</c>, <c>ca_gst_hst</c>, <c>ca_pst_bc</c>, <c>ca_pst_mb</c>,
/// <c>ca_pst_sk</c>, <c>ca_qst</c>, <c>ch_vat</c>, <c>cl_tin</c>, <c>es_cif</c>,
/// <c>eu_oss_vat</c>, <c>eu_vat</c>, <c>gb_vat</c>, <c>ge_vat</c>, <c>hk_br</c>,
/// <c>hu_tin</c>, <c>id_npwp</c>, <c>il_vat</c>, <c>in_gst</c>, <c>is_vat</c>,
/// <c>jp_cn</c>, <c>jp_rn</c>, <c>kr_brn</c>, <c>li_uid</c>, <c>mx_rfc</c>, <c>my_frp</c>,
/// <c>my_itn</c>, <c>my_sst</c>, <c>no_vat</c>, <c>nz_gst</c>, <c>ru_inn</c>,
/// <c>ru_kpp</c>, <c>sa_vat</c>, <c>sg_gst</c>, <c>sg_uen</c>, <c>si_tin</c>,
/// <c>th_vat</c>, <c>tw_vat</c>, <c>ua_vat</c>, <c>unknown</c>, <c>us_ein</c>, or
/// <c>za_vat</c>.
/// <c>jp_cn</c>, <c>jp_rn</c>, <c>jp_trn</c>, <c>ke_pin</c>, <c>kr_brn</c>, <c>li_uid</c>,
/// <c>mx_rfc</c>, <c>my_frp</c>, <c>my_itn</c>, <c>my_sst</c>, <c>no_vat</c>,
/// <c>nz_gst</c>, <c>ru_inn</c>, <c>ru_kpp</c>, <c>sa_vat</c>, <c>sg_gst</c>,
/// <c>sg_uen</c>, <c>si_tin</c>, <c>th_vat</c>, <c>tw_vat</c>, <c>ua_vat</c>,
/// <c>unknown</c>, <c>us_ein</c>, or <c>za_vat</c>.
/// </summary>
[JsonProperty("type")]
public string Type { get; set; }
Expand Down
5 changes: 4 additions & 1 deletion src/Stripe.net/Entities/Invoices/Invoice.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@ namespace Stripe
public class Invoice : StripeEntity<Invoice>, IHasId, IHasMetadata, IHasObject
{
/// <summary>
/// Unique identifier for the object.
/// Unique identifier for the object. This property is always present unless the invoice is
/// an upcoming invoice. See <a
/// href="https://stripe.com/docs/api/invoices/upcoming">Retrieve an upcoming invoice</a>
/// for more details.
/// </summary>
[JsonProperty("id")]
public string Id { get; set; }
Expand Down
22 changes: 11 additions & 11 deletions src/Stripe.net/Entities/Invoices/InvoiceCustomerTaxId.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,22 @@ public class InvoiceCustomerTaxId : StripeEntity<InvoiceCustomerTaxId>
/// <c>eu_oss_vat</c>, <c>gb_vat</c>, <c>nz_gst</c>, <c>au_abn</c>, <c>au_arn</c>,
/// <c>in_gst</c>, <c>no_vat</c>, <c>za_vat</c>, <c>ch_vat</c>, <c>mx_rfc</c>,
/// <c>sg_uen</c>, <c>ru_inn</c>, <c>ru_kpp</c>, <c>ca_bn</c>, <c>hk_br</c>, <c>es_cif</c>,
/// <c>tw_vat</c>, <c>th_vat</c>, <c>jp_cn</c>, <c>jp_rn</c>, <c>li_uid</c>, <c>my_itn</c>,
/// <c>us_ein</c>, <c>kr_brn</c>, <c>ca_qst</c>, <c>ca_gst_hst</c>, <c>ca_pst_bc</c>,
/// <c>ca_pst_mb</c>, <c>ca_pst_sk</c>, <c>my_sst</c>, <c>sg_gst</c>, <c>ae_trn</c>,
/// <c>cl_tin</c>, <c>sa_vat</c>, <c>id_npwp</c>, <c>my_frp</c>, <c>il_vat</c>,
/// <c>ge_vat</c>, <c>ua_vat</c>, <c>is_vat</c>, <c>bg_uic</c>, <c>hu_tin</c>,
/// <c>si_tin</c>, or <c>unknown</c>.
/// <c>tw_vat</c>, <c>th_vat</c>, <c>jp_cn</c>, <c>jp_rn</c>, <c>jp_trn</c>, <c>li_uid</c>,
/// <c>my_itn</c>, <c>us_ein</c>, <c>kr_brn</c>, <c>ca_qst</c>, <c>ca_gst_hst</c>,
/// <c>ca_pst_bc</c>, <c>ca_pst_mb</c>, <c>ca_pst_sk</c>, <c>my_sst</c>, <c>sg_gst</c>,
/// <c>ae_trn</c>, <c>cl_tin</c>, <c>sa_vat</c>, <c>id_npwp</c>, <c>my_frp</c>,
/// <c>il_vat</c>, <c>ge_vat</c>, <c>ua_vat</c>, <c>is_vat</c>, <c>bg_uic</c>,
/// <c>hu_tin</c>, <c>si_tin</c>, <c>ke_pin</c>, or <c>unknown</c>.
/// One of: <c>ae_trn</c>, <c>au_abn</c>, <c>au_arn</c>, <c>bg_uic</c>, <c>br_cnpj</c>,
/// <c>br_cpf</c>, <c>ca_bn</c>, <c>ca_gst_hst</c>, <c>ca_pst_bc</c>, <c>ca_pst_mb</c>,
/// <c>ca_pst_sk</c>, <c>ca_qst</c>, <c>ch_vat</c>, <c>cl_tin</c>, <c>es_cif</c>,
/// <c>eu_oss_vat</c>, <c>eu_vat</c>, <c>gb_vat</c>, <c>ge_vat</c>, <c>hk_br</c>,
/// <c>hu_tin</c>, <c>id_npwp</c>, <c>il_vat</c>, <c>in_gst</c>, <c>is_vat</c>,
/// <c>jp_cn</c>, <c>jp_rn</c>, <c>kr_brn</c>, <c>li_uid</c>, <c>mx_rfc</c>, <c>my_frp</c>,
/// <c>my_itn</c>, <c>my_sst</c>, <c>no_vat</c>, <c>nz_gst</c>, <c>ru_inn</c>,
/// <c>ru_kpp</c>, <c>sa_vat</c>, <c>sg_gst</c>, <c>sg_uen</c>, <c>si_tin</c>,
/// <c>th_vat</c>, <c>tw_vat</c>, <c>ua_vat</c>, <c>unknown</c>, <c>us_ein</c>, or
/// <c>za_vat</c>.
/// <c>jp_cn</c>, <c>jp_rn</c>, <c>jp_trn</c>, <c>ke_pin</c>, <c>kr_brn</c>, <c>li_uid</c>,
/// <c>mx_rfc</c>, <c>my_frp</c>, <c>my_itn</c>, <c>my_sst</c>, <c>no_vat</c>,
/// <c>nz_gst</c>, <c>ru_inn</c>, <c>ru_kpp</c>, <c>sa_vat</c>, <c>sg_gst</c>,
/// <c>sg_uen</c>, <c>si_tin</c>, <c>th_vat</c>, <c>tw_vat</c>, <c>ua_vat</c>,
/// <c>unknown</c>, <c>us_ein</c>, or <c>za_vat</c>.
/// </summary>
[JsonProperty("type")]
public string Type { get; set; }
Expand Down
6 changes: 6 additions & 0 deletions src/Stripe.net/Entities/Issuing/Transactions/Transaction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,12 @@ public Dispute Dispute
[JsonProperty("metadata")]
public Dictionary<string, string> Metadata { get; set; }

/// <summary>
/// Details about the transaction, such as processing dates, set by the card network.
/// </summary>
[JsonProperty("network_data")]
public TransactionNetworkData NetworkData { get; set; }

/// <summary>
/// Additional purchase information that is optionally provided by the merchant.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// File generated from our OpenAPI spec
namespace Stripe.Issuing
{
using Newtonsoft.Json;

public class TransactionNetworkData : StripeEntity<TransactionNetworkData>
{
/// <summary>
/// The date the transaction was processed by the card network. This can be different from
/// the date the seller recorded the transaction depending on when the acquirer submits the
/// transaction to the network.
/// </summary>
[JsonProperty("processing_date")]
public string ProcessingDate { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ public class TransactionTreasury : StripeEntity<TransactionTreasury>
{
/// <summary>
/// The Treasury <a
/// href="https://stripe.com/docs/api/treasury/received_debits">ReceivedCredit</a>
/// href="https://stripe.com/docs/api/treasury/received_credits">ReceivedCredit</a>
/// representing this Issuing transaction if it is a refund.
/// </summary>
[JsonProperty("received_credit")]
public string ReceivedCredit { get; set; }

/// <summary>
/// The Treasury <a
/// href="https://stripe.com/docs/api/treasury/received_credits">ReceivedDebit</a>
/// href="https://stripe.com/docs/api/treasury/received_debits">ReceivedDebit</a>
/// representing this Issuing transaction if it is a capture.
/// </summary>
[JsonProperty("received_debit")]
Expand Down
22 changes: 11 additions & 11 deletions src/Stripe.net/Entities/Orders/OrderTaxDetailsTaxId.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,22 @@ public class OrderTaxDetailsTaxId : StripeEntity<OrderTaxDetailsTaxId>
/// <c>eu_oss_vat</c>, <c>gb_vat</c>, <c>nz_gst</c>, <c>au_abn</c>, <c>au_arn</c>,
/// <c>in_gst</c>, <c>no_vat</c>, <c>za_vat</c>, <c>ch_vat</c>, <c>mx_rfc</c>,
/// <c>sg_uen</c>, <c>ru_inn</c>, <c>ru_kpp</c>, <c>ca_bn</c>, <c>hk_br</c>, <c>es_cif</c>,
/// <c>tw_vat</c>, <c>th_vat</c>, <c>jp_cn</c>, <c>jp_rn</c>, <c>li_uid</c>, <c>my_itn</c>,
/// <c>us_ein</c>, <c>kr_brn</c>, <c>ca_qst</c>, <c>ca_gst_hst</c>, <c>ca_pst_bc</c>,
/// <c>ca_pst_mb</c>, <c>ca_pst_sk</c>, <c>my_sst</c>, <c>sg_gst</c>, <c>ae_trn</c>,
/// <c>cl_tin</c>, <c>sa_vat</c>, <c>id_npwp</c>, <c>my_frp</c>, <c>il_vat</c>,
/// <c>ge_vat</c>, <c>ua_vat</c>, <c>is_vat</c>, <c>bg_uic</c>, <c>hu_tin</c>,
/// <c>si_tin</c>, or <c>unknown</c>.
/// <c>tw_vat</c>, <c>th_vat</c>, <c>jp_cn</c>, <c>jp_rn</c>, <c>jp_trn</c>, <c>li_uid</c>,
/// <c>my_itn</c>, <c>us_ein</c>, <c>kr_brn</c>, <c>ca_qst</c>, <c>ca_gst_hst</c>,
/// <c>ca_pst_bc</c>, <c>ca_pst_mb</c>, <c>ca_pst_sk</c>, <c>my_sst</c>, <c>sg_gst</c>,
/// <c>ae_trn</c>, <c>cl_tin</c>, <c>sa_vat</c>, <c>id_npwp</c>, <c>my_frp</c>,
/// <c>il_vat</c>, <c>ge_vat</c>, <c>ua_vat</c>, <c>is_vat</c>, <c>bg_uic</c>,
/// <c>hu_tin</c>, <c>si_tin</c>, <c>ke_pin</c>, or <c>unknown</c>.
/// One of: <c>ae_trn</c>, <c>au_abn</c>, <c>au_arn</c>, <c>bg_uic</c>, <c>br_cnpj</c>,
/// <c>br_cpf</c>, <c>ca_bn</c>, <c>ca_gst_hst</c>, <c>ca_pst_bc</c>, <c>ca_pst_mb</c>,
/// <c>ca_pst_sk</c>, <c>ca_qst</c>, <c>ch_vat</c>, <c>cl_tin</c>, <c>es_cif</c>,
/// <c>eu_oss_vat</c>, <c>eu_vat</c>, <c>gb_vat</c>, <c>ge_vat</c>, <c>hk_br</c>,
/// <c>hu_tin</c>, <c>id_npwp</c>, <c>il_vat</c>, <c>in_gst</c>, <c>is_vat</c>,
/// <c>jp_cn</c>, <c>jp_rn</c>, <c>kr_brn</c>, <c>li_uid</c>, <c>mx_rfc</c>, <c>my_frp</c>,
/// <c>my_itn</c>, <c>my_sst</c>, <c>no_vat</c>, <c>nz_gst</c>, <c>ru_inn</c>,
/// <c>ru_kpp</c>, <c>sa_vat</c>, <c>sg_gst</c>, <c>sg_uen</c>, <c>si_tin</c>,
/// <c>th_vat</c>, <c>tw_vat</c>, <c>ua_vat</c>, <c>unknown</c>, <c>us_ein</c>, or
/// <c>za_vat</c>.
/// <c>jp_cn</c>, <c>jp_rn</c>, <c>jp_trn</c>, <c>ke_pin</c>, <c>kr_brn</c>, <c>li_uid</c>,
/// <c>mx_rfc</c>, <c>my_frp</c>, <c>my_itn</c>, <c>my_sst</c>, <c>no_vat</c>,
/// <c>nz_gst</c>, <c>ru_inn</c>, <c>ru_kpp</c>, <c>sa_vat</c>, <c>sg_gst</c>,
/// <c>sg_uen</c>, <c>si_tin</c>, <c>th_vat</c>, <c>tw_vat</c>, <c>ua_vat</c>,
/// <c>unknown</c>, <c>us_ein</c>, or <c>za_vat</c>.
/// </summary>
[JsonProperty("type")]
public string Type { get; set; }
Expand Down
12 changes: 10 additions & 2 deletions src/Stripe.net/Entities/Sources/Source.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ namespace Stripe
/// <c>Card</c> object: once chargeable, they can be charged, or can be attached to
/// customers.
///
/// Stripe doesn't recommend using the deprecated <a
/// href="https://stripe.com/docs/api/sources">Sources API</a>. We recommend that you adopt
/// the <a href="https://stripe.com/docs/api/payment_methods">PaymentMethods API</a>. This
/// newer API provides access to our latest features and payment method types.
///
/// Related guides: <a href="https://stripe.com/docs/sources">Sources API</a> and <a
/// href="https://stripe.com/docs/sources/customers">Sources &amp; Customers</a>.
/// </summary>
Expand Down Expand Up @@ -140,6 +145,9 @@ public class Source : StripeEntity<Source>, IHasId, IHasMetadata, IHasObject, IP
[JsonProperty("p24")]
public SourceP24 P24 { get; set; }

[JsonProperty("paypal")]
public SourcePaypal Paypal { get; set; }

[JsonProperty("receiver")]
public SourceReceiver Receiver { get; set; }

Expand Down Expand Up @@ -187,8 +195,8 @@ public class Source : StripeEntity<Source>, IHasId, IHasMetadata, IHasObject, IP
/// One of: <c>ach_credit_transfer</c>, <c>ach_debit</c>, <c>acss_debit</c>, <c>alipay</c>,
/// <c>au_becs_debit</c>, <c>bancontact</c>, <c>card</c>, <c>card_present</c>, <c>eps</c>,
/// <c>giropay</c>, <c>ideal</c>, <c>klarna</c>, <c>multibanco</c>, <c>p24</c>,
/// <c>sepa_credit_transfer</c>, <c>sepa_debit</c>, <c>sofort</c>, <c>three_d_secure</c>, or
/// <c>wechat</c>.
/// <c>paypal</c>, <c>sepa_credit_transfer</c>, <c>sepa_debit</c>, <c>sofort</c>,
/// <c>three_d_secure</c>, or <c>wechat</c>.
/// </summary>
[JsonProperty("type")]
public string Type { get; set; }
Expand Down
35 changes: 35 additions & 0 deletions src/Stripe.net/Entities/Sources/SourcePaypal.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
// File generated from our OpenAPI spec
namespace Stripe
{
using Newtonsoft.Json;

public class SourcePaypal : StripeEntity<SourcePaypal>
{
[JsonProperty("billing_agreement")]
public string BillingAgreement { get; set; }

[JsonProperty("fingerprint")]
public string Fingerprint { get; set; }

[JsonProperty("payer_id")]
public string PayerId { get; set; }

[JsonProperty("reference_id")]
public string ReferenceId { get; set; }

[JsonProperty("reference_transaction_amount")]
public string ReferenceTransactionAmount { get; set; }

[JsonProperty("reference_transaction_charged")]
public bool ReferenceTransactionCharged { get; set; }

[JsonProperty("statement_descriptor")]
public string StatementDescriptor { get; set; }

[JsonProperty("transaction_id")]
public string TransactionId { get; set; }

[JsonProperty("verified_email")]
public string VerifiedEmail { get; set; }
}
}
21 changes: 11 additions & 10 deletions src/Stripe.net/Entities/TaxIds/TaxId.cs
Original file line number Diff line number Diff line change
Expand Up @@ -90,21 +90,22 @@ public Customer Customer
/// <c>ca_pst_mb</c>, <c>ca_pst_sk</c>, <c>ca_qst</c>, <c>ch_vat</c>, <c>cl_tin</c>,
/// <c>es_cif</c>, <c>eu_oss_vat</c>, <c>eu_vat</c>, <c>gb_vat</c>, <c>ge_vat</c>,
/// <c>hk_br</c>, <c>hu_tin</c>, <c>id_npwp</c>, <c>il_vat</c>, <c>in_gst</c>,
/// <c>is_vat</c>, <c>jp_cn</c>, <c>jp_rn</c>, <c>kr_brn</c>, <c>li_uid</c>, <c>mx_rfc</c>,
/// <c>my_frp</c>, <c>my_itn</c>, <c>my_sst</c>, <c>no_vat</c>, <c>nz_gst</c>,
/// <c>ru_inn</c>, <c>ru_kpp</c>, <c>sa_vat</c>, <c>sg_gst</c>, <c>sg_uen</c>,
/// <c>si_tin</c>, <c>th_vat</c>, <c>tw_vat</c>, <c>ua_vat</c>, <c>us_ein</c>, or
/// <c>za_vat</c>. Note that some legacy tax IDs have type <c>unknown</c>.
/// <c>is_vat</c>, <c>jp_cn</c>, <c>jp_rn</c>, <c>jp_trn</c>, <c>ke_pin</c>, <c>kr_brn</c>,
/// <c>li_uid</c>, <c>mx_rfc</c>, <c>my_frp</c>, <c>my_itn</c>, <c>my_sst</c>,
/// <c>no_vat</c>, <c>nz_gst</c>, <c>ru_inn</c>, <c>ru_kpp</c>, <c>sa_vat</c>,
/// <c>sg_gst</c>, <c>sg_uen</c>, <c>si_tin</c>, <c>th_vat</c>, <c>tw_vat</c>,
/// <c>ua_vat</c>, <c>us_ein</c>, or <c>za_vat</c>. Note that some legacy tax IDs have type
/// <c>unknown</c>.
/// One of: <c>ae_trn</c>, <c>au_abn</c>, <c>au_arn</c>, <c>bg_uic</c>, <c>br_cnpj</c>,
/// <c>br_cpf</c>, <c>ca_bn</c>, <c>ca_gst_hst</c>, <c>ca_pst_bc</c>, <c>ca_pst_mb</c>,
/// <c>ca_pst_sk</c>, <c>ca_qst</c>, <c>ch_vat</c>, <c>cl_tin</c>, <c>es_cif</c>,
/// <c>eu_oss_vat</c>, <c>eu_vat</c>, <c>gb_vat</c>, <c>ge_vat</c>, <c>hk_br</c>,
/// <c>hu_tin</c>, <c>id_npwp</c>, <c>il_vat</c>, <c>in_gst</c>, <c>is_vat</c>,
/// <c>jp_cn</c>, <c>jp_rn</c>, <c>kr_brn</c>, <c>li_uid</c>, <c>mx_rfc</c>, <c>my_frp</c>,
/// <c>my_itn</c>, <c>my_sst</c>, <c>no_vat</c>, <c>nz_gst</c>, <c>ru_inn</c>,
/// <c>ru_kpp</c>, <c>sa_vat</c>, <c>sg_gst</c>, <c>sg_uen</c>, <c>si_tin</c>,
/// <c>th_vat</c>, <c>tw_vat</c>, <c>ua_vat</c>, <c>unknown</c>, <c>us_ein</c>, or
/// <c>za_vat</c>.
/// <c>jp_cn</c>, <c>jp_rn</c>, <c>jp_trn</c>, <c>ke_pin</c>, <c>kr_brn</c>, <c>li_uid</c>,
/// <c>mx_rfc</c>, <c>my_frp</c>, <c>my_itn</c>, <c>my_sst</c>, <c>no_vat</c>,
/// <c>nz_gst</c>, <c>ru_inn</c>, <c>ru_kpp</c>, <c>sa_vat</c>, <c>sg_gst</c>,
/// <c>sg_uen</c>, <c>si_tin</c>, <c>th_vat</c>, <c>tw_vat</c>, <c>ua_vat</c>,
/// <c>unknown</c>, <c>us_ein</c>, or <c>za_vat</c>.
/// </summary>
[JsonProperty("type")]
public string Type { get; set; }
Expand Down
Loading