Instance Property


An integer that indicates the number of periods the product discount is available.


var numberOfPeriods: Int { get }


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.

See Also

Getting the Discount Duration

var subscriptionPeriod: SKProductSubscriptionPeriod

An object that defines the period for the product discount.