namespace UnityEngine.Purchasing { /// /// The Google Play proration mode used when upgrading and downgrading subscription. /// See more /// public enum GooglePlayProrationMode { /// /// Unknown subscription upgrade downgrade policy /// /// See more UnknownSubscriptionUpgradeDowngradePolicy = 0, /// /// Replacement takes effect immediately, and the remaining time will be prorated and credited to the user. This is the current default behavior. /// See more /// ImmediateWithTimeProration = 1, /// /// 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. /// See more /// ImmediateAndChargeProratedPrice = 2, /// /// Replacement takes effect immediately, and the new price will be charged on next recurrence time. The billing cycle stays the same. /// See more /// ImmediateWithoutProration = 3, /// /// Replacement takes effect when the old plan expires, and the new price will be charged at the same time. /// See more /// Deferred = 4, /// /// 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. /// See more /// ImmediateAndChargeFullPrice = 5, } }