Table of Contents

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.

CreatedAt

Gets when the sku was created.

CreatedAtRaw

Gets when the sku was created as raw string.

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 default sku name.

NameData

Gets the localized sku name payload.

PowerupMetadata

Gets richer guild powerup metadata for this sku.

Premium

Gets whether the sku is premium.

Price

Gets the sku price.

ProductId

Gets the product id.

ProductLine

Gets the product line.

ReleaseDate

Gets the skus release date.

SelectedOptions

Gets the selected sku options.

ShowAgeGate

Gets whether to show a age gate.

Slug

Gets the sku slug.

TenantMetadata

Gets the sku tenant metadata.

Type

Gets the sku type.

UpdatedAt

Gets when the sku was updated.

UpdatedAtRaw

Gets when the sku was updated as raw string.

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.