added trial_from_plan to ISubscriptionCustCreationOptions interface (#27820)

This property was added to the Stripe API on 2018-05-21

[API Change Log](https://stripe.com/docs/upgrades#2018-05-21)
[API Docs](https://stripe.com/docs/api#create_subscription-trial_from_plan)
This commit is contained in:
Kevin Mircovich
2018-08-03 13:55:00 -04:00
committed by Sheetal Nandi
parent 9241cf1a2b
commit 3a7e4864a0

View File

@@ -4679,6 +4679,12 @@ declare namespace Stripe {
*/
trial_period_days?: number;
/**
* Indicates if a plans trial_period_days should be applied to the subscription. Setting trial_end per subscription is preferred,
* and this defaults to false. Setting this flag to true together with trial_end is not allowed.
*/
trial_from_plan?: boolean;
/**
* List of subscription items, each with an attached plan.
*/