| Package | com.myflashlab.air.extensions.billing |
| Class | public class ProrationMode |
| Inheritance | ProrationMode Object |
replaceSubscription method.
| Constant | Defined By | ||
|---|---|---|---|
| DEFERRED : int = 4 [static]
Replacement takes effect when the old plan expires, and the new price will be charged at the
same time. | ProrationMode | ||
| IMMEDIATE_AND_CHARGE_PRORATED_PRICE : int = 2 [static]
Replacement takes effect immediately, and the billing cycle remains the same. | ProrationMode | ||
| IMMEDIATE_WITHOUT_PRORATION : int = 3 [static]
Replacement takes effect immediately, and the new price will be charged on next recurrence
time. | ProrationMode | ||
| IMMEDIATE_WITH_TIME_PRORATION : int = 1 [static]
Replacement takes effect immediately, and the remaining time will be prorated and credited to
the user. | ProrationMode | ||
| UNKNOWN_SUBSCRIPTION_UPGRADE_DOWNGRADE_POLICY : int = 0 [static] | ProrationMode | ||
| DEFERRED | Constant |
public static const DEFERRED:int = 4Replacement takes effect when the old plan expires, and the new price will be charged at the same time.
| IMMEDIATE_AND_CHARGE_PRORATED_PRICE | Constant |
public static const IMMEDIATE_AND_CHARGE_PRORATED_PRICE:int = 2Replacement 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.
| IMMEDIATE_WITH_TIME_PRORATION | Constant |
public static const IMMEDIATE_WITH_TIME_PRORATION:int = 1Replacement takes effect immediately, and the remaining time will be prorated and credited to the user. This is the current default behavior.
| IMMEDIATE_WITHOUT_PRORATION | Constant |
public static const IMMEDIATE_WITHOUT_PRORATION:int = 3Replacement takes effect immediately, and the new price will be charged on next recurrence time. The billing cycle stays the same.
| UNKNOWN_SUBSCRIPTION_UPGRADE_DOWNGRADE_POLICY | Constant |
public static const UNKNOWN_SUBSCRIPTION_UPGRADE_DOWNGRADE_POLICY:int = 0