class Entitlement
extends
Baseexport class Entitlement extends Base
Represents an Entitlement
Snowflake applicationId :
The id of the parent application
boolean consumed :
Whether this entitlement has been consumed
boolean deleted :
Whether this entitlement was deleted
Snowflake id :
The id of the entitlement
Snowflake skuId :
The id of the associated SKU
EntitlementType type :
The type of this entitlement
Snowflake userId :
The id of the user that is granted access to this entitlement's SKU
Marks this entitlement as consumed Only available for One-Time Purchase consumable SKUs.
isActiveboolean () :
Indicates whether this entitlement is active
Indicates whether this entitlement is a guild subscription
isTestthis is this & { startsTimestamp: null; endsTimestamp: null; get startsAt(): null; get endsAt(): null; } () :
Indicates whether this entitlement is a test entitlement
Indicates whether this entitlement is a user subscription