Class DiscordSku
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
Represents a DiscordSku.
public sealed class DiscordSku : SnowflakeObject, IEquatable<DiscordSku>
- Inheritance
-
DiscordSku
- Implements
- Inherited Members
Properties
- AccessType
Gets the access type.
- ApplicationId
Gets the application id the sku belongs to.
- DependentSkuId
Gets the dependent (parent) sku id.
- Features
Gets the skus features.
- Flags
Gets the sku flags.
- Genres
Gets the skus genres.
- LegalNotice
Gets the skus legal notice.
- Locales
Gets the locales.
- ManifestLabels
Gets the manifest labels.
- Name
Gets the sku name.
- Premium
Gets whether the sku is premium.
- Price
Gets the sku price.
- ProductLine
Gets the product line.
- ReleaseDate
Gets the skus release date.
- ShowAgeGate
Gets whether to show a age gate.
- Slug
Gets the sku slug.
- Type
Gets the sku type.
Methods
- CreateTestEntitlementAsync(ulong, EntitlementOwnerType)
Creates a test entitlement for this sku.
- Equals(DiscordSku?)
Checks whether this DiscordSku is equal to another DiscordSku.
- Equals(object?)
Checks whether this DiscordSku is equal to another object.
- GetHashCode()
Gets the hash code for this DiscordSku.
- GetSubscriptionAsync(ulong)
Gets a subscription for this sku.
- GetSubscriptionsAsync(ulong, ulong?, ulong?, int)
Gets subscriptions for this sku.
Operators
- operator ==(DiscordSku?, DiscordSku?)
Gets whether the two DiscordSku objects are equal.
- operator !=(DiscordSku?, DiscordSku?)
Gets whether the two DiscordSku objects are not equal.