From 3d3d143023194965a143861de2563726bc3e76f8 Mon Sep 17 00:00:00 2001 From: dankito Date: Tue, 6 Oct 2020 10:51:59 +0200 Subject: [PATCH] Added code "0". Even though it's not stated in the docs, but Sparkasse gives some Girokonten the type '0'. --- .../dankito/banking/fints/response/segments/AccountTypeCode.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/response/segments/AccountTypeCode.kt b/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/response/segments/AccountTypeCode.kt index 065633a9..abe764d6 100644 --- a/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/response/segments/AccountTypeCode.kt +++ b/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/response/segments/AccountTypeCode.kt @@ -21,6 +21,8 @@ import net.dankito.banking.fints.messages.datenelemente.implementierte.ICodeEnum */ enum class AccountTypeCode(override val code: String, val type: AccountType) : ICodeEnum { + Girokonto_0("0", AccountType.Girokonto), // not stated in spezification, but Sparkasse sometimes gives a Girokonto the type code '0' + Girokonto_1("1", AccountType.Girokonto), Girokonto_2("2", AccountType.Girokonto),