A prize of a "Scratch" or "Wheel" game.

The prize list and its weights are delivered to the client, which suggests the draw happens in the Eitri-App. How the draw defines a loss, and how stock and maxRepetitions are accounted for, is not confirmed by Inngage yet.

interface InngageInAppPrize {
    code: string;
    label: string;
    stock?: number;
    weight: number;
}

Hierarchy (View Summary)

Properties

Properties

code: string

Coupon code granted by the prize.

label: string

Text shown for the prize.

stock?: number

Available units of this prize. Absent when no stock was configured.

weight: number

Relative weight of this prize in the draw.