Fixed parsing the correct amount
This commit is contained in:
parent
bf9d406053
commit
c66f27d88b
|
@ -698,7 +698,7 @@ open class ResponseParser(
|
||||||
|
|
||||||
val bookingDate = parseDate(dataElements[1])
|
val bookingDate = parseDate(dataElements[1])
|
||||||
val valueDate = parseDate(dataElements[2])
|
val valueDate = parseDate(dataElements[2])
|
||||||
val amount = parseCreditCardAmount(dataElements.subList(4, 7))
|
val amount = parseCreditCardAmount(dataElements.subList(8, 11))
|
||||||
val otherPartyName = parseString(dataElements[11])
|
val otherPartyName = parseString(dataElements[11])
|
||||||
val isCleared = parseBoolean(dataElements[20])
|
val isCleared = parseBoolean(dataElements[20])
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue