PlanCreateOptions class final

Constructors

PlanCreateOptions({bool? active, PlanAggregateUsage? aggregateUsage, int? amount, String? amountDecimal, InvoiceitemPlanBillingScheme? billingScheme, required String currency, List<String>? expand, String? id, required InvoiceitemPlanInterval interval, int? intervalCount, Map<String, String>? metadata, String? meter, String? nickname, PlanProduct? product, List<PlanTiersItem>? tiers, PlanTiersMode? tiersMode, TransformUsage? transformUsage, int? trialPeriodDays, InvoiceitemPlanUsageType? usageType})
const
PlanCreateOptions.fromJson(Object? json)
factory

Properties

active → bool?
final
aggregateUsage → PlanAggregateUsage?
final
amount → int?
final
amountDecimal → String?
final
billingScheme → InvoiceitemPlanBillingScheme?
final
currency → String
final
expand → List<String>?
final
hashCode → int
The hash code for this object.
no setterinherited
id → String?
final
interval → InvoiceitemPlanInterval
final
intervalCount → int?
final
metadata → Map<String, String>?
final
meter → String?
final
nickname → String?
final
product → PlanProduct?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tiers → List<PlanTiersItem>?
final
tiersMode → PlanTiersMode?
final
transformUsage → TransformUsage?
final
trialPeriodDays → int?
final
usageType → InvoiceitemPlanUsageType?
final

Methods

encodeWith<V>(Encoder<V> encoder) → V
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

encode<V>(PlanCreateOptions instance, Encoder<V> encoder) → V