Added geschaeftsvorfallCode

This commit is contained in:
dankl 2019-10-13 20:14:52 +02:00 committed by dankito
parent 496b800b5e
commit 86991cae27
1 changed files with 4 additions and 0 deletions

View File

@ -280,6 +280,10 @@ open class Mt940Parser : IMt940Parser {
}
private fun parseTransactionDetails(fieldValue: String): TransactionDetails {
// e. g. starts with 0 -> Inlandszahlungsverkehr, starts with '3' -> Wertpapiergeschäft
// see Finanzdatenformate p. 209 - 215
val geschaeftsvorfallCode = fieldValue.substring(0, 2) // TODO: may map
val usage = StringBuilder("")
val otherPartyName = StringBuilder("")
var otherPartyBankCode: String? = null