diff --git a/fints4k/src/commonMain/kotlin/net/codinux/banking/fints/mapper/FinTsModelMapper.kt b/fints4k/src/commonMain/kotlin/net/codinux/banking/fints/mapper/FinTsModelMapper.kt index 02b481fd..17d334ba 100644 --- a/fints4k/src/commonMain/kotlin/net/codinux/banking/fints/mapper/FinTsModelMapper.kt +++ b/fints4k/src/commonMain/kotlin/net/codinux/banking/fints/mapper/FinTsModelMapper.kt @@ -129,7 +129,9 @@ open class FinTsModelMapper { transaction.referenceWithNoSpecialType, transaction.journalNumber, transaction.textKeyAddition, - transaction.orderReferenceNumber, transaction.referenceNumber + transaction.orderReferenceNumber, transaction.referenceNumber, + + transaction.isReversal ) } diff --git a/fints4k/src/commonMain/kotlin/net/dankito/banking/client/model/AccountTransaction.kt b/fints4k/src/commonMain/kotlin/net/dankito/banking/client/model/AccountTransaction.kt index d8b2469f..712a06b0 100644 --- a/fints4k/src/commonMain/kotlin/net/dankito/banking/client/model/AccountTransaction.kt +++ b/fints4k/src/commonMain/kotlin/net/dankito/banking/client/model/AccountTransaction.kt @@ -46,7 +46,9 @@ open class AccountTransaction( val textKeyAddition: String?, val orderReferenceNumber: String?, - val referenceNumber: String? + val referenceNumber: String?, + + val isReversal: Boolean ) { // for object deserializers @@ -56,7 +58,7 @@ open class AccountTransaction( : this(amount, unparsedReference, bookingDate, valueDate, otherPartyName, otherPartyBankId, otherPartyAccountId, postingText, null, null, 0, null, null, null, null, null, null, null, null, null, null, null, null, null, - null, null, null, null) + null, null, null, null, false) open val showOtherPartyName: Boolean