let activatedAt : Date
Time when the subscription was activated.
let activeIntroductoryOfferType : String?
A type of an active introductory offer. If the value is not null, it means that the offer was applied during the current subscription period.
let activePromotionalOfferId : String?
An id of active promotional offer.
let activePromotionalOfferType : String?
A type of an active promotional offer. If the value is not null, it means that the offer was applied during the current subscription period.
let billingIssueDetectedAt : Date?
Time when a billing issue was detected. Subscription can still be active.
let cancellationReason : String?
A reason why a subscription was cancelled.
let expiresAt : Date?
Time when the access level will expire (could be in the past and could be
nil
for lifetime access).let isActive : Bool
True if the subscription is active
let isInGracePeriod : Bool
Whether the auto-renewable subscription is in a grace period.
let isLifetime : Bool
True if the subscription is active for a lifetime (no expiration date)
let isRefund : Bool
true
if the purchase was refunded.let isSandbox : Bool
true
if the product was purchased in a sandbox environment.let renewedAt : Date?
Time when the subscription was renewed. It can be
nil
if the purchase was first in chain or it is non-renewing subscription.let startsAt : Date?
Time when the subscription has started (could be in the future).
let store: String
A store of the purchase.
let unsubscribedAt : Date?
Time when the auto-renewable subscription was cancelled. Subscription can still be active, it means that auto-renewal is turned off. Would be
nil
if a user reactivates the subscription.let vendorOriginalTransactionId : String
An original transaction id of the purchase in a store that unlocked this subscription. For auto-renewable subscription, this will be an id of the first transaction in this subscription.
let vendorProductId : String
An identifier of a product in a store that unlocked this subscription.
let vendorTransactionId : String
A transaction id of a purchase in a store that unlocked this subscription.
let willRenew : Bool
true
if the auto-renewable subscription is set to renew