mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-06 15:57:13 +00:00
Add missing billing_threshhold and metadata to ISubscriptionCreationItem (#36192)
This commit is contained in:
committed by
Ron Buckton
parent
d147b51e09
commit
11dd5e5a7a
Vendored
+16
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user