---
title: value
framework: storekit
role: symbol
role_heading: Instance Property
path: storekit/product/subscriptionperiod/value
---

# value

The number of period units.

## Declaration

```swift
let value: Int
```

## Discussion

Discussion Use the value and the unit together to determine the subscription period. For example, if the unit is Product.SubscriptionPeriod.Unit.month, and the value is 3, the subscription period is three months.

## See Also

### Getting the subscription period

- [unit](storekit/product/subscriptionperiod/unit-swift.property.md)
- [Product.SubscriptionPeriod.Unit](storekit/product/subscriptionperiod/unit-swift.enum.md)
