SubscriptionUpdateOptions constructor

const SubscriptionUpdateOptions({
  1. List<SubscriptionScheduleAddInvoiceItemsItem>? addInvoiceItems,
  2. double? applicationFeePercent,
  3. SessionAutomaticTax? automaticTax,
  4. SubscriptionBillingCycleAnchor? billingCycleAnchor,
  5. SubscriptionScheduleBillingThresholds? billingThresholds,
  6. DateTime? cancelAt,
  7. bool? cancelAtPeriodEnd,
  8. SubscriptionCancellationDetails? cancellationDetails,
  9. InvoiceCollectionMethod? collectionMethod,
  10. String? coupon,
  11. int? daysUntilDue,
  12. String? defaultPaymentMethod,
  13. String? defaultSource,
  14. List<String>? defaultTaxRates,
  15. String? description,
  16. List<String>? expand,
  17. SubscriptionInvoiceSettings? invoiceSettings,
  18. List<UpcomingSubscriptionItemsItem>? items,
  19. Map<String, String>? metadata,
  20. bool? offSession,
  21. String? onBehalfOf,
  22. SubscriptionUpdateOptionsPauseCollection? pauseCollection,
  23. SubscriptionItemPaymentBehavior? paymentBehavior,
  24. SubscriptionCreateOptionsPaymentSettings? paymentSettings,
  25. SessionRecurring? pendingInvoiceItemInterval,
  26. String? promotionCode,
  27. PortalSubscriptionCancelProrationBehavior? prorationBehavior,
  28. DateTime? prorationDate,
  29. SessionTransferData? transferData,
  30. SubscriptionTrialEnd? trialEnd,
  31. bool? trialFromPlan,
  32. SessionTrialSettings? trialSettings,
})

Implementation

const SubscriptionUpdateOptions({
  this.addInvoiceItems,
  this.applicationFeePercent,
  this.automaticTax,
  this.billingCycleAnchor,
  this.billingThresholds,
  this.cancelAt,
  this.cancelAtPeriodEnd,
  this.cancellationDetails,
  this.collectionMethod,
  this.coupon,
  this.daysUntilDue,
  this.defaultPaymentMethod,
  this.defaultSource,
  this.defaultTaxRates,
  this.description,
  this.expand,
  this.invoiceSettings,
  this.items,
  this.metadata,
  this.offSession,
  this.onBehalfOf,
  this.pauseCollection,
  this.paymentBehavior,
  this.paymentSettings,
  this.pendingInvoiceItemInterval,
  this.promotionCode,
  this.prorationBehavior,
  this.prorationDate,
  this.transferData,
  this.trialEnd,
  this.trialFromPlan,
  this.trialSettings,
});