SkuBehavior
Properties
Link copied to clipboard
The ID of the Application this SKU is for.
Link copied to clipboard
The supplier used to request entities.
Functions
Link copied to clipboard
Requests to create a new test entitlement to this SKU for a given guild.
Requests to create a new test entitlement to this SKU for a given user.
open suspend fun createTestEntitlement(ownerId: Snowflake, ownerType: EntitlementOwnerType): Entitlement
Requests to create a new test entitlement to this SKU for an owner with the given ownerId and ownerType.
Link copied to clipboard
Requests a Subscription containing this SKU by its id.
Link copied to clipboard
Requests a Subscription containing this SKU by its id. Returns null
if it wasn't found.
Link copied to clipboard
inline fun SkuBehavior.getSubscriptions(builder: SkuSubscriptionsListRequestBuilder.() -> Unit): Flow<Subscription>
Requests to get all Subscriptions containing this Sku.
Link copied to clipboard