numberOfPeriods
An integer that indicates the number of periods the product discount is available.
Declaration
var numberOfPeriods: Int { get }Discussion
A product discount may be available for one or more periods. The period, defined in subscriptionPeriod, is a set number of days, weeks, months, or years.
The total length of time that a product discount is available is calculated by multiplying the numberOfPeriods by the period.
Note that the discount period is independent of the product subscription period.