TwurpleAuthenticationGetting dataExamplesFAQMigration

Main classes

HelixExtensionBitsProductUpdatePayload

The data to send to create or update a bits product.

{
Whether to broadcast the product's purchases to all users.
broadcast?: boolean
The product's cost, in bits.
cost: number
The product's display name.
displayName: string
The product's expiration date. If this is not set, the product never expires.
Whether the product is in development.
inDevelopment?: boolean
The product's unique identifier.
sku: string
}

Properties

broadcast

Type: ?boolean

Whether to broadcast the product's purchases to all users.

cost

Type: number

The product's cost, in bits.

displayName

Type: string

The product's display name.

expirationDate

Type: ?string

The product's expiration date. If this is not set, the product never expires.

inDevelopment

Type: ?boolean

Whether the product is in development.

sku

Type: string

The product's unique identifier.

If a product with the given SKU already exists, it will be updated; otherwise, a new one will be created.