---
title: SKProduct.PeriodUnit
framework: storekit
role: symbol
role_heading: Enumeration
path: storekit/skproduct/periodunit
---

# SKProduct.PeriodUnit

Values representing the duration of an interval, from a day up to a year.

## Declaration

```swift
enum PeriodUnit
```

## Overview

Overview The period unit represents the duration of an interval. Period units are used with the number of units to determine one period in SKProductSubscriptionPeriod.

## Topics

### Period Units

- [SKProduct.PeriodUnit.day](storekit/skproduct/periodunit/day.md)
- [SKProduct.PeriodUnit.month](storekit/skproduct/periodunit/month.md)
- [SKProduct.PeriodUnit.week](storekit/skproduct/periodunit/week.md)
- [SKProduct.PeriodUnit.year](storekit/skproduct/periodunit/year.md)

### Initializers

- [init(rawValue:)](storekit/skproduct/periodunit/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Getting Subscription Information

- [subscriptionGroupIdentifier](storekit/skproduct/subscriptiongroupidentifier.md)
- [subscriptionPeriod](storekit/skproduct/subscriptionperiod.md)
- [SKProductSubscriptionPeriod](storekit/skproductsubscriptionperiod.md)
