PaymentMode enum
Payment mode for subscription offers. Determines how the user pays during the offer period.
Values
- FreeTrial → const PaymentMode
-
Free trial period - no charge during offer
const PaymentMode('free-trial') - PayAsYouGo → const PaymentMode
-
Pay each period at reduced price
const PaymentMode('pay-as-you-go') - PayUpFront → const PaymentMode
-
Pay full discounted amount upfront
const PaymentMode('pay-up-front') - Unknown → const PaymentMode
-
Unknown or unspecified payment mode
const PaymentMode('unknown')
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → String
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
PaymentMode> - A constant List of the values in this enum, in order of their declaration.