CreateSubscriptionOpts constructor

CreateSubscriptionOpts({
  1. bool? active,
  2. List<Map<String, dynamic>>? addInvoiceItems,
  3. int? amount,
  4. int? applicationFeePercent,
  5. int? backdateStartSate,
  6. int? billingCycleAnchor,
  7. BillingThresholdsOpts? billingThresholds,
  8. int? cancelAt,
  9. bool? cancelAtPeriodEnd,
  10. Method? collectionMethod,
  11. String? coupon,
  12. String? currency,
  13. String? customer,
  14. int? daysUntilDue,
  15. String? defaultPaymentMethod,
  16. String? defaultSource,
  17. String? defaultTaxRates,
  18. Interval? interval,
  19. List<SubscriptionItemOpts>? items,
  20. Map<String, dynamic>? metadata,
  21. bool? offSession,
  22. PaymentBehaviour? paymentBehaviour,
  23. String? plan,
  24. String? price,
  25. String? quantity,
})

Implementation

CreateSubscriptionOpts({
  this.active,
  this.addInvoiceItems,
  this.amount,
  this.applicationFeePercent,
  this.backdateStartSate,
  this.billingCycleAnchor,
  this.billingThresholds,
  this.cancelAt,
  this.cancelAtPeriodEnd,
  this.collectionMethod,
  this.coupon,
  this.currency,
  this.customer,
  this.daysUntilDue,
  this.defaultPaymentMethod,
  this.defaultSource,
  this.defaultTaxRates,
  this.interval,
  this.items,
  this.metadata,
  this.offSession,
  this.paymentBehaviour,
  this.plan,
  this.price,
  this.quantity,
});