From 3a7e4864a0bed4f554668cd69756cf59c293875b Mon Sep 17 00:00:00 2001 From: Kevin Mircovich Date: Fri, 3 Aug 2018 13:55:00 -0400 Subject: [PATCH] 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) --- types/stripe/index.d.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/types/stripe/index.d.ts b/types/stripe/index.d.ts index bf359012d1..e05908e579 100644 --- a/types/stripe/index.d.ts +++ b/types/stripe/index.d.ts @@ -4679,6 +4679,12 @@ declare namespace Stripe { */ trial_period_days?: number; + /** + * Indicates if a plan’s 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. */