unit
The increment of time that a subscription period is specified in.
Declaration
var unit: SKProduct.PeriodUnit { get }Discussion
The units used to specify a subscription period include day, week, month, and year, as defined in SKProduct.PeriodUnit.
To calculate the duration of one subscription period, multiply the unit by the number of units (numberOfUnits).