diff --git a/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/model/CreditCardTransaction.kt b/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/model/CreditCardTransaction.kt index 1d6d76de..d29a70bd 100644 --- a/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/model/CreditCardTransaction.kt +++ b/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/model/CreditCardTransaction.kt @@ -1,6 +1,7 @@ package net.dankito.banking.fints.model import net.dankito.utils.multiplatform.Date +import net.dankito.utils.multiplatform.format open class CreditCardTransaction( @@ -9,4 +10,10 @@ open class CreditCardTransaction( val bookingDate: Date, val valueDate: Date, val isCleared: Boolean -) \ No newline at end of file +) { + + override fun toString(): String { + return "${valueDate.format("dd.MM.yy")} $amount $otherPartyName" + } + +} \ No newline at end of file