From e4d605531e7efaa030754c6ca866c845d9534458 Mon Sep 17 00:00:00 2001 From: dankito Date: Wed, 11 Sep 2024 22:59:51 +0200 Subject: [PATCH] Added hint that amount strings use ',' as decimal separator --- .../kotlin/net/codinux/banking/fints/model/Amount.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fints4k/src/commonMain/kotlin/net/codinux/banking/fints/model/Amount.kt b/fints4k/src/commonMain/kotlin/net/codinux/banking/fints/model/Amount.kt index ed5fb7ec..76b45b95 100644 --- a/fints4k/src/commonMain/kotlin/net/codinux/banking/fints/model/Amount.kt +++ b/fints4k/src/commonMain/kotlin/net/codinux/banking/fints/model/Amount.kt @@ -3,7 +3,9 @@ package net.codinux.banking.fints.model import kotlinx.serialization.Serializable import net.dankito.banking.client.model.serializer.AmountSerializer - +/** + * Be aware: The decimal separator is as specified by FinTS standard ',', not '.'. + */ @Serializable(with = AmountSerializer::class) open class Amount( val string: String