We use essential cookies for the website to function, as well as analytics cookies for analyzing and creating statistics of the website performance. To agree to the use of analytics cookies, click "Accept All". You can manage your preferences at any time by clicking "Cookie Settings" on the footer. More Information.

Only Essential Cookies
Accept All

Documents from this version have been archived, and will not continue to be maintained. Please use the latest version.

HMS Core ReferencesWallet KitServer APIsHUAWEI Wallet ObjectvalueObject

valueObject

Content overview

valueObject

Parameter NameTypeMandatory or OptionalDescription
keyStringMandatoryField ID. This ID must be unique across all pass objects.
valueStringMandatoryDefault field value.
labelStringOptionalDefault field label.
localizedValueStringOptionalIf the value is localized, this parameter should correspond to the key in localized. If this parameter is not set, the default value will be used in all languages.
localizedLabelStringOptionalIf the label is localized, this parameter should correspond to the key in localized. If this parameter is not set, the default label will be used in all languages.
redirectUrlStringOptionalRedirect link (can be used for image carousel).

Example

Collapse
Word wrap
Dark theme
Copy code
  1. {
  2.  "key": "merchantName",
  3.  "value": "Huawei",
  4.  "label": "Company Name",
  5.  "localizedValue": "localizedValue_merchantName",
  6.  "localizedLabel": "localizedLabel_merchantName",
  7.  "redirectUrl": "https://huawei.vmall.com/"
  8. }



This page may contain third-party content. For details, click here.
Search in Overview
Enter a keyword.