class Subscription
extends
Baseexport class Subscription extends BaseRepresents a Subscription
ISO 3166-1 alpha-2 country code of the payment source used to purchase the subscription. Missing unless queried with a private OAuth scope.
readonlycurrentPeriodEndAt : Date
The time the current subscription period will end at
currentPeriodEndTimestamp : number
The timestamp the current subscription period will end at
readonlycurrentPeriodStartAt : Date
The time the current subscription period will start at
currentPeriodStartTimestamp : number
The timestamp the current subscription period will start at
entitlementIds : Snowflake[]
The entitlement ids granted for this subscription
id : Snowflake
The id of the subscription
skuIds : Snowflake[]
The SKU ids subscribed to
status : SubscriptionStatus
The current status of the subscription
userId : Snowflake
The id of the user who subscribed