mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 22:30:01 +00:00
@types/stripe: New parameter added on stripe-sdk, subscriptions API (#43920)
* New parameter added on stripe-sdk, subscriptions API Please refer to these new parameter: https://stripe.com/docs/api/subscription_items/delete#delete_subscription_item-proration_behavior https://stripe.com/docs/api/subscription_items/update#update_subscription_item-proration_behavior * Removed: Trailing white-spaces.
This commit is contained in:
12
types/stripe/index.d.ts
vendored
12
types/stripe/index.d.ts
vendored
@@ -10709,6 +10709,12 @@ declare namespace Stripe {
|
||||
*/
|
||||
proration_date?: number;
|
||||
|
||||
/**
|
||||
* Determines how to handle prorations when the billing cycle changes or if an item’s quantity changes.
|
||||
* Prorations can be disabled by passing none.
|
||||
*/
|
||||
proration_behavior?: 'create_prorations' | 'always_invoice' | 'none';
|
||||
|
||||
/**
|
||||
* The quantity you'd like to apply to the subscription you're creating. For example, if your plan is £10/user/month, and your customer
|
||||
* has 5 users, you could pass 5 as the quantity to have the customer charged £50 (5 x £10) monthly. If you update a subscription but
|
||||
@@ -10994,6 +11000,12 @@ declare namespace Stripe {
|
||||
* proration that was previewed with the upcoming invoice endpoint.
|
||||
*/
|
||||
proration_date?: number;
|
||||
|
||||
/**
|
||||
* Determines how to handle prorations when the billing cycle changes or if an item’s quantity changes.
|
||||
* Prorations can be disabled by passing none.
|
||||
*/
|
||||
proration_behavior?: 'create_prorations' | 'always_invoice' | 'none';
|
||||
}
|
||||
|
||||
interface ISubscriptionItemListOptions extends IListOptionsCreated {
|
||||
|
||||
Reference in New Issue
Block a user