ᶄproration mode: v1.1
12
/**
* Specifies the mode of proration during subscription upgrade/downgrade. This value will only
* be effective if oldSkus is set.
*
* If you set this to NO_PRORATION, the user does not receive credit or charge, and the
* recurrence date does not change.
*
* If you set this to PRORATE_BY_TIME, Google Play swaps out the old SKUs and credits the
* user with the unused value of their subscription time on a pro-rated basis. Google Play
* applies this credit to the new subscription, and does not begin billing the user for the new
* subscription until after the credit is used up.
*
* If you set this to PRORATE_BY_PRICE, Google Play swaps out the old SKUs and keeps the
* recurrence date not changed. User will be charged for the price differences to cover the
* time till next recurrence date.
*
* Optional:
*
*
* To buy in-app item
* To create a new subscription
* To replace an old subscription
*
*/
public Builder setReplaceSkusProrationMode(@ProrationMode int replaceSkusProrationMode) {
this.mReplaceSkusProrationMode = replaceSkusProrationMode;
return this;
}