PricingPhase
Encapsulates how a user pays for a subscription at a given point in time.
Constructors
Functions
Gives the price of the PricingPhase in the given locale in a monthly recurrence. This means that for example, if the period is annual, the price will be divided by 12. It uses a currency formatter to format the price in the given locale. Note that this value may be an approximation.
Gives the price of the PricingPhase in the given locale in a weekly recurrence. This means that for example, if the period is monthly, the price will be divided by 4. It uses a currency formatter to format the price in the given locale. Note that this value may be an approximation.
Gives the price of the PricingPhase in the given locale in a yearly recurrence. This means that for example, if the period is monthly, the price will be multiplied by 12. It uses a currency formatter to format the price in the given locale. Note that this value may be an approximation.
Properties
Number of cycles for which the pricing phase applies. Null for INFINITE_RECURRING or NON_RECURRING recurrence modes.
Billing period for which the PricingPhase applies.
Indicates how the pricing phase is charged for FINITE_RECURRING pricing phases
Price of the PricingPhase
RecurrenceMode of the PricingPhase