diff --git a/types/stripe/index.d.ts b/types/stripe/index.d.ts index ca70d09ee2..d7febaa34a 100644 --- a/types/stripe/index.d.ts +++ b/types/stripe/index.d.ts @@ -22,6 +22,7 @@ // Gokul Chandrasekaran // Jamie Davies // Christopher Eck +// Josiah // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.2 @@ -2494,6 +2495,24 @@ declare namespace Stripe { customer: string | customers.ICustomer; + /** + * The customer’s email. Until the invoice is finalized, this field will equal customer.email. + * Once the invoice is finalized, this field will no longer be updated. + */ + customer_email: string; + + /** + * The customer’s name. Until the invoice is finalized, this field will equal customer.name. + * Once the invoice is finalized, this field will no longer be updated. + */ + customer_name: string; + + /** + * The customer’s phone number. Until the invoice is finalized, this field will equal customer.phone. + * Once the invoice is finalized, this field will no longer be updated. + */ + customer_phone: string; + /** * Time at which the object was created. Measured in seconds since the Unix epoch. */