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
The end date at which this entitlement is no longer valid This is only null
for test entitlements
The timestamp at which this entitlement is no longer valid This is only null
for test entitlements
Snowflake id :
The id of the entitlement
Snowflake skuId :
The id of the associated SKU
The start date at which this entitlement is valid This is only null
for test entitlements
The timestamp at which this entitlement is valid This is only null
for test entitlements
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