Product.SubscriptionInfo.RenewalState
The renewal states of auto-renewable subscriptions.
Declaration
struct RenewalStateMentioned in
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.