DiscordSubscription

data class DiscordSubscription(val id: Snowflake, val userId: Snowflake, val skuIds: List<Snowflake>, val entitlementIds: List<Snowflake>, val currentPeriodStart: Instant, val currentPeriodEnd: Instant, val status: SubscriptionStatus, val canceledAt: Instant?, val country: Optional<String> = Optional.Missing())(source)

Constructors

Link copied to clipboard
constructor(id: Snowflake, userId: Snowflake, skuIds: List<Snowflake>, entitlementIds: List<Snowflake>, currentPeriodStart: Instant, currentPeriodEnd: Instant, status: SubscriptionStatus, canceledAt: Instant?, country: Optional<String> = Optional.Missing())

Properties

Link copied to clipboard
@SerialName(value = "canceled_at")
val canceledAt: Instant?
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "current_period_end")
val currentPeriodEnd: Instant
Link copied to clipboard
@SerialName(value = "current_period_start")
val currentPeriodStart: Instant
Link copied to clipboard
@SerialName(value = "entitlement_ids")
val entitlementIds: List<Snowflake>
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "sku_ids")
val skuIds: List<Snowflake>
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "user_id")
val userId: Snowflake