Preparing search index...
The search index is not available
Oceanic
Oceanic
TestEntitlement
Class TestEntitlement
Represents a test entitlement.
Hierarchy (
view full
)
BaseEntitlement
TestEntitlement
Index
Constructors
constructor
Properties
applicationID
client
consumed
deleted
gift
Code
Flags
guildID
id
promotionID
skuID
type
userID
Accessors
created
At
Methods
delete
toJSON
to
String
generateID
get
Created
At
get
Discord
Epoch
Constructors
constructor
new
Test
Entitlement
(
data
,
client
)
:
TestEntitlement
Parameters
data
:
RawTestEntitlement
client
:
Client
<
ClientEvents
>
Returns
TestEntitlement
Properties
applicationID
applicationID
:
string
client
client
:
Client
<
ClientEvents
>
consumed
consumed
:
boolean
deleted
deleted
:
boolean
gift
Code
Flags
gift
Code
Flags
:
number
guildID
guildID
:
null
|
string
id
id
:
string
promotionID
promotionID
:
null
|
string
skuID
skuID
:
string
type
type
:
APPLICATION_SUBSCRIPTION
userID
userID
:
null
|
string
Accessors
created
At
get
createdAt
(
)
:
Date
Returns
Date
Methods
delete
delete
(
)
:
Promise
<
void
>
Delete this entitlement.
Returns
Promise
<
void
>
toJSON
toJSON
(
)
:
JSONTestEntitlement
Returns
JSONTestEntitlement
to
String
to
String
(
)
:
string
Returns
string
Static
generateID
generateID
(
timestamp
?
)
:
string
Parameters
timestamp
:
number
|
Date
= ...
Returns
string
Static
get
Created
At
get
Created
At
(
id
)
:
Date
Parameters
id
:
string
Returns
Date
Static
get
Discord
Epoch
get
Discord
Epoch
(
id
)
:
number
Parameters
id
:
string
Returns
number
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
applicationID
client
consumed
deleted
gift
Code
Flags
guildID
id
promotionID
skuID
type
userID
created
At
delete
toJSON
to
String
generateID
get
Created
At
get
Discord
Epoch
Oceanic
Loading...
Represents a test entitlement.