Price class

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

Constructors

Price({String? id, String? object, bool? active, String? billingScheme, int? created, String? currency, bool? livemode, String? lookupKey, Map<String, dynamic>? metadata, String? nickname, dynamic product, dynamic recurring, List<Tier>? tiers, String? tiersMode, Transform? transformQuantity, String? type, int? unitAmount, String? unitAmountDecimal})
Price.fromJson(Map<String, dynamic> json)
factory

Properties

active bool?
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
livemode bool?
getter/setter pair
lookupKey String?
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
recurring ↔ 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
transformQuantity Transform?
getter/setter pair
type String?
getter/setter pair
unitAmount int?
getter/setter pair
unitAmountDecimal 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