IMMEDIATE_AND_CHARGE_PRORATED_PRICE constant
int
const 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. https://developer.android.com/reference/com/android/billingclient/api/BillingFlowParams.ProrationMode#immediate_and_charge_prorated_price
Implementation
static const int IMMEDIATE_AND_CHARGE_PRORATED_PRICE = 2;