GoogleProrationMode

enum GoogleProrationMode : Enum<GoogleProrationMode>

Enum of possible proration modes to be passed to a Google Play purchase. Ignored for Amazon purchases.

See https://developer.android.com/google/play/billing/subscriptions#proration for examples

Entries

Link copied to clipboard
IMMEDIATE_WITH_TIME_PRORATION(BillingFlowParams.ProrationMode.IMMEDIATE_WITH_TIME_PRORATION)

Old subscription is cancelled, and new subscription takes effect immediately. Any time remaining on the old subscription is used to push out the first payment date for the new subscription. User is charged the full price of new subscription once that prorated time has passed.

Link copied to clipboard
IMMEDIATE_WITHOUT_PRORATION(BillingFlowParams.ProrationMode.IMMEDIATE_WITHOUT_PRORATION)

Old subscription is cancelled, and new subscription takes effect immediately. User is charged for the full price of the new subscription on the old subscription's expiration date.

Properties

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int
Link copied to clipboard
val playBillingClientMode: Int

Sources

Link copied to clipboard