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
|
@NoArgConstructor
|
||||||
open class MobilePhoneTanMedium(
|
open class MobilePhoneTanMedium(
|
||||||
val phoneNumber: String?,
|
val phoneNumber: String?,
|
||||||
val concealedPhoneNumber: String? = null,
|
val concealedPhoneNumber: String? = null
|
||||||
val smsDebitAccount: BankAccountIdentifier? = null
|
|
||||||
) {
|
) {
|
||||||
override fun toString() = phoneNumber ?: "No phone number"
|
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(
|
protected open fun mapMobilePhoneTanMedium(tanMedium: MobilePhoneTanMedium) = net.codinux.banking.client.model.tan.MobilePhoneTanMedium(
|
||||||
tanMedium.phoneNumber, tanMedium.concealedPhoneNumber,
|
tanMedium.phoneNumber, tanMedium.concealedPhoneNumber
|
||||||
// TODO (but with very low priority): Map smsDebitAccount from segment
|
|
||||||
// tanMedium.smsDebitAccount?.let { BankAccountIdentifier(it.accountNumber, it.subAccountAttribute, it.iban) }
|
|
||||||
)
|
)
|
||||||
|
|
||||||
protected open fun mapTanGeneratorTanMedium(tanMedium: TanGeneratorTanMedium) = net.codinux.banking.client.model.tan.TanGeneratorTanMedium(
|
protected open fun mapTanGeneratorTanMedium(tanMedium: TanGeneratorTanMedium) = net.codinux.banking.client.model.tan.TanGeneratorTanMedium(
|
||||||
|
|
Loading…
Reference in New Issue