let activatedAt : Date
Time when this access level was activated.
let activeIntroductoryOfferType : String?
A type of an active introductory offer. If the value is not
nil
, it means that the offer was applied during the current subscription period.let activePromotionalOfferId : String?
An id of active promotional offer in case the purchase was made with iOS.
let activePromotionalOfferType : String?
A type of an active promotional offer. If the value is not
nil
, it means that the offer was applied during the current subscription period.let billingIssueDetectedAt : Date?
Time when billing issue was detected. Subscription can still be active. Would be set to null if a charge is made.
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 id: String
Unique identifier of the access level configured by you in Adapty Dashboard.
let isActive : Bool
true
if this access level is active. Generally, you can check this property to determine wether a user has an access to premium features.let isInGracePeriod : Bool
true
if this auto-renewable subscription is in the grace period.let isLifetime : Bool
true
if this access level is active for a lifetime (no expiration date).let isRefund : Bool
true
if this purchase was refundedlet offerId : String?
An id of active offer in case the purchase was made with Android.
let renewedAt : Date?
Time when the access level was renewed. It can be
nil
if the purchase was first in chain or it is non-renewing subscription / non-consumable (e.g. lifetime)let startsAt : Date?
Time when this access level has started (could be in the future).
let store: String
A store of the purchase that unlocked this access level.
let unsubscribedAt : Date?
Time when the auto-renewable subscription was cancelled. Subscription can still be active, it just means that auto-renewal turned off. Will be set to
nil
if the user reactivates the subscription.let vendorProductId : String
An identifier of a product in a store that unlocked this access level.
let willRenew : Bool
true
if this auto-renewable subscription is set to renew.