SubscriptionReplacementModeAndroid enum
Replacement mode for subscription changes (Android) These modes determine how the subscription replacement affects billing. Available in Google Play Billing Library 8.1.0+
Values
- UnknownReplacementMode → const SubscriptionReplacementModeAndroid
-
Unknown replacement mode. Do not use.
const SubscriptionReplacementModeAndroid('unknown-replacement-mode') - WithTimeProration → const SubscriptionReplacementModeAndroid
-
Replacement takes effect immediately, and the new expiration time will be prorated.
const SubscriptionReplacementModeAndroid('with-time-proration') - ChargeProratedPrice → const SubscriptionReplacementModeAndroid
-
Replacement takes effect immediately, and the billing cycle remains the same.
const SubscriptionReplacementModeAndroid('charge-prorated-price') - ChargeFullPrice → const SubscriptionReplacementModeAndroid
-
Replacement takes effect immediately, and the user is charged full price immediately.
const SubscriptionReplacementModeAndroid('charge-full-price') - WithoutProration → const SubscriptionReplacementModeAndroid
-
Replacement takes effect when the old plan expires.
const SubscriptionReplacementModeAndroid('without-proration') - Deferred → const SubscriptionReplacementModeAndroid
-
Replacement takes effect when the old plan expires, and the user is not charged.
const SubscriptionReplacementModeAndroid('deferred') - KeepExisting → const SubscriptionReplacementModeAndroid
-
Keep the existing payment schedule unchanged for the item (8.1.0+)
const SubscriptionReplacementModeAndroid('keep-existing')
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<
SubscriptionReplacementModeAndroid> - A constant List of the values in this enum, in order of their declaration.