Skip to content

Commit

Permalink
Merge pull request stripe#1061 from stripe/remi/codegen-cdc85cf
Browse files Browse the repository at this point in the history
Add support for `company[registration_number]` on `Account`
  • Loading branch information
remi-stripe authored Nov 4, 2020
2 parents c9c12cb + 6778d4e commit 82bc5a5
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
10 changes: 10 additions & 0 deletions types/2020-08-27/Accounts.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1215,6 +1215,11 @@ declare module 'stripe' {
*/
phone?: string;

/**
* 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).
*/
registration_number?: string;

/**
* The category identifying the legal structure of the company or legal entity. See [Business structure](https://stripe.com/docs/connect/identity-verification#business-structure) for more details.
*/
Expand Down Expand Up @@ -2118,6 +2123,11 @@ declare module 'stripe' {
*/
phone?: string;

/**
* 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).
*/
registration_number?: string;

/**
* The category identifying the legal structure of the company or legal entity. See [Business structure](https://stripe.com/docs/connect/identity-verification#business-structure) for more details.
*/
Expand Down
2 changes: 1 addition & 1 deletion types/2020-08-27/Invoices.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1249,7 +1249,7 @@ declare module 'stripe' {

class InvoicesResource {
/**
* This endpoint creates a draft invoice for a given customer. The draft invoice created pulls in all pending invoice items on that customer, including prorations.
* This endpoint creates a draft invoice for a given customer. The draft invoice created pulls in all pending invoice items on that customer, including prorations. The invoice remains a draft until you [finalize the invoice, which allows you to [pay](#pay_invoice) or <a href="#send_invoice">send](https://stripe.com/docs/api#finalize_invoice) the invoice to your customers.
*/
create(
params: InvoiceCreateParams,
Expand Down
5 changes: 5 additions & 0 deletions types/2020-08-27/Tokens.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,11 @@ declare module 'stripe' {
*/
phone?: string;

/**
* 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).
*/
registration_number?: string;

/**
* The category identifying the legal structure of the company or legal entity. See [Business structure](https://stripe.com/docs/connect/identity-verification#business-structure) for more details.
*/
Expand Down

0 comments on commit 82bc5a5

Please sign in to comment.