Added countryCode

This commit is contained in:
dankito 2024-09-16 17:30:49 +02:00
parent 62482fb5a3
commit 400c13d6a2
2 changed files with 7 additions and 2 deletions

View File

@ -56,7 +56,11 @@ open class BankAccess(
open var tanMedia: List<TanMedium> = listOf(),
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

View File

@ -148,7 +148,8 @@ open class FinTs4kMapper {
bank.selectedTanMedium?.mediumName, bank.tanMedia.map { mapTanMedium(it) },
info?.bankingGroup ?: getBankingGroup(bank.bankName, bank.bic),
bank.finTsServerAddress
bank.finTsServerAddress,
"de"
)
protected open fun getBankingGroup(bankName: String, bic: String): BankingGroup? =