Added countryCode
This commit is contained in:
parent
62482fb5a3
commit
400c13d6a2
|
@ -56,7 +56,11 @@ open class BankAccess(
|
||||||
open var tanMedia: List<TanMedium> = listOf(),
|
open var tanMedia: List<TanMedium> = listOf(),
|
||||||
|
|
||||||
var bankingGroup: BankingGroup? = null,
|
var bankingGroup: BankingGroup? = null,
|
||||||
open var serverAddress: String? = null
|
open var serverAddress: String? = null,
|
||||||
|
/**
|
||||||
|
* The ISO code of the country where the bank resides and to know the system of [domesticBankCode].
|
||||||
|
*/
|
||||||
|
val countryCode: String = "de"
|
||||||
) {
|
) {
|
||||||
|
|
||||||
var userSetDisplayName: String? = null
|
var userSetDisplayName: String? = null
|
||||||
|
|
|
@ -148,7 +148,8 @@ open class FinTs4kMapper {
|
||||||
bank.selectedTanMedium?.mediumName, bank.tanMedia.map { mapTanMedium(it) },
|
bank.selectedTanMedium?.mediumName, bank.tanMedia.map { mapTanMedium(it) },
|
||||||
|
|
||||||
info?.bankingGroup ?: getBankingGroup(bank.bankName, bank.bic),
|
info?.bankingGroup ?: getBankingGroup(bank.bankName, bank.bic),
|
||||||
bank.finTsServerAddress
|
bank.finTsServerAddress,
|
||||||
|
"de"
|
||||||
)
|
)
|
||||||
|
|
||||||
protected open fun getBankingGroup(bankName: String, bic: String): BankingGroup? =
|
protected open fun getBankingGroup(bankName: String, bic: String): BankingGroup? =
|
||||||
|
|
Loading…
Reference in New Issue