Preparing search index...
The search index is not available
Oceanic
Oceanic
BaseEntitlement
Class BaseEntitlement
Represents a base entitlement. See
TestEntitlement
and
Entitlement
.
Hierarchy (
view full
)
Base
BaseEntitlement
Entitlement
TestEntitlement
Index
Constructors
constructor
Properties
applicationID
client
consumed
deleted
gift
Code
Flags
guildID
id
promotionID
skuID
type
userID
Accessors
created
At
Methods
toJSON
to
String
generateID
get
Created
At
get
Discord
Epoch
Constructors
constructor
new
Base
Entitlement
(
data
,
client
)
:
BaseEntitlement
Parameters
data
:
RawBaseEntitlement
client
:
Client
<
ClientEvents
>
Returns
BaseEntitlement
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
toJSON
toJSON
(
)
:
JSONBaseEntitlement
Returns
JSONBaseEntitlement
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
toJSON
to
String
generateID
get
Created
At
get
Discord
Epoch
Oceanic
Loading...
Represents a base entitlement. See TestEntitlement and Entitlement.