diff --git a/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/model/Money.kt b/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/model/Money.kt index 4cdcdfd9..50306303 100644 --- a/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/model/Money.kt +++ b/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/model/Money.kt @@ -16,6 +16,8 @@ open class Money( + constructor(amount: String, currencyCode: String) : this(Amount(amount), currencyCode) + constructor(amount: Amount, currencyCode: String) : this(amount, Currency(currencyCode)) internal constructor() : this(Amount.Zero, "") // for object deserializers