-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum SubscriptionReplacementModeAndroid extends Enum<SubscriptionReplacementModeAndroid>
Replacement mode for subscription changes (Android) These modes determine how the subscription replacement affects billing. Available in Google Play Billing Library 8.1.0+
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classSubscriptionReplacementModeAndroid.Companion
-
Enum Constant Summary
Enum Constants Enum Constant Description KeepExistingKeep the existing payment schedule unchanged for the item (8.1.0+)
DeferredReplacement takes effect when the old plan expires, and the user is not charged.
WithoutProrationReplacement takes effect when the old plan expires.
ChargeFullPriceReplacement takes effect immediately, and the user is charged full price immediately.
ChargeProratedPriceReplacement takes effect immediately, and the billing cycle remains the same.
WithTimeProrationReplacement takes effect immediately, and the new expiration time will be prorated.
UnknownReplacementModeUnknown replacement mode. Do not use.
-
Method Summary
Modifier and Type Method Description final StringtoJson()final StringgetRawValue()final StringgetName()final IntegergetOrdinal()-
-
Method Detail
-
getRawValue
final String getRawValue()
-
getOrdinal
final Integer getOrdinal()
-
-
-
-