# PurchaseFlowParams.ProrationMode

public static @interface PurchaseFlowParams.ProrationMode\
com.gaa.sdk.iap.PurchaseFlowParams.ProrationMode\
\
Proportional distribution mode for upgrading or downgrading subscriptions.

<br>

## Constants <a href="#id-en-purchaseflowparams.prorationmode-constants" id="id-en-purchaseflowparams.prorationmode-constants"></a>

***

### UNKNOWN\_SUBSCRIPTION\_UPGRADE\_DOWNGRADE\_POLICY <a href="#id-en-purchaseflowparams.prorationmode-unknown_subscription_upgrade_downgrade_policy" id="id-en-purchaseflowparams.prorationmode-unknown_subscription_upgrade_downgrade_policy"></a>

int UNKNOWN\_SUBSCRIPTION\_UPGRADE\_DOWNGRADE\_POLICY\
Unspecified status value\
Constant Value: 0

### &#x20;IMMEDIATE\_WITH\_TIME\_PRORATION <a href="#id-en-purchaseflowparams.prorationmode-immediate_with_time_proration" id="id-en-purchaseflowparams.prorationmode-immediate_with_time_proration"></a>

int IMMEDIATE\_WITH\_TIME\_PRORATION\
The replacement will take effect immediately, and the new expiration time will be proportionally distributed and deposited or charged to the user (default).\
Constant Value: 1

### &#x20;IMMEDIATE\_AND\_CHARGE\_PRORATED\_PRICE <a href="#id-en-purchaseflowparams.prorationmode-immediate_and_charge_prorated_price" id="id-en-purchaseflowparams.prorationmode-immediate_and_charge_prorated_price"></a>

int IMMEDIATE\_AND\_CHARGE\_PRORATED\_PRICE\
The replacement will take effect immediately and the billing cycle will remain the same. You will be charged for the remainder of the period.\
Constant Value: 2

### &#x20;IMMEDIATE\_WITHOUT\_PRORATION <a href="#id-en-purchaseflowparams.prorationmode-immediate_without_proration" id="id-en-purchaseflowparams.prorationmode-immediate_without_proration"></a>

int IMMEDIATE\_WITHOUT\_PRORATION\
The replacement will take effect immediately and you will be charged the new price on the next payment date. The billing cycle will remain the same.\
Constant Value: 3

### &#x20;DEFERRED <a href="#id-en-purchaseflowparams.prorationmode-deferred" id="id-en-purchaseflowparams.prorationmode-deferred"></a>

int DEFERRED\
When an existing plan expires, a replacement will take effect and you will be charged a new rate simultaneously.\
Constant Value: 4
