Added toString()
This commit is contained in:
parent
c66f27d88b
commit
b94c5d5cf5
|
@ -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
|
||||
)
|
||||
) {
|
||||
|
||||
override fun toString(): String {
|
||||
return "${valueDate.format("dd.MM.yy")} $amount $otherPartyName"
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue