Add missing billing_threshhold and metadata to ISubscriptionCreationItem (#36192)

This commit is contained in:
Michael O'Connell
2019-06-16 00:17:42 -07:00
committed by Ron Buckton
parent d147b51e09
commit 11dd5e5a7a
+16
View File
@@ -6229,6 +6229,22 @@ declare namespace Stripe {
* Quantity for this item.
*/
quantity?: number;
/**
* Define thresholds at which an invoice will be sent, and the related subscription advanced to a new billing period.
*/
billing_thresholds?: {
/**
* Usage threshold that triggers the subscription to create an invoice
*/
usage_gte: number;
};
/**
* A set of key/value pairs that you can attach to an object. It can be useful for storing
* additional information about the object in a structured format.
*/
metadata?: IOptionsMetadata;
}
interface ISubscriptionUpdateItem {