replacementMode property

String? replacementMode
getter/setter pair

The replacement mode applied during the purchase. Possible string values are:

  • "REPLACEMENT_MODE_UNSPECIFIED" : Unspecified replacement mode.
  • "WITH_TIME_PRORATION" : The new plan will be prorated and credited from the old plan.
  • "CHARGE_PRORATED_PRICE" : The user will be charged a prorated price for the new plan.
  • "WITHOUT_PRORATION" : The new plan will replace the old one without prorating the time.
  • "CHARGE_FULL_PRICE" : The user will be charged the full price for the new plan.
  • "DEFERRED" : The old plan will be cancelled and the new plan will be effective after the old one expires.
  • "KEEP_EXISTING" : The plan will remain unchanged with this replacement.

Implementation

core.String? replacementMode;