AndroidProrationMode class

Constructors

AndroidProrationMode.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Constants

CHARGE_FULL_PRICE → const int
Replacement takes effect immediately, and the user is charged full price of new plan and is given a full billing cycle of subscription, plus remaining prorated time from the old plan. https://developer.android.com/reference/com/android/billingclient/api/BillingFlowParams.SubscriptionUpdateParams.ReplacementMode#CHARGE_FULL_PRICE()
CHARGE_PRORATED_PRICE → const int
Replacement takes effect immediately, and the billing cycle remains the same. The price for the remaining period will be charged. This option is only available for subscription upgrade. https://developer.android.com/reference/com/android/billingclient/api/BillingFlowParams.SubscriptionUpdateParams.ReplacementMode#CHARGE_PRORATED_PRICE()
DEFERRED → const int
Replacement takes effect when the old plan expires, and the new price will be charged at the same time. https://developer.android.com/reference/com/android/billingclient/api/BillingFlowParams.SubscriptionUpdateParams.ReplacementMode#DEFERRED()
UNKNOWN_REPLACEMENT_MODE → const int
Updated replacement mode key UNKNOWN_SUBSCRIPTION_UPGRADE_DOWNGRADE_POLICY => UNKNOWN_REPLACEMENT_MODE IMMEDIATE_WITH_TIME_PRORATION => WITH_TIME_PRORATION IMMEDIATE_AND_CHARGE_PRORATED_PRICE => CHARGE_PRORATED_PRICE IMMEDIATE_WITHOUT_PRORATION => WITHOUT_PRORATION IMMEDIATE_AND_CHARGE_FULL_PRICE => CHARGE_FULL_PRICE DEFERRED => DEFERRED https://developer.android.com/reference/com/android/billingclient/api/BillingFlowParams.SubscriptionUpdateParams.ReplacementMode#UNKNOWN_REPLACEMENT_MODE()
WITH_TIME_PRORATION → const int
Replacement takes effect immediately, and the remaining time will be prorated and credited to the user. This is the current default behavior. https://developer.android.com/reference/com/android/billingclient/api/BillingFlowParams.SubscriptionUpdateParams.ReplacementMode#WITH_TIME_PRORATION()
WITHOUT_PRORATION → const int
Replacement takes effect immediately, and the new price will be charged on next recurrence time. The billing cycle stays the same. https://developer.android.com/reference/com/android/billingclient/api/BillingFlowParams.SubscriptionUpdateParams.ReplacementMode#WITHOUT_PRORATION()