UI Token Shop
Token Shop Catalogue
Authored token shop catalogue. Products remain data, while purchase delivery belongs to the extension that owns each product. An empty list is valid while the catalogue is being prepared.
字段
| 字段 | 类型 | 默认值 | 描述 | ||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
shopId | String | — | Stable identifier used by the UiCore page to select this catalogue. | ||||||||||||||||||||||||||||||||||||||||
storageDefinitionId | String | — | Explicit NumericalStorage definition id holding the token balance. | ||||||||||||||||||||||||||||||||||||||||
offers | List<UiTokenShopOffer> | empty | Configured products. Leave empty to publish an empty catalogue.
|
| 字段 | 类型 | 默认值 | 描述 |
|---|---|---|---|
category | TokenShopCategory | DIVERS | —可选值:A_LA_UNEGRADESCOSMETIQUESDIVERS |
title | String | — | — |
description | List<String> | empty | — |
price | String | — | Positive decimal token price, for example 12.50; ignored for a read-only demonstration. |
state | TokenShopOfferState | ACHETABLE | —可选值:ACHETABLESOLDE_INSUFFISANTSOLDE_INDISPONIBLEDEJA_POSSEDEERESTREINTEEXPIREEACHAT_EN_COURSCONFIGURATION_ERROR |
icon | String | — | — |
imageReference | String | — | Optional image id or path consumed by the UiCore renderer. |
featured | Boolean | false | Display this offer in the A la une section and allow it to become its primary card. |
deliveryKey | String | — | Stable attribution key handled by the extension that owns this product. |