From 639653f430eeedfa7eccf526b6f89fd39ef183c5 Mon Sep 17 00:00:00 2001 From: dankito Date: Wed, 12 Aug 2020 00:15:00 +0200 Subject: [PATCH] Added mediumName to TanMedium --- .../net/dankito/banking/fints/response/ResponseParser.kt | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/response/ResponseParser.kt b/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/response/ResponseParser.kt index 7ef4868e..b9e22ce2 100644 --- a/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/response/ResponseParser.kt +++ b/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/response/ResponseParser.kt @@ -538,8 +538,13 @@ open class ResponseParser( return when (mediumClass) { TanMediumKlasse.TanGenerator -> parseTanGeneratorTanMedium(mediumClass, status, hitabVersion, remainingDataElements) - TanMediumKlasse.MobiltelefonMitMobileTan -> parseMobilePhoneTanMedium(mediumClass, status, hitabVersion, remainingDataElements) - else -> TanMedium(mediumClass, status) + TanMediumKlasse.MobiltelefonMitMobileTan -> parseMobilePhoneTanMedium( + mediumClass, + status, + hitabVersion, + remainingDataElements + ) + else -> TanMedium(mediumClass, status, "Unbekannte TAN Medium Klasse") } }