ExtensionProductData

@Serializable
data class ExtensionProductData(val sku: String, val domain: String, val cost: ExtensionProductCost, val inDevelopment: Boolean, val displayName: String, val expiration: String = "", val broadcast: Boolean)

Contains details about an extension's digital product.

Constructors

Link copied to clipboard
constructor(sku: String, domain: String, cost: ExtensionProductCost, inDevelopment: Boolean, displayName: String, expiration: String = "", broadcast: Boolean)

Properties

Link copied to clipboard

a Boolean value that determines whether the data was broadcast to all instances of the extension.

Link copied to clipboard

contains details about the digital product's cost.

Link copied to clipboard

the name of the digital product.

Link copied to clipboard

set to twitch.ext. + the extension's ID.

Link copied to clipboard

this field is always empty since you may purchase only unexpired products.

Link copied to clipboard

a Boolean value that determines whether the product is in development. Is true if the digital product is in development and cannot be exchanged.

Link copied to clipboard
val sku: String

an ID that identifies the digital product.