Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Enumeration members

DEFERRED

DEFERRED: = 6

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

Example: Samwise's Tier 1 subscription continues until it expires on April 30. On May 1st, the Tier 2 subscription takes effect, and Samwise is charged $36 for his new subscription tier.

IMMEDIATE_AND_CHARGE_FULL_PRICE

IMMEDIATE_AND_CHARGE_FULL_PRICE: = 5

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.

IMMEDIATE_AND_CHARGE_PRORATED_PRICE

IMMEDIATE_AND_CHARGE_PRORATED_PRICE: = 2

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.

IMMEDIATE_WITHOUT_PRORATION

IMMEDIATE_WITHOUT_PRORATION: = 3

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

IMMEDIATE_WITH_TIME_PRORATION

IMMEDIATE_WITH_TIME_PRORATION: = 1

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

UNKNOWN_SUBSCRIPTION_UPGRADE_DOWNGRADE_POLICY

UNKNOWN_SUBSCRIPTION_UPGRADE_DOWNGRADE_POLICY: = 0

Generated using TypeDoc