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 support for RegistrationNumber in AccountCompany on Account #2243

Merged
merged 1 commit into from
Nov 4, 2020
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
9 changes: 9 additions & 0 deletions src/Stripe.net/Services/Accounts/AccountCompanyOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,15 @@ public class AccountCompanyOptions : INestedOptions
[JsonProperty("phone")]
public string Phone { get; set; }

/// <summary>
/// The identification number given to a company when it is registered or incorporated, if
/// distinct from the identification number used for filing taxes. (Examples are the CIN for
/// companies and LLP IN for partnerships in India, and the Company Registration Number in
/// Hong Kong).
/// </summary>
[JsonProperty("registration_number")]
public string RegistrationNumber { get; set; }

/// <summary>
/// The category identifying the legal structure of the company or legal entity. See <a
/// href="https://stripe.com/docs/connect/identity-verification#business-structure">Business
Expand Down
9 changes: 9 additions & 0 deletions src/Stripe.net/Services/Tokens/TokenAccountCompanyOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,15 @@ public class TokenAccountCompanyOptions : INestedOptions
[JsonProperty("phone")]
public string Phone { get; set; }

/// <summary>
/// The identification number given to a company when it is registered or incorporated, if
/// distinct from the identification number used for filing taxes. (Examples are the CIN for
/// companies and LLP IN for partnerships in India, and the Company Registration Number in
/// Hong Kong).
/// </summary>
[JsonProperty("registration_number")]
public string RegistrationNumber { get; set; }

/// <summary>
/// The category identifying the legal structure of the company or legal entity. See <a
/// href="https://stripe.com/docs/connect/identity-verification#business-structure">Business
Expand Down