| Name | Summary |
|---|---|
Companion | object Companion |
| Name | Summary |
|---|---|
DEFERRED | const val DEFERRED: Int = 4 Replacement takes effect when the old plan expires, and the new price will be charged at the same time. |
IMMEDIATE_AND_CHARGE_FULL_PRICE | const val IMMEDIATE_AND_CHARGE_FULL_PRICE: Int = 5 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. |
IMMEDIATE_AND_CHARGE_PRORATED_PRICE | const val IMMEDIATE_AND_CHARGE_PRORATED_PRICE: Int = 2 Replacement takes effect immediately, and the billing cycle remains the same. |
IMMEDIATE_WITH_TIME_PRORATION | const val IMMEDIATE_WITH_TIME_PRORATION: Int = 1 Replacement takes effect immediately, and the remaining time will be prorated and credited to the user. |
IMMEDIATE_WITHOUT_PRORATION | const val IMMEDIATE_WITHOUT_PRORATION: Int = 3 Replacement takes effect immediately, and the new price will be charged on next recurrence time. |
UNKNOWN_SUBSCRIPTION_UPGRADE_DOWNGRADE_POLICY | const val UNKNOWN_SUBSCRIPTION_UPGRADE_DOWNGRADE_POLICY: Int = 0 |