Removed smsDebitAccount (there should be rarely a use case for it)
This commit is contained in:
parent
07926ef0c1
commit
72889aeeed
|
@ -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"
|
||||
}
|
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue