updated stripe types, added unit_label in products

This commit is contained in:
saranshkataria
2019-02-19 16:27:08 -08:00
parent 1f68a152c3
commit 83bd66ec83

View File

@@ -16,6 +16,7 @@
// Simon Schick <https://github.com/SimonSchick>
// Slava Yultyyev <https://github.com/yultyyev>
// Corey Psoinos <https://github.com/cpsoinos>
// Saransh Kataria <https://github.com/saranshkataria>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.2
@@ -3383,6 +3384,12 @@ declare namespace Stripe {
* May only be set if type=service.
*/
statement_descriptor?: string;
/**
* A label that represents units of this product, such as seat(s), in Stripe and on customers receipts and invoices.
* Only available on products of type=service.
*/
unit_label?: string;
}
interface IProductUpdateOptions extends IDataOptionsWithMetadata {