SubscriptionCreateOptions constructor

const SubscriptionCreateOptions({
  1. List<SubscriptionScheduleAddInvoiceItemsItem>? addInvoiceItems,
  2. double? applicationFeePercent,
  3. SessionAutomaticTax? automaticTax,
  4. DateTime? backdateStartDate,
  5. DateTime? billingCycleAnchor,
  6. SubscriptionCreateOptionsBillingCycleAnchorConfig? billingCycleAnchorConfig,
  7. SubscriptionScheduleBillingThresholds? billingThresholds,
  8. DateTime? cancelAt,
  9. bool? cancelAtPeriodEnd,
  10. InvoiceCollectionMethod? collectionMethod,
  11. String? coupon,
  12. String? currency,
  13. required String customer,
  14. int? daysUntilDue,
  15. String? defaultPaymentMethod,
  16. String? defaultSource,
  17. List<String>? defaultTaxRates,
  18. String? description,
  19. List<String>? expand,
  20. SubscriptionInvoiceSettings? invoiceSettings,
  21. List<SubscriptionScheduleItemsItem>? items,
  22. Map<String, String>? metadata,
  23. bool? offSession,
  24. String? onBehalfOf,
  25. SubscriptionItemPaymentBehavior? paymentBehavior,
  26. SubscriptionCreateOptionsPaymentSettings? paymentSettings,
  27. SessionRecurring? pendingInvoiceItemInterval,
  28. String? promotionCode,
  29. PortalSubscriptionCancelProrationBehavior? prorationBehavior,
  30. SessionTransferData? transferData,
  31. SubscriptionTrialEnd? trialEnd,
  32. bool? trialFromPlan,
  33. int? trialPeriodDays,
  34. 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,
});