SubscriptionCreateOptions constructor
const
SubscriptionCreateOptions({
- List<
SubscriptionScheduleAddInvoiceItemsItem> ? addInvoiceItems, - double? applicationFeePercent,
- SessionAutomaticTax? automaticTax,
- DateTime? backdateStartDate,
- DateTime? billingCycleAnchor,
- SubscriptionCreateOptionsBillingCycleAnchorConfig? billingCycleAnchorConfig,
- SubscriptionScheduleBillingThresholds? billingThresholds,
- DateTime? cancelAt,
- bool? cancelAtPeriodEnd,
- InvoiceCollectionMethod? collectionMethod,
- String? coupon,
- String? currency,
- required String customer,
- int? daysUntilDue,
- String? defaultPaymentMethod,
- String? defaultSource,
- List<
String> ? defaultTaxRates, - String? description,
- List<
String> ? expand, - SubscriptionInvoiceSettings? invoiceSettings,
- List<
SubscriptionScheduleItemsItem> ? items, - Map<
String, String> ? metadata, - bool? offSession,
- String? onBehalfOf,
- SubscriptionItemPaymentBehavior? paymentBehavior,
- SubscriptionCreateOptionsPaymentSettings? paymentSettings,
- SessionRecurring? pendingInvoiceItemInterval,
- String? promotionCode,
- PortalSubscriptionCancelProrationBehavior? prorationBehavior,
- SessionTransferData? transferData,
- SubscriptionTrialEnd? trialEnd,
- bool? trialFromPlan,
- int? trialPeriodDays,
- SessionTrialSettings? trialSettings,
Implementation
const SubscriptionCreateOptions({
this.addInvoiceItems,
this.applicationFeePercent,
this.automaticTax,
this.backdateStartDate,
this.billingCycleAnchor,
this.billingCycleAnchorConfig,
this.billingThresholds,
this.cancelAt,
this.cancelAtPeriodEnd,
this.collectionMethod,
this.coupon,
this.currency,
required this.customer,
this.daysUntilDue,
this.defaultPaymentMethod,
this.defaultSource,
this.defaultTaxRates,
this.description,
this.expand,
this.invoiceSettings,
this.items,
this.metadata,
this.offSession,
this.onBehalfOf,
this.paymentBehavior,
this.paymentSettings,
this.pendingInvoiceItemInterval,
this.promotionCode,
this.prorationBehavior,
this.transferData,
this.trialEnd,
this.trialFromPlan,
this.trialPeriodDays,
this.trialSettings,
});