# Print output for @column tags ?>
public
static
abstract
@interface
BillingFlowParams.ProrationMode
implements
Annotation
| com.android.billingclient.api.BillingFlowParams.ProrationMode |
Replace SKU ProrationMode.
Constants | |
|---|---|
int |
DEFERRED
Replacement takes effect when the old plan expires, and the new price will be charged at the same time. |
int |
IMMEDIATE_AND_CHARGE_PRORATED_PRICE
Replacement takes effect immediately, and the billing cycle remains the same. |
int |
IMMEDIATE_WITHOUT_PRORATION
Replacement takes effect immediately, and the new price will be charged on next recurrence time. |
int |
IMMEDIATE_WITH_TIME_PRORATION
Replacement takes effect immediately, and the remaining time will be prorated and credited to the user. |
int |
UNKNOWN_SUBSCRIPTION_UPGRADE_DOWNGRADE_POLICY
|
Inherited methods | |
|---|---|
public static final int DEFERRED
Replacement takes effect when the old plan expires, and the new price will be charged at the same time.
Constant Value: 4 (0x00000004)
public static final int IMMEDIATE_AND_CHARGE_PRORATED_PRICE
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.
Constant Value: 2 (0x00000002)
public static final int IMMEDIATE_WITHOUT_PRORATION
Replacement takes effect immediately, and the new price will be charged on next recurrence time. The billing cycle stays the same.
Constant Value: 3 (0x00000003)
public static final int IMMEDIATE_WITH_TIME_PRORATION
Replacement takes effect immediately, and the remaining time will be prorated and credited to the user. This is the current default behavior.
Constant Value: 1 (0x00000001)
public static final int UNKNOWN_SUBSCRIPTION_UPGRADE_DOWNGRADE_POLICY
Constant Value: 0 (0x00000000)