Merge pull request #32689 from rayalan/master

stripe: Update cancel subscription options as of 2018-11-08
This commit is contained in:
Armando Aguirre
2019-02-08 11:26:54 -08:00
committed by GitHub

View File

@@ -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;