Compare commits

..

No commits in common. "736ed22a51636c5b59b1dfe1bd494b8e9152ff0b" and "98260fbfbfbbf9b69ad5058823f399f0e07e1de7" have entirely different histories.

3 changed files with 4 additions and 14 deletions

View File

@ -41,16 +41,6 @@ import kotlin.io.encoding.ExperimentalEncodingApi
open class FinTs4kMapper {
companion object {
val TanMethodTypesToMigrate = mapOf(
net.codinux.banking.fints.model.TanMethodType.ChipTanManuell.name to TanMethodType.ChipTanManual.name,
net.codinux.banking.fints.model.TanMethodType.ChipTanFlickercode.name to TanMethodType.ChipTanFlickerCode.name
)
val TanMethodTypesToMigrateReverse = TanMethodTypesToMigrate.map { it.value to it.key }.toMap()
}
protected val fintsModelMapper = FinTsModelMapper()
protected val bankingGroupMapper = BankingGroupMapper()
@ -92,7 +82,7 @@ open class FinTs4kMapper {
BankAccountIdentifierImpl(account.identifier, account.subAccountNumber, account.iban)
protected open fun mapTanMethodType(type: TanMethodType): net.codinux.banking.fints.model.TanMethodType =
net.codinux.banking.fints.model.TanMethodType.valueOf(TanMethodTypesToMigrateReverse[type.name] ?: type.name)
net.codinux.banking.fints.model.TanMethodType.valueOf(type.name)
protected open fun mapAllowedTanFormat(allowedTanFormat: AllowedTanFormat?): net.codinux.banking.fints.messages.datenelemente.implementierte.tan.AllowedTanFormat =
allowedTanFormat?.let { net.codinux.banking.fints.messages.datenelemente.implementierte.tan.AllowedTanFormat.valueOf(it.name) } ?: net.codinux.banking.fints.messages.datenelemente.implementierte.tan.AllowedTanFormat.Alphanumeric
@ -349,7 +339,7 @@ open class FinTs4kMapper {
)
protected open fun mapTanMethodType(type: net.codinux.banking.fints.model.TanMethodType): TanMethodType =
TanMethodType.valueOf(TanMethodTypesToMigrate[type.name] ?: type.name)
TanMethodType.valueOf(type.name)
protected open fun mapAllowedTanFormat(allowedTanFormat: net.codinux.banking.fints.messages.datenelemente.implementierte.tan.AllowedTanFormat?): AllowedTanFormat =
allowedTanFormat?.let { AllowedTanFormat.valueOf(it.name) } ?: AllowedTanFormat.Alphanumeric

View File

@ -21,7 +21,7 @@ repositories {
dependencies {
implementation("net.codinux.banking.client:fints4k-banking-client:0.7.2")
implementation("net.codinux.banking.client:fints4k-banking-client:0.7.1")
}
```

View File

@ -12,7 +12,7 @@ buildscript {
allprojects {
group = "net.codinux.banking.client"
version = "0.7.2"
version = "0.7.1"
repositories {
mavenCentral()