class EntitlementManager
extends
CachedManager<Snowflake, Entitlement, EntitlementResolvable>export class EntitlementManager extends CachedManager<Snowflake, Entitlement, EntitlementResolvable>
Manages API methods for entitlements and stores their cache.
readonlyCollection<Key, Holds> cache :
The cache of items for this manager.
Inherited from: DataManager
readonlyConstructable<Holds> 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
deleteTestentitlement: EntitlementResolvable) : Promise<void> (
entitlement: EntitlementResolvable
Deletes a test entitlement
fetchoptions?: FetchEntitlementsOptions = {}) : Promise<Collection<Snowflake, Entitlement>> (
options?: FetchEntitlementsOptions = {}
Fetches entitlements for this application
Overload 1
Overload 2
Overload 1
Overload 2
valueOfCollection<Key, Holds> () :
Inherited from: DataManager