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

Add nationality to Person #2279

Merged
merged 1 commit into from
Feb 2, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@ public class SessionCustomerDetailsTaxId : StripeEntity<SessionCustomerDetailsTa
{
/// <summary>
/// The type of the tax ID, one of <c>eu_vat</c>, <c>br_cnpj</c>, <c>br_cpf</c>,
/// <c>nz_gst</c>, <c>au_abn</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>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>, or <c>unknown</c>.
/// <c>gb_vat</c>, <c>nz_gst</c>, <c>au_abn</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>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>, or <c>unknown</c>.
/// One of: <c>ae_trn</c>, <c>au_abn</c>, <c>br_cnpj</c>, <c>br_cpf</c>, <c>ca_bn</c>,
/// <c>ca_qst</c>, <c>ch_vat</c>, <c>cl_tin</c>, <c>es_cif</c>, <c>eu_vat</c>, <c>hk_br</c>,
/// <c>id_npwp</c>, <c>in_gst</c>, <c>jp_cn</c>, <c>jp_rn</c>, <c>kr_brn</c>, <c>li_uid</c>,
/// <c>mx_rfc</c>, <c>my_frp</c>, <c>my_itn</c>, <c>my_sst</c>, <c>no_vat</c>,
/// <c>nz_gst</c>, <c>ru_inn</c>, <c>ru_kpp</c>, <c>sa_vat</c>, <c>sg_gst</c>,
/// <c>sg_uen</c>, <c>th_vat</c>, <c>tw_vat</c>, <c>unknown</c>, <c>us_ein</c>, or
/// <c>za_vat</c>.
/// <c>ca_qst</c>, <c>ch_vat</c>, <c>cl_tin</c>, <c>es_cif</c>, <c>eu_vat</c>,
/// <c>gb_vat</c>, <c>hk_br</c>, <c>id_npwp</c>, <c>in_gst</c>, <c>jp_cn</c>, <c>jp_rn</c>,
/// <c>kr_brn</c>, <c>li_uid</c>, <c>mx_rfc</c>, <c>my_frp</c>, <c>my_itn</c>,
/// <c>my_sst</c>, <c>no_vat</c>, <c>nz_gst</c>, <c>ru_inn</c>, <c>ru_kpp</c>,
/// <c>sa_vat</c>, <c>sg_gst</c>, <c>sg_uen</c>, <c>th_vat</c>, <c>tw_vat</c>,
/// <c>unknown</c>, <c>us_ein</c>, or <c>za_vat</c>.
/// </summary>
[JsonProperty("type")]
public string Type { get; set; }
Expand Down
24 changes: 12 additions & 12 deletions src/Stripe.net/Entities/Invoices/InvoiceCustomerTaxId.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@ public class InvoiceCustomerTaxId : StripeEntity<InvoiceCustomerTaxId>
{
/// <summary>
/// The type of the tax ID, one of <c>eu_vat</c>, <c>br_cnpj</c>, <c>br_cpf</c>,
/// <c>nz_gst</c>, <c>au_abn</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>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>, or <c>unknown</c>.
/// <c>gb_vat</c>, <c>nz_gst</c>, <c>au_abn</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>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>, or <c>unknown</c>.
/// One of: <c>ae_trn</c>, <c>au_abn</c>, <c>br_cnpj</c>, <c>br_cpf</c>, <c>ca_bn</c>,
/// <c>ca_qst</c>, <c>ch_vat</c>, <c>cl_tin</c>, <c>es_cif</c>, <c>eu_vat</c>, <c>hk_br</c>,
/// <c>id_npwp</c>, <c>in_gst</c>, <c>jp_cn</c>, <c>jp_rn</c>, <c>kr_brn</c>, <c>li_uid</c>,
/// <c>mx_rfc</c>, <c>my_frp</c>, <c>my_itn</c>, <c>my_sst</c>, <c>no_vat</c>,
/// <c>nz_gst</c>, <c>ru_inn</c>, <c>ru_kpp</c>, <c>sa_vat</c>, <c>sg_gst</c>,
/// <c>sg_uen</c>, <c>th_vat</c>, <c>tw_vat</c>, <c>unknown</c>, <c>us_ein</c>, or
/// <c>za_vat</c>.
/// <c>ca_qst</c>, <c>ch_vat</c>, <c>cl_tin</c>, <c>es_cif</c>, <c>eu_vat</c>,
/// <c>gb_vat</c>, <c>hk_br</c>, <c>id_npwp</c>, <c>in_gst</c>, <c>jp_cn</c>, <c>jp_rn</c>,
/// <c>kr_brn</c>, <c>li_uid</c>, <c>mx_rfc</c>, <c>my_frp</c>, <c>my_itn</c>,
/// <c>my_sst</c>, <c>no_vat</c>, <c>nz_gst</c>, <c>ru_inn</c>, <c>ru_kpp</c>,
/// <c>sa_vat</c>, <c>sg_gst</c>, <c>sg_uen</c>, <c>th_vat</c>, <c>tw_vat</c>,
/// <c>unknown</c>, <c>us_ein</c>, or <c>za_vat</c>.
/// </summary>
[JsonProperty("type")]
public string Type { get; set; }
Expand Down
6 changes: 3 additions & 3 deletions src/Stripe.net/Entities/Issuing/Disputes/Dispute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ public class Dispute : StripeEntity<Dispute>, IHasId, IHasMetadata, IHasObject,
public string Object { get; set; }

/// <summary>
/// Disputed amount. Usually the amount of the <c>disputed_transaction</c>, but can differ
/// (usually because of currency fluctuation).
/// Disputed amount. Usually the amount of the <c>transaction</c>, but can differ (usually
/// because of currency fluctuation).
/// </summary>
[JsonProperty("amount")]
public long Amount { get; set; }
Expand All @@ -41,7 +41,7 @@ public class Dispute : StripeEntity<Dispute>, IHasId, IHasMetadata, IHasObject,
public DateTime Created { get; set; } = Stripe.Infrastructure.DateTimeUtils.UnixEpoch;

/// <summary>
/// The currency the <c>disputed_transaction</c> was made in.
/// The currency the <c>transaction</c> was made in.
/// </summary>
[JsonProperty("currency")]
public string Currency { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ public class PaymentIntentNextAction : StripeEntity<PaymentIntentNextAction>
public PaymentIntentNextActionRedirectToUrl RedirectToUrl { get; set; }

/// <summary>
/// Type of the next action to perform, one of <c>redirect_to_url</c> or
/// <c>use_stripe_sdk</c>.
/// Type of the next action to perform, one of <c>redirect_to_url</c>,
/// <c>use_stripe_sdk</c>, <c>alipay_handle_redirect</c>, or <c>oxxo_display_details</c>.
/// </summary>
[JsonProperty("type")]
public string Type { get; set; }
Expand Down
6 changes: 6 additions & 0 deletions src/Stripe.net/Entities/Persons/Person.cs
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,12 @@ public class Person : StripeEntity<Person>, IHasId, IHasMetadata, IHasObject
[JsonProperty("metadata")]
public Dictionary<string, string> Metadata { get; set; }

/// <summary>
/// The country where the person is a national.
/// </summary>
[JsonProperty("nationality")]
public string Nationality { get; set; }

/// <summary>
/// The person's phone number.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ public class SetupIntentNextAction : StripeEntity<SetupIntentNextAction>
public SetupIntentNextActionRedirectToUrl RedirectToUrl { get; set; }

/// <summary>
/// Type of the next action to perform, one of <c>redirect_to_url</c> or
/// <c>use_stripe_sdk</c>.
/// Type of the next action to perform, one of <c>redirect_to_url</c>,
/// <c>use_stripe_sdk</c>, <c>alipay_handle_redirect</c>, or <c>oxxo_display_details</c>.
/// </summary>
[JsonProperty("type")]
public string Type { get; set; }
Expand Down
22 changes: 11 additions & 11 deletions src/Stripe.net/Entities/TaxIds/TaxId.cs
Original file line number Diff line number Diff line change
Expand Up @@ -79,18 +79,18 @@ public Customer Customer
/// <summary>
/// Type of the tax ID, one of <c>ae_trn</c>, <c>au_abn</c>, <c>br_cnpj</c>, <c>br_cpf</c>,
/// <c>ca_bn</c>, <c>ca_qst</c>, <c>ch_vat</c>, <c>cl_tin</c>, <c>es_cif</c>, <c>eu_vat</c>,
/// <c>hk_br</c>, <c>id_npwp</c>, <c>in_gst</c>, <c>jp_cn</c>, <c>jp_rn</c>, <c>kr_brn</c>,
/// <c>li_uid</c>, <c>mx_rfc</c>, <c>my_frp</c>, <c>my_itn</c>, <c>my_sst</c>,
/// <c>no_vat</c>, <c>nz_gst</c>, <c>ru_inn</c>, <c>ru_kpp</c>, <c>sa_vat</c>,
/// <c>sg_gst</c>, <c>sg_uen</c>, <c>th_vat</c>, <c>tw_vat</c>, <c>us_ein</c>, or
/// <c>za_vat</c>. Note that some legacy tax IDs have type <c>unknown</c>.
/// <c>gb_vat</c>, <c>hk_br</c>, <c>id_npwp</c>, <c>in_gst</c>, <c>jp_cn</c>, <c>jp_rn</c>,
/// <c>kr_brn</c>, <c>li_uid</c>, <c>mx_rfc</c>, <c>my_frp</c>, <c>my_itn</c>,
/// <c>my_sst</c>, <c>no_vat</c>, <c>nz_gst</c>, <c>ru_inn</c>, <c>ru_kpp</c>,
/// <c>sa_vat</c>, <c>sg_gst</c>, <c>sg_uen</c>, <c>th_vat</c>, <c>tw_vat</c>,
/// <c>us_ein</c>, or <c>za_vat</c>. Note that some legacy tax IDs have type <c>unknown</c>.
/// One of: <c>ae_trn</c>, <c>au_abn</c>, <c>br_cnpj</c>, <c>br_cpf</c>, <c>ca_bn</c>,
/// <c>ca_qst</c>, <c>ch_vat</c>, <c>cl_tin</c>, <c>es_cif</c>, <c>eu_vat</c>, <c>hk_br</c>,
/// <c>id_npwp</c>, <c>in_gst</c>, <c>jp_cn</c>, <c>jp_rn</c>, <c>kr_brn</c>, <c>li_uid</c>,
/// <c>mx_rfc</c>, <c>my_frp</c>, <c>my_itn</c>, <c>my_sst</c>, <c>no_vat</c>,
/// <c>nz_gst</c>, <c>ru_inn</c>, <c>ru_kpp</c>, <c>sa_vat</c>, <c>sg_gst</c>,
/// <c>sg_uen</c>, <c>th_vat</c>, <c>tw_vat</c>, <c>unknown</c>, <c>us_ein</c>, or
/// <c>za_vat</c>.
/// <c>ca_qst</c>, <c>ch_vat</c>, <c>cl_tin</c>, <c>es_cif</c>, <c>eu_vat</c>,
/// <c>gb_vat</c>, <c>hk_br</c>, <c>id_npwp</c>, <c>in_gst</c>, <c>jp_cn</c>, <c>jp_rn</c>,
/// <c>kr_brn</c>, <c>li_uid</c>, <c>mx_rfc</c>, <c>my_frp</c>, <c>my_itn</c>,
/// <c>my_sst</c>, <c>no_vat</c>, <c>nz_gst</c>, <c>ru_inn</c>, <c>ru_kpp</c>,
/// <c>sa_vat</c>, <c>sg_gst</c>, <c>sg_uen</c>, <c>th_vat</c>, <c>tw_vat</c>,
/// <c>unknown</c>, <c>us_ein</c>, or <c>za_vat</c>.
/// </summary>
[JsonProperty("type")]
public string Type { get; set; }
Expand Down
21 changes: 11 additions & 10 deletions src/Stripe.net/Services/Customers/CustomerTaxIdDataOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,18 @@ public class CustomerTaxIdDataOptions : INestedOptions
/// <summary>
/// Type of the tax ID, one of <c>ae_trn</c>, <c>au_abn</c>, <c>br_cnpj</c>, <c>br_cpf</c>,
/// <c>ca_bn</c>, <c>ca_qst</c>, <c>ch_vat</c>, <c>cl_tin</c>, <c>es_cif</c>, <c>eu_vat</c>,
/// <c>hk_br</c>, <c>id_npwp</c>, <c>in_gst</c>, <c>jp_cn</c>, <c>jp_rn</c>, <c>kr_brn</c>,
/// <c>li_uid</c>, <c>mx_rfc</c>, <c>my_frp</c>, <c>my_itn</c>, <c>my_sst</c>,
/// <c>no_vat</c>, <c>nz_gst</c>, <c>ru_inn</c>, <c>ru_kpp</c>, <c>sa_vat</c>,
/// <c>sg_gst</c>, <c>sg_uen</c>, <c>th_vat</c>, <c>tw_vat</c>, <c>us_ein</c>, or
/// <c>za_vat</c>.
/// <c>gb_vat</c>, <c>hk_br</c>, <c>id_npwp</c>, <c>in_gst</c>, <c>jp_cn</c>, <c>jp_rn</c>,
/// <c>kr_brn</c>, <c>li_uid</c>, <c>mx_rfc</c>, <c>my_frp</c>, <c>my_itn</c>,
/// <c>my_sst</c>, <c>no_vat</c>, <c>nz_gst</c>, <c>ru_inn</c>, <c>ru_kpp</c>,
/// <c>sa_vat</c>, <c>sg_gst</c>, <c>sg_uen</c>, <c>th_vat</c>, <c>tw_vat</c>,
/// <c>us_ein</c>, or <c>za_vat</c>.
/// One of: <c>ae_trn</c>, <c>au_abn</c>, <c>br_cnpj</c>, <c>br_cpf</c>, <c>ca_bn</c>,
/// <c>ca_qst</c>, <c>ch_vat</c>, <c>cl_tin</c>, <c>es_cif</c>, <c>eu_vat</c>, <c>hk_br</c>,
/// <c>id_npwp</c>, <c>in_gst</c>, <c>jp_cn</c>, <c>jp_rn</c>, <c>kr_brn</c>, <c>li_uid</c>,
/// <c>mx_rfc</c>, <c>my_frp</c>, <c>my_itn</c>, <c>my_sst</c>, <c>no_vat</c>,
/// <c>nz_gst</c>, <c>ru_inn</c>, <c>ru_kpp</c>, <c>sa_vat</c>, <c>sg_gst</c>,
/// <c>sg_uen</c>, <c>th_vat</c>, <c>tw_vat</c>, <c>us_ein</c>, or <c>za_vat</c>.
/// <c>ca_qst</c>, <c>ch_vat</c>, <c>cl_tin</c>, <c>es_cif</c>, <c>eu_vat</c>,
/// <c>gb_vat</c>, <c>hk_br</c>, <c>id_npwp</c>, <c>in_gst</c>, <c>jp_cn</c>, <c>jp_rn</c>,
/// <c>kr_brn</c>, <c>li_uid</c>, <c>mx_rfc</c>, <c>my_frp</c>, <c>my_itn</c>,
/// <c>my_sst</c>, <c>no_vat</c>, <c>nz_gst</c>, <c>ru_inn</c>, <c>ru_kpp</c>,
/// <c>sa_vat</c>, <c>sg_gst</c>, <c>sg_uen</c>, <c>th_vat</c>, <c>tw_vat</c>,
/// <c>us_ein</c>, or <c>za_vat</c>.
/// </summary>
[JsonProperty("type")]
public string Type { get; set; }
Expand Down
8 changes: 8 additions & 0 deletions src/Stripe.net/Services/Persons/PersonCreateOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,14 @@ public class PersonCreateOptions : BaseOptions, IHasMetadata
[JsonProperty("metadata")]
public Dictionary<string, string> Metadata { get; set; }

/// <summary>
/// The country where the person is a national. Two-letter country code (<a
/// href="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2">ISO 3166-1 alpha-2</a>), or "XX"
/// if unavailable.
/// </summary>
[JsonProperty("nationality")]
public string Nationality { get; set; }

/// <summary>
/// A <a href="https://stripe.com/docs/connect/account-tokens">person token</a>, used to
/// securely provide details to the person.
Expand Down
8 changes: 8 additions & 0 deletions src/Stripe.net/Services/Persons/PersonUpdateOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,14 @@ public class PersonUpdateOptions : BaseOptions, IHasMetadata
[JsonProperty("metadata")]
public Dictionary<string, string> Metadata { get; set; }

/// <summary>
/// The country where the person is a national. Two-letter country code (<a
/// href="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2">ISO 3166-1 alpha-2</a>), or "XX"
/// if unavailable.
/// </summary>
[JsonProperty("nationality")]
public string Nationality { get; set; }

/// <summary>
/// A <a href="https://stripe.com/docs/connect/account-tokens">person token</a>, used to
/// securely provide details to the person.
Expand Down
21 changes: 11 additions & 10 deletions src/Stripe.net/Services/TaxIds/TaxIdCreateOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,18 @@ public class TaxIdCreateOptions : BaseOptions
/// <summary>
/// Type of the tax ID, one of <c>ae_trn</c>, <c>au_abn</c>, <c>br_cnpj</c>, <c>br_cpf</c>,
/// <c>ca_bn</c>, <c>ca_qst</c>, <c>ch_vat</c>, <c>cl_tin</c>, <c>es_cif</c>, <c>eu_vat</c>,
/// <c>hk_br</c>, <c>id_npwp</c>, <c>in_gst</c>, <c>jp_cn</c>, <c>jp_rn</c>, <c>kr_brn</c>,
/// <c>li_uid</c>, <c>mx_rfc</c>, <c>my_frp</c>, <c>my_itn</c>, <c>my_sst</c>,
/// <c>no_vat</c>, <c>nz_gst</c>, <c>ru_inn</c>, <c>ru_kpp</c>, <c>sa_vat</c>,
/// <c>sg_gst</c>, <c>sg_uen</c>, <c>th_vat</c>, <c>tw_vat</c>, <c>us_ein</c>, or
/// <c>za_vat</c>.
/// <c>gb_vat</c>, <c>hk_br</c>, <c>id_npwp</c>, <c>in_gst</c>, <c>jp_cn</c>, <c>jp_rn</c>,
/// <c>kr_brn</c>, <c>li_uid</c>, <c>mx_rfc</c>, <c>my_frp</c>, <c>my_itn</c>,
/// <c>my_sst</c>, <c>no_vat</c>, <c>nz_gst</c>, <c>ru_inn</c>, <c>ru_kpp</c>,
/// <c>sa_vat</c>, <c>sg_gst</c>, <c>sg_uen</c>, <c>th_vat</c>, <c>tw_vat</c>,
/// <c>us_ein</c>, or <c>za_vat</c>.
/// One of: <c>ae_trn</c>, <c>au_abn</c>, <c>br_cnpj</c>, <c>br_cpf</c>, <c>ca_bn</c>,
/// <c>ca_qst</c>, <c>ch_vat</c>, <c>cl_tin</c>, <c>es_cif</c>, <c>eu_vat</c>, <c>hk_br</c>,
/// <c>id_npwp</c>, <c>in_gst</c>, <c>jp_cn</c>, <c>jp_rn</c>, <c>kr_brn</c>, <c>li_uid</c>,
/// <c>mx_rfc</c>, <c>my_frp</c>, <c>my_itn</c>, <c>my_sst</c>, <c>no_vat</c>,
/// <c>nz_gst</c>, <c>ru_inn</c>, <c>ru_kpp</c>, <c>sa_vat</c>, <c>sg_gst</c>,
/// <c>sg_uen</c>, <c>th_vat</c>, <c>tw_vat</c>, <c>us_ein</c>, or <c>za_vat</c>.
/// <c>ca_qst</c>, <c>ch_vat</c>, <c>cl_tin</c>, <c>es_cif</c>, <c>eu_vat</c>,
/// <c>gb_vat</c>, <c>hk_br</c>, <c>id_npwp</c>, <c>in_gst</c>, <c>jp_cn</c>, <c>jp_rn</c>,
/// <c>kr_brn</c>, <c>li_uid</c>, <c>mx_rfc</c>, <c>my_frp</c>, <c>my_itn</c>,
/// <c>my_sst</c>, <c>no_vat</c>, <c>nz_gst</c>, <c>ru_inn</c>, <c>ru_kpp</c>,
/// <c>sa_vat</c>, <c>sg_gst</c>, <c>sg_uen</c>, <c>th_vat</c>, <c>tw_vat</c>,
/// <c>us_ein</c>, or <c>za_vat</c>.
/// </summary>
[JsonProperty("type")]
public string Type { get; set; }
Expand Down
8 changes: 8 additions & 0 deletions src/Stripe.net/Services/Tokens/TokenPersonOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,14 @@ public class TokenPersonOptions : INestedOptions, IHasMetadata
[JsonProperty("metadata")]
public Dictionary<string, string> Metadata { get; set; }

/// <summary>
/// The country where the person is a national. Two-letter country code (<a
/// href="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2">ISO 3166-1 alpha-2</a>), or "XX"
/// if unavailable.
/// </summary>
[JsonProperty("nationality")]
public string Nationality { get; set; }

/// <summary>
/// The person's phone number.
/// </summary>
Expand Down