Add customer fields to invoice object for Stripe (#36130)

This commit is contained in:
Josiah 2019-06-12 12:08:15 -07:00 committed by Ron Buckton
parent 9d26e2f044
commit 4adcbedff3

View File

@ -22,6 +22,7 @@
// Gokul Chandrasekaran <https://github.com/gokulchandra>
// Jamie Davies <https://github.com/viralpickaxe>
// Christopher Eck <https://github.com/chrisleck>
// Josiah <https://github.com/spacetag>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.2
@ -2494,6 +2495,24 @@ declare namespace Stripe {
customer: string | customers.ICustomer;
/**
* The customers 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 customers 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 customers 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.
*/