ProrationMode enum

Replace SKU's ProrationMode.

Inheritance
Available extensions
Annotations
  • @Deprecated('Use GoogleProrationMode on GoogleProductChangeInfo')

Values

unknownSubscriptionUpgradeDowngradePolicy → const ProrationMode

The Upgrade or Downgrade policy is unknown.

immediateWithTimeProration → const ProrationMode

Replacement takes effect immediately, and the remaining time will be prorated and credited to the user. This is the current default behavior.

immediateAndChargeProratedPrice → const ProrationMode

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.

immediateWithoutProration → const ProrationMode

Replacement takes effect immediately, and the new price will be charged on next recurrence time. The billing cycle stays the same.

immediateAndChargeFullPrice → const ProrationMode

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.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<ProrationMode>
A constant List of the values in this enum, in order of their declaration.