Renamed ChipTan to ChipTanOptisch; added ChipTanManuell
This commit is contained in:
parent
3c76bbd93c
commit
f62f6bf61b
|
@ -78,8 +78,9 @@ open class fints4javaModelMapper {
|
|||
|
||||
open fun mapTanProcedureType(type: net.dankito.fints.model.TanProcedureType): TanProcedureType {
|
||||
return when (type) {
|
||||
net.dankito.fints.model.TanProcedureType.EnterTan -> TanProcedureType.EnterTan // TODO: add ChipTanManuell
|
||||
net.dankito.fints.model.TanProcedureType.ChipTan -> TanProcedureType.ChipTanOptisch
|
||||
net.dankito.fints.model.TanProcedureType.EnterTan -> TanProcedureType.EnterTan
|
||||
net.dankito.fints.model.TanProcedureType.ChipTanManuell -> TanProcedureType.ChipTanManuell
|
||||
net.dankito.fints.model.TanProcedureType.ChipTanOptisch -> TanProcedureType.ChipTanOptisch
|
||||
net.dankito.fints.model.TanProcedureType.ChipTanQrCode -> TanProcedureType.ChipTanQrCode
|
||||
net.dankito.fints.model.TanProcedureType.PhotoTan -> TanProcedureType.PhotoTan
|
||||
net.dankito.fints.model.TanProcedureType.SmsTan -> TanProcedureType.SmsTan
|
||||
|
@ -129,8 +130,8 @@ open class fints4javaModelMapper {
|
|||
open fun mapTanProcedureTypeBack(type: TanProcedureType): net.dankito.fints.model.TanProcedureType {
|
||||
return when (type) {
|
||||
TanProcedureType.EnterTan -> net.dankito.fints.model.TanProcedureType.EnterTan
|
||||
TanProcedureType.ChipTanManuell -> net.dankito.fints.model.TanProcedureType.EnterTan // TODO: add ChipTanManuell
|
||||
TanProcedureType.ChipTanOptisch -> net.dankito.fints.model.TanProcedureType.ChipTan
|
||||
TanProcedureType.ChipTanManuell -> net.dankito.fints.model.TanProcedureType.ChipTanManuell
|
||||
TanProcedureType.ChipTanOptisch -> net.dankito.fints.model.TanProcedureType.ChipTanOptisch
|
||||
TanProcedureType.ChipTanQrCode -> net.dankito.fints.model.TanProcedureType.ChipTanQrCode
|
||||
TanProcedureType.PhotoTan -> net.dankito.fints.model.TanProcedureType.PhotoTan
|
||||
TanProcedureType.SmsTan -> net.dankito.fints.model.TanProcedureType.SmsTan
|
||||
|
|
|
@ -728,7 +728,8 @@ open class FinTsClient @JvmOverloads constructor(
|
|||
nameLowerCase.contains("chiptan") -> {
|
||||
return when {
|
||||
nameLowerCase.contains("qr") -> TanProcedureType.ChipTanQrCode
|
||||
else -> TanProcedureType.ChipTan
|
||||
nameLowerCase.contains("manuell") -> TanProcedureType.ChipTanManuell
|
||||
else -> TanProcedureType.ChipTanOptisch
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -5,7 +5,9 @@ enum class TanProcedureType {
|
|||
|
||||
EnterTan,
|
||||
|
||||
ChipTan,
|
||||
ChipTanManuell,
|
||||
|
||||
ChipTanOptisch,
|
||||
|
||||
ChipTanQrCode,
|
||||
|
||||
|
|
Loading…
Reference in New Issue