InvoiceitemPlan constructor
const
InvoiceitemPlan({
- required bool active,
- InvoiceitemPlanAggregateUsage? aggregateUsage,
- int? amount,
- String? amountDecimal,
- required InvoiceitemPlanBillingScheme billingScheme,
- required DateTime created,
- required String currency,
- required String id,
- required InvoiceitemPlanInterval interval,
- required int intervalCount,
- required bool livemode,
- Map<
String, String> ? metadata, - String? meter,
- String? nickname,
- InvoiceitemPlanProductOrId? product,
- List<
PlanTier> ? tiers, - InvoiceitemPlanTiersMode? tiersMode,
- InvoiceitemPlanTransformUsage? transformUsage,
- int? trialPeriodDays,
- required InvoiceitemPlanUsageType usageType,
If the invoice item is a proration, the plan of the subscription that the proration was computed for.
Implementation
const InvoiceitemPlan({
required this.active,
this.aggregateUsage,
this.amount,
this.amountDecimal,
required this.billingScheme,
required this.created,
required this.currency,
required this.id,
required this.interval,
required this.intervalCount,
required this.livemode,
this.metadata,
this.meter,
this.nickname,
this.product,
this.tiers,
this.tiersMode,
this.transformUsage,
this.trialPeriodDays,
required this.usageType,
});