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

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.

Link copied to clipboard

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

Replacement takes effect immediately, and the user is charged full price of new plan and is given a full billing cycle of subscription, plus remaining prorated time from the old plan.

Link copied to clipboard

Replacement takes effect immediately, and the billing cycle remains the same.

Link copied to clipboard

Replacement takes effect when the old plan expires, and the new price will be charged at the same time.

Types

Link copied to clipboard

Functions

Link copied to clipboard
open override fun describeContents(): Int
Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Link copied to clipboard
open override fun writeToParcel(out: Parcel, flags: Int)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard