new VasPayloadElement()
- Source:
Methods
(static) VasPayloadElement#getDataType() → {payments.VasDataType}
Get the field value
Indicates the type of data in this response.
- Source:
Returns:
- Type
- payments.VasDataType
(static) VasPayloadElement#getMerchantId() → {String}
Get the field value
Merchant id associated with this payload element (hex encoded)
- Source:
Returns:
- Type
- String
(static) VasPayloadElement#getProtocolId() → {payments.VasProtocol}
Get the field value
Protocol this payload element was derived from
- Source:
Returns:
- Type
- payments.VasProtocol
(static) VasPayloadElement#getResponseFormat() → {payments.VasResponseFormat}
Get the field value
Format of vasData payload.
- Source:
Returns:
(static) VasPayloadElement#getVasData() → {String}
Get the field value
Vas data. For NDEF it will be base64 encoded binary.
- Source:
Returns:
- Type
- String
(static) VasPayloadElement#setDataType(dataType)
Set the field value
Indicates the type of data in this response.
Parameters:
Name | Type | Description |
---|---|---|
dataType |
payments.VasDataType |
- Source:
(static) VasPayloadElement#setMerchantId(merchantId)
Set the field value
Merchant id associated with this payload element (hex encoded)
Parameters:
Name | Type | Description |
---|---|---|
merchantId |
String |
- Source:
(static) VasPayloadElement#setProtocolId(protocolId)
Set the field value
Protocol this payload element was derived from
Parameters:
Name | Type | Description |
---|---|---|
protocolId |
payments.VasProtocol |
- Source:
(static) VasPayloadElement#setResponseFormat(responseFormat)
Set the field value
Format of vasData payload.
Parameters:
Name | Type | Description |
---|---|---|
responseFormat |
payments.VasResponseFormat |
- Source:
(static) VasPayloadElement#setVasData(vasData)
Set the field value
Vas data. For NDEF it will be base64 encoded binary.
Parameters:
Name | Type | Description |
---|---|---|
vasData |
String |
- Source: