diff --git a/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/model/Amount.kt b/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/model/Amount.kt index df2cd723..41d63c09 100644 --- a/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/model/Amount.kt +++ b/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/model/Amount.kt @@ -6,11 +6,13 @@ open class Amount( ) { companion object { - val Zero = Amount("0,") + val ZeroString = "0," + + val Zero = Amount(ZeroString) } - internal constructor() : this("") // for object deserializers + internal constructor() : this(ZeroString) // for object deserializers override fun equals(other: Any?): Boolean {