Added mediumName to TanMedium

This commit is contained in:
dankito 2020-08-12 00:15:00 +02:00
parent 2e71b2e53a
commit 639653f430
1 changed files with 7 additions and 2 deletions

View File

@ -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")
}
}