ParsedPayload
Defined in: payload/dist/parser.d.ts:81
Properties
Section titled “Properties”additionalData?
Section titled “additionalData?”
readonlyoptionaladditionalData?:ParsedAdditionalData
Defined in: payload/dist/parser.d.ts:92
amount
Section titled “amount”
readonlyamount:number|null
Defined in: payload/dist/parser.d.ts:85
country
Section titled “country”
readonlycountry:string
Defined in: payload/dist/parser.d.ts:87
readonlycrc:ParsedCRC
Defined in: payload/dist/parser.d.ts:94
currency
Section titled “currency”
readonlycurrency:string
Defined in: payload/dist/parser.d.ts:86
merchant
Section titled “merchant”
readonlymerchant:ParsedBillPayment|ParsedPromptPay|ParsedTrueMoney|null
Defined in: payload/dist/parser.d.ts:84
merchantCategoryCode?
Section titled “merchantCategoryCode?”
readonlyoptionalmerchantCategoryCode?:string
Defined in: payload/dist/parser.d.ts:90
merchantCity?
Section titled “merchantCity?”
readonlyoptionalmerchantCity?:string
Defined in: payload/dist/parser.d.ts:89
merchantName?
Section titled “merchantName?”
readonlyoptionalmerchantName?:string
Defined in: payload/dist/parser.d.ts:88
payloadFormat
Section titled “payloadFormat”
readonlypayloadFormat:string
Defined in: payload/dist/parser.d.ts:82
pointOfInitiation
Section titled “pointOfInitiation”
readonlypointOfInitiation:"static"|"dynamic"
Defined in: payload/dist/parser.d.ts:83
postalCode?
Section titled “postalCode?”
readonlyoptionalpostalCode?:string
Defined in: payload/dist/parser.d.ts:91
rawTags
Section titled “rawTags”
readonlyrawTags: readonlyTLVField[]
Defined in: payload/dist/parser.d.ts:96
All top-level TLV fields, in wire order. Use for unknown / future tags.
vatTqrc?
Section titled “vatTqrc?”
readonlyoptionalvatTqrc?:ParsedVATTQRC
Defined in: payload/dist/parser.d.ts:93
Methods
Section titled “Methods”getTag()
Section titled “getTag()”getTag(
id):TLVField|undefined
Defined in: payload/dist/parser.d.ts:98
Lookup a top-level TLV field by id. Returns undefined if absent.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”TLVField | undefined
getTagValue()
Section titled “getTagValue()”getTagValue(
id,subId?):string|undefined
Defined in: payload/dist/parser.d.ts:104
Lookup a value by id. Pass subId to descend one level into a nested
template (tags 29–31, 62, 64 are templated). Returns undefined if
either the parent or the sub-field is missing.
Parameters
Section titled “Parameters”string
subId?
Section titled “subId?”string
Returns
Section titled “Returns”string | undefined