Plan class

Annotations
  • @JsonSerializable(fieldRename: FieldRename.snake, explicitToJson: true)

Constructors

Plan({String? id, String? object, bool? active, dynamic aggregateUsage, int? amount, String? amountDecimal, String? billingScheme, int? created, String? currency, String? interval, int? intervalCount, bool? livemode, Map<String, dynamic>? metadata, String? nickname, dynamic product, List<Tier>? tiers, String? tiersMode, Transform? transformUsage, int? trialPeriodDays, String? usageType})
Plan.fromJson(Map<String, dynamic> json)
factory

Properties

active bool?
getter/setter pair
aggregateUsage ↔ dynamic
getter/setter pair
amount int?
getter/setter pair
amountDecimal String?
getter/setter pair
billingScheme String?
getter/setter pair
created int?
getter/setter pair
currency String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String?
getter/setter pair
interval String?
getter/setter pair
intervalCount int?
getter/setter pair
livemode bool?
getter/setter pair
metadata Map<String, dynamic>?
getter/setter pair
nickname String?
getter/setter pair
object String?
getter/setter pair
product ↔ dynamic
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tiers List<Tier>?
getter/setter pair
tiersMode String?
getter/setter pair
transformUsage Transform?
getter/setter pair
trialPeriodDays int?
getter/setter pair
usageType String?
getter/setter pair

Methods

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

Operators

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