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 {
|
open fun mapTanProcedureType(type: net.dankito.fints.model.TanProcedureType): TanProcedureType {
|
||||||
return when (type) {
|
return when (type) {
|
||||||
net.dankito.fints.model.TanProcedureType.EnterTan -> TanProcedureType.EnterTan // TODO: add ChipTanManuell
|
net.dankito.fints.model.TanProcedureType.EnterTan -> TanProcedureType.EnterTan
|
||||||
net.dankito.fints.model.TanProcedureType.ChipTan -> TanProcedureType.ChipTanOptisch
|
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.ChipTanQrCode -> TanProcedureType.ChipTanQrCode
|
||||||
net.dankito.fints.model.TanProcedureType.PhotoTan -> TanProcedureType.PhotoTan
|
net.dankito.fints.model.TanProcedureType.PhotoTan -> TanProcedureType.PhotoTan
|
||||||
net.dankito.fints.model.TanProcedureType.SmsTan -> TanProcedureType.SmsTan
|
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 {
|
open fun mapTanProcedureTypeBack(type: TanProcedureType): net.dankito.fints.model.TanProcedureType {
|
||||||
return when (type) {
|
return when (type) {
|
||||||
TanProcedureType.EnterTan -> net.dankito.fints.model.TanProcedureType.EnterTan
|
TanProcedureType.EnterTan -> net.dankito.fints.model.TanProcedureType.EnterTan
|
||||||
TanProcedureType.ChipTanManuell -> net.dankito.fints.model.TanProcedureType.EnterTan // TODO: add ChipTanManuell
|
TanProcedureType.ChipTanManuell -> net.dankito.fints.model.TanProcedureType.ChipTanManuell
|
||||||
TanProcedureType.ChipTanOptisch -> net.dankito.fints.model.TanProcedureType.ChipTan
|
TanProcedureType.ChipTanOptisch -> net.dankito.fints.model.TanProcedureType.ChipTanOptisch
|
||||||
TanProcedureType.ChipTanQrCode -> net.dankito.fints.model.TanProcedureType.ChipTanQrCode
|
TanProcedureType.ChipTanQrCode -> net.dankito.fints.model.TanProcedureType.ChipTanQrCode
|
||||||
TanProcedureType.PhotoTan -> net.dankito.fints.model.TanProcedureType.PhotoTan
|
TanProcedureType.PhotoTan -> net.dankito.fints.model.TanProcedureType.PhotoTan
|
||||||
TanProcedureType.SmsTan -> net.dankito.fints.model.TanProcedureType.SmsTan
|
TanProcedureType.SmsTan -> net.dankito.fints.model.TanProcedureType.SmsTan
|
||||||
|
|
|
@ -728,7 +728,8 @@ open class FinTsClient @JvmOverloads constructor(
|
||||||
nameLowerCase.contains("chiptan") -> {
|
nameLowerCase.contains("chiptan") -> {
|
||||||
return when {
|
return when {
|
||||||
nameLowerCase.contains("qr") -> TanProcedureType.ChipTanQrCode
|
nameLowerCase.contains("qr") -> TanProcedureType.ChipTanQrCode
|
||||||
else -> TanProcedureType.ChipTan
|
nameLowerCase.contains("manuell") -> TanProcedureType.ChipTanManuell
|
||||||
|
else -> TanProcedureType.ChipTanOptisch
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,9 @@ enum class TanProcedureType {
|
||||||
|
|
||||||
EnterTan,
|
EnterTan,
|
||||||
|
|
||||||
ChipTan,
|
ChipTanManuell,
|
||||||
|
|
||||||
|
ChipTanOptisch,
|
||||||
|
|
||||||
ChipTanQrCode,
|
ChipTanQrCode,
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue