class EntitlementManager
extends
CachedManager<Snowflake, Entitlement, EntitlementResolvable>export class EntitlementManager extends CachedManager<Snowflake, Entitlement, EntitlementResolvable>Manages API methods for entitlements and stores their cache.
readonlycache : Collection<Key, Holds> 
The cache of items for this manager.
Inherited from: DataManager
readonlyholds : Constructable<Holds> 
The data structure belonging to this manager.
Inherited from: DataManager
Marks an entitlement as consumed Only available for One-Time Purchase consumable SKUs.
createTest() : Promise<Entitlement>
Creates a test entitlement
 deleteTest(entitlement: EntitlementResolvable) : Promise<void>
entitlement: EntitlementResolvable
Deletes a test entitlement
Overload 1
Overload 2
 fetch(options: EntitlementResolvable | FetchEntitlementOptions) : Promise<Entitlement>
options: EntitlementResolvable | FetchEntitlementOptions
Fetches entitlements for this application
Overload 1
Overload 2
Overload 1
Overload 2
valueOf() : Collection<Key, Holds>
Inherited from: DataManager