Represents the price and duration information for a phase of the purchase option.

interface PricingPhase {
    cycleCount: number;
    period: null | Period;
    periodDuration: null | string;
    price: null | Price;
    pricePerMonth: null | Price;
    pricePerWeek: null | Price;
    pricePerYear: null | Price;
}

Properties

cycleCount: number

The number of cycles this option's price repeats. I.e. 2 subscription cycles, 0 if not applicable.

period: null | Period

The duration of the phase as a Period.

periodDuration: null | string

The duration of the phase in ISO 8601 format.

price: null | Price

The price for the purchase option. Null in case of trials.

pricePerMonth: null | Price

The approximated price converted to monthly rate, based on the period information. Null in case of trials.

pricePerWeek: null | Price

The approximated price converted to weekly rate, based on the period information. Null in case of trials.

pricePerYear: null | Price

The approximated price converted to yearly rate, based on the period information. Null in case of trials.