Added isReversal

This commit is contained in:
dankito 2024-09-08 22:20:59 +02:00
parent f069f9155c
commit 83c2882567
2 changed files with 7 additions and 3 deletions

View File

@ -129,7 +129,9 @@ open class FinTsModelMapper {
transaction.referenceWithNoSpecialType, transaction.referenceWithNoSpecialType,
transaction.journalNumber, transaction.textKeyAddition, transaction.journalNumber, transaction.textKeyAddition,
transaction.orderReferenceNumber, transaction.referenceNumber transaction.orderReferenceNumber, transaction.referenceNumber,
transaction.isReversal
) )
} }

View File

@ -46,7 +46,9 @@ open class AccountTransaction(
val textKeyAddition: String?, val textKeyAddition: String?,
val orderReferenceNumber: String?, val orderReferenceNumber: String?,
val referenceNumber: String? val referenceNumber: String?,
val isReversal: Boolean
) { ) {
// for object deserializers // for object deserializers
@ -56,7 +58,7 @@ open class AccountTransaction(
: this(amount, unparsedReference, bookingDate, valueDate, otherPartyName, otherPartyBankId, otherPartyAccountId, postingText, : this(amount, unparsedReference, bookingDate, valueDate, otherPartyName, otherPartyBankId, otherPartyAccountId, postingText,
null, null, 0, null, null, null, 0, null,
null, null, null, null, null, null, null, null, null, null, null, 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 open val showOtherPartyName: Boolean