class Subscription
extends
Baseexport class Subscription extends Base
Represents 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.
readonlyDate currentPeriodEndAt :
The time the current subscription period will end at
number currentPeriodEndTimestamp :
The timestamp the current subscription period will end at
readonlyDate currentPeriodStartAt :
The time the current subscription period will start at
number currentPeriodStartTimestamp :
The timestamp the current subscription period will start at
Snowflake[] entitlementIds :
The entitlement ids granted for this subscription
Snowflake id :
The id of the subscription
Snowflake[] skuIds :
The SKU ids subscribed to
SubscriptionStatus status :
The current status of the subscription
Snowflake userId :
The id of the user who subscribed