---
title: subscriptionPeriod
framework: storekit
role: symbol
role_heading: Instance Property
path: storekit/skproductdiscount/subscriptionperiod
---

# subscriptionPeriod

An object that defines the period for the product discount.

## Declaration

```swift
var subscriptionPeriod: SKProductSubscriptionPeriod { get }
```

## Discussion

Discussion This object represents the duration of a single subscription period. A period is described as a number of units, where a unit can be a SKProduct.PeriodUnit.day, SKProduct.PeriodUnit.month, SKProduct.PeriodUnit.week, or SKProduct.PeriodUnit.year. To calculate the total amount of time that the discount price is available to the user, multiply the subscriptionPeriod by numberOfPeriods. note: The subscription period for the discount is independent of the product’s regular subscription period, and does not have to match in units or duration.

## See Also

### Getting the Discount Duration

- [numberOfPeriods](storekit/skproductdiscount/numberofperiods.md)
