PricingTier class

Pricing tier

Annotations
  • @JsonSerializable(fieldRename: FieldRename.snake)

Constructors

PricingTier({String? startingQuantity, String? endingQuantity, Money? amount})
PricingTier.fromJson(Map<String, dynamic> json)
factory

Properties

amount Money?
The pricing amount for the tier.
getter/setter pair
endingQuantity String?
The ending quantity for the tier. Optional for the last tier. Minimum length: 1. Maximum length: 32.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startingQuantity String?
The starting quantity for the tier. Minimum length: 1. Maximum length: 32.
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.
override

Operators

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