Entitlement
An entitlement that represents a subscription tier in your app.
Constructors
Convenience constructor for creating an entitlement with just an ID.
Types
Properties
The expiry date of the last transaction that unlocked this entitlement.
Indicates whether the last subscription transaction associated with this entitlement is in a billing grace period state.
Indicates whether the entitlement is active for a lifetime due to the purchase of a non-consumable.
The product identifier of the latest transaction to unlock this entitlement.
The type of offer that applies to the last subscription transaction that unlocks this entitlement.
All product identifiers that map to the entitlement.
The date that the entitlement was last renewed.
The purchase date of the first transaction that unlocked this entitlement.
The state of the last subscription transaction associated with the entitlement.
The type of entitlement.
Functions
Returns true if this entitlement differs from other on any field other than the product identifiers (productIds, latestProductId).