let billingIssueDetectedAt : Date?
The date a billing issue was detected. Can be
nil
if there is no billing issue or an issue has been resolved.let expirationDate : Date?
The expiration date for the entitlement, can be
nil
for lifetime access. If the periodType
is PeriodType.trial
, this is the trial expiration date.let identifier: String
The entitlement identifier configured in the RevenueCat dashboard
let isActive : Bool
True if the user has access to this entitlement
let isSandbox : Bool
False if this entitlement is unlocked via a production purchase
let latestPurchaseDate : Date?
The latest purchase or renewal date for the entitlement.
let originalPurchaseDate : Date?
The first date this entitlement was purchased
let ownershipType : PurchaseOwnershipType
Use this property to determine whether a purchase was made by the current user or shared to them by a family member. This can be useful for onboarding users who have had an entitlement shared with them, but might not be entirely aware of the benefits they now have.
let periodType : PeriodType
The last period type this entitlement was in Either:
PeriodType.normal
, PeriodType.intro
, PeriodType.trial
let productIdentifier : String
The product identifier that unlocked this entitlement
let rawData : [String : Any]
The underlying data for this
EntitlementInfo
.let store: Store
The store where this entitlement was unlocked from either:
Store.appStore
, Store.macAppStore
, Store.playStore
, Store.stripe
, Store.promotional
, or Store.unknownStore
.let unsubscribeDetectedAt : Date?
The date an unsubscribe was detected. Can be
nil
.let willRenew : Bool
True if the underlying subscription is set to renew at the end of the billing period (
expirationDate
). Will always be true
if entitlement is for lifetime access.