mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 14:57:10 +00:00
Merge pull request #32689 from rayalan/master
stripe: Update cancel subscription options as of 2018-11-08
This commit is contained in:
Vendored
+12
@@ -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