mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-01 15:50:13 +00:00
Merge pull request #32689 from rayalan/master
stripe: Update cancel subscription options as of 2018-11-08
This commit is contained in:
12
types/stripe/index.d.ts
vendored
12
types/stripe/index.d.ts
vendored
@@ -4870,6 +4870,18 @@ declare namespace Stripe {
|
||||
|
||||
interface ISubscriptionCancellationOptions extends IDataOptions {
|
||||
/**
|
||||
* Will generate a final invoice that invoices for any un-invoiced metered usage and new/pending proration invoice items.
|
||||
*/
|
||||
invoice_now?: boolean;
|
||||
|
||||
/**
|
||||
* Will generate a proration invoice item that credits remaining unused time until the subscription period end.
|
||||
*/
|
||||
prorate?: boolean;
|
||||
|
||||
/**
|
||||
* @deprecated Use subscription update with cancel_at_period_end option as of 2018-08-23.
|
||||
*
|
||||
* A flag that if set to true will delay the cancellation of the subscription until the end of the current period.
|
||||
*/
|
||||
at_period_end?: boolean;
|
||||
|
||||
Reference in New Issue
Block a user