SubscriptionItem constructor

const SubscriptionItem({
  1. SubscriptionItemBillingThresholds? billingThresholds,
  2. required int created,
  3. required String id,
  4. required Map<String, String> metadata,
  5. required Plan plan,
  6. required Price price,
  7. int? quantity,
  8. required String subscription,
  9. List<TaxRate>? taxRates,
})

SubscriptionItem

Subscription items allow you to create customer subscriptions with more than one plan, making it easy to represent complex billing relationships.

Implementation

const SubscriptionItem({
  this.billingThresholds,
  required this.created,
  required this.id,
  required this.metadata,
  required this.plan,
  required this.price,
  this.quantity,
  required this.subscription,
  this.taxRates,
});