Subscription constructor

Subscription({
  1. String? id,
  2. String? object,
  3. dynamic applicationFeePercent,
  4. int? billingCycleAnchor,
  5. BillingThresholds? billingThresholds,
  6. int? cancelAt,
  7. bool? cancelAtPeriodEnd,
  8. int? canceledAt,
  9. String? collectionMethod,
  10. int? created,
  11. int? currentPeriodEnd,
  12. int? currentPeriodStart,
  13. dynamic customer,
  14. int? daysUntilDue,
  15. dynamic defaultPaymentMethod,
  16. dynamic defaultSource,
  17. List<Rate>? defaultTaxRates,
  18. Discount? discount,
  19. int? endedAt,
  20. SubscriptionItems? items,
  21. dynamic latestInvoice,
  22. bool? livemode,
  23. Map<String, dynamic>? metadata,
  24. int? nextPendingInvoiceItemInvoice,
  25. dynamic pauseCollection,
  26. dynamic pendingInvoiceItemInterval,
  27. dynamic pendingSetupIntent,
  28. dynamic pendingUpdate,
  29. Plan? plan,
  30. int? quantity,
  31. dynamic schedule,
  32. int? startDate,
  33. String? status,
  34. dynamic taxPercent,
  35. int? trialEnd,
  36. dynamic trialStart,
})

Implementation

Subscription({
  this.id,
  this.object,
  this.applicationFeePercent,
  this.billingCycleAnchor,
  this.billingThresholds,
  this.cancelAt,
  this.cancelAtPeriodEnd,
  this.canceledAt,
  this.collectionMethod,
  this.created,
  this.currentPeriodEnd,
  this.currentPeriodStart,
  this.customer,
  this.daysUntilDue,
  this.defaultPaymentMethod,
  this.defaultSource,
  this.defaultTaxRates,
  this.discount,
  this.endedAt,
  this.items,
  this.latestInvoice,
  this.livemode,
  this.metadata,
  this.nextPendingInvoiceItemInvoice,
  this.pauseCollection,
  this.pendingInvoiceItemInterval,
  this.pendingSetupIntent,
  this.pendingUpdate,
  this.plan,
  this.quantity,
  this.schedule,
  this.startDate,
  this.status,
  this.taxPercent,
  this.trialEnd,
  this.trialStart,
});