prorationMode property

String? prorationMode
getter/setter pair

The proration mode for the base plan determines what happens when a user switches to this plan from another base plan.

If unspecified, defaults to CHARGE_ON_NEXT_BILLING_DATE. Possible string values are:

  • "SUBSCRIPTION_PRORATION_MODE_UNSPECIFIED" : Unspecified mode.
  • "SUBSCRIPTION_PRORATION_MODE_CHARGE_ON_NEXT_BILLING_DATE" : Users will be charged for their new base plan at the end of their current billing period.
  • "SUBSCRIPTION_PRORATION_MODE_CHARGE_FULL_PRICE_IMMEDIATELY" : Users will be charged for their new base plan immediately and in full. Any remaining period of their existing subscription will be used to extend the duration of the new billing plan.

Implementation

core.String? prorationMode;