BillingFlowParams.ProrationMode
public
static
abstract
@interface
BillingFlowParams.ProrationMode
implements
Annotation
com.android.billingclient.api.BillingFlowParams.ProrationMode |
Replace SKU ProrationMode.
Summary
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 | |
---|---|
![]()
java.lang.annotation.Annotation
|
Constants
DEFERRED
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)
IMMEDIATE_AND_CHARGE_PRORATED_PRICE
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)
IMMEDIATE_WITHOUT_PRORATION
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)
IMMEDIATE_WITH_TIME_PRORATION
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)
UNKNOWN_SUBSCRIPTION_UPGRADE_DOWNGRADE_POLICY
int UNKNOWN_SUBSCRIPTION_UPGRADE_DOWNGRADE_POLICY
Constant Value: 0 (0x00000000)
Annotations
Interfaces
Classes
- AcknowledgePurchaseParams
- AcknowledgePurchaseParams.Builder
- BillingClient
- BillingClient.Builder
- BillingFlowParams
- BillingFlowParams.Builder
- BillingResult
- BillingResult.Builder
- ConsumeParams
- ConsumeParams.Builder
- PriceChangeFlowParams
- PriceChangeFlowParams.Builder
- ProxyBillingActivity
- Purchase
- Purchase.PurchasesResult
- PurchaseHistoryRecord
- RewardLoadParams
- RewardLoadParams.Builder
- SkuDetails
- SkuDetails.SkuDetailsResult
- SkuDetailsParams
- SkuDetailsParams.Builder