---
title: Product.SubscriptionInfo.RenewalState
framework: storekit
role: symbol
role_heading: Structure
path: storekit/product/subscriptioninfo/renewalstate
---

# Product.SubscriptionInfo.RenewalState

The renewal states of auto-renewable subscriptions.

## Declaration

```swift
struct RenewalState
```

## Mentioned in

Testing failing subscription renewals and In-App Purchases Testing In-App Purchases in Xcode

## Overview

Overview A subscription’s renewal state indicates whether an auto-renewable subscription is entitled to service. Subscriptions in the subscribed and inGracePeriod states are entitled to service. Subscriptions in the expired, inBillingRetryPeriod, and revoked states aren’t entitled to service if the customer doesn’t have other Product.SubscriptionInfo.Status items that give them entitlement to service for that subscription. For example, a customer may have a status in the expired state for a subscription that they purchased individually, and another status in the subscribed state for the same subscription, which they get through Family Sharing. In that case, the customer has an entitlement to service for that subscription. For more information about Family Sharing, see Supporting Family Sharing in your app. For more information about entitlements, see currentEntitlements.

## Topics

### Getting the renewal state

- [subscribed](storekit/product/subscriptioninfo/renewalstate/subscribed.md)
- [expired](storekit/product/subscriptioninfo/renewalstate/expired.md)
- [inBillingRetryPeriod](storekit/product/subscriptioninfo/renewalstate/inbillingretryperiod.md)
- [inGracePeriod](storekit/product/subscriptioninfo/renewalstate/ingraceperiod.md)
- [revoked](storekit/product/subscriptioninfo/renewalstate/revoked.md)

### Getting a localized description

- [localizedDescription](storekit/product/subscriptioninfo/renewalstate/localizeddescription.md)

## Relationships

### Conforms To

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

## See Also

### Subscription status and renewal information

- [Product.SubscriptionInfo.Status](storekit/product/subscriptioninfo/status-swift.struct.md)
- [Product.SubscriptionInfo.RenewalInfo](storekit/product/subscriptioninfo/renewalinfo.md)
- [SubscriptionRenewalInfo](storekit/subscriptionrenewalinfo.md)
- [SubscriptionRenewalState](storekit/subscriptionrenewalstate.md)
- [SubscriptionPeriod](storekit/subscriptionperiod.md)
