Contents

unit

The increment of time for the subscription period.

Declaration

let unit: Product.SubscriptionPeriod.Unit

Discussion

The units used to specify a subscription period include day, week, month, and year, as defined in Product.SubscriptionPeriod.Unit.

To calculate the duration of one subscription period, multiply the unit by the number of units (value).

See Also

Getting the subscription period