diff --git a/BankingClientModel/src/commonMain/kotlin/net/codinux/banking/client/model/tan/MobilePhoneTanMedium.kt b/BankingClientModel/src/commonMain/kotlin/net/codinux/banking/client/model/tan/MobilePhoneTanMedium.kt index b252f30e..85b817e5 100644 --- a/BankingClientModel/src/commonMain/kotlin/net/codinux/banking/client/model/tan/MobilePhoneTanMedium.kt +++ b/BankingClientModel/src/commonMain/kotlin/net/codinux/banking/client/model/tan/MobilePhoneTanMedium.kt @@ -6,8 +6,7 @@ import net.codinux.banking.client.model.config.NoArgConstructor @NoArgConstructor open class MobilePhoneTanMedium( val phoneNumber: String?, - val concealedPhoneNumber: String? = null, - val smsDebitAccount: BankAccountIdentifier? = null + val concealedPhoneNumber: String? = null ) { override fun toString() = phoneNumber ?: "No phone number" } \ No newline at end of file diff --git a/FinTs4jBankingClient/src/commonMain/kotlin/net/codinux/banking/client/fints4k/FinTs4kMapper.kt b/FinTs4jBankingClient/src/commonMain/kotlin/net/codinux/banking/client/fints4k/FinTs4kMapper.kt index 0063f2e0..b5477516 100644 --- a/FinTs4jBankingClient/src/commonMain/kotlin/net/codinux/banking/client/fints4k/FinTs4kMapper.kt +++ b/FinTs4jBankingClient/src/commonMain/kotlin/net/codinux/banking/client/fints4k/FinTs4kMapper.kt @@ -188,9 +188,7 @@ open class FinTs4kMapper { } protected open fun mapMobilePhoneTanMedium(tanMedium: MobilePhoneTanMedium) = net.codinux.banking.client.model.tan.MobilePhoneTanMedium( - tanMedium.phoneNumber, tanMedium.concealedPhoneNumber, - // TODO (but with very low priority): Map smsDebitAccount from segment -// tanMedium.smsDebitAccount?.let { BankAccountIdentifier(it.accountNumber, it.subAccountAttribute, it.iban) } + tanMedium.phoneNumber, tanMedium.concealedPhoneNumber ) protected open fun mapTanGeneratorTanMedium(tanMedium: TanGeneratorTanMedium) = net.codinux.banking.client.model.tan.TanGeneratorTanMedium(