From a56240a300bc82546e7bfb1fefd0b7e2ffd6de90 Mon Sep 17 00:00:00 2001 From: dankito Date: Wed, 13 May 2020 23:31:42 +0200 Subject: [PATCH] Added comment that retrieving TAN media (= TAN generator) list is only supported for accounts with chipTAN TAN procedures --- fints4k/src/main/kotlin/net/dankito/fints/FinTsClient.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/fints4k/src/main/kotlin/net/dankito/fints/FinTsClient.kt b/fints4k/src/main/kotlin/net/dankito/fints/FinTsClient.kt index 4ea8929a..22d9bb19 100644 --- a/fints4k/src/main/kotlin/net/dankito/fints/FinTsClient.kt +++ b/fints4k/src/main/kotlin/net/dankito/fints/FinTsClient.kt @@ -369,6 +369,7 @@ open class FinTsClient @JvmOverloads constructor( messageBuilder.createGetTanMediaListMessage(dialogContext, tanMediaKind, tanMediumClass) } + // TAN media list (= TAN generator list) is only returned for users with chipTAN TAN procedures val tanMediaList = if (response.successful == false ) null else response.getFirstSegmentById(InstituteSegmentId.TanMediaList)