Removed setting bank name to value in bank parameters as this value contains a lot of confusing and irrelevant names (like DB24 for Deutsche Bank and Rechenzentrum Bayer. Gen. for Bavarian Raiffeisen banks)
This commit is contained in:
parent
f9a8e36078
commit
45f926055f
|
@ -987,7 +987,6 @@ open class FinTsClient(
|
|||
protected open fun updateBankData(bank: BankData, response: BankResponse) {
|
||||
response.getFirstSegmentById<BankParameters>(InstituteSegmentId.BankParameters)?.let { bankParameters ->
|
||||
bank.bpdVersion = bankParameters.bpdVersion
|
||||
bank.bankName = adjustBankName(bankParameters.bankName)
|
||||
bank.bankCode = bankParameters.bankCode
|
||||
bank.countryCode = bankParameters.bankCountryCode
|
||||
bank.countMaxJobsPerMessage = bankParameters.countMaxJobsPerMessage
|
||||
|
@ -1032,10 +1031,6 @@ open class FinTsClient(
|
|||
}
|
||||
}
|
||||
|
||||
protected open fun adjustBankName(bankName: String): String {
|
||||
return bankName.replace("DB24-Filiale", "Deutsche Bank") // set a better name for Deutsche Bank's self title 'DB24-Filiale'
|
||||
}
|
||||
|
||||
protected open fun updateCustomerData(bank: BankData, response: BankResponse) {
|
||||
response.getFirstSegmentById<BankParameters>(InstituteSegmentId.BankParameters)?.let { bankParameters ->
|
||||
// TODO: ask user if there is more than one supported language? But it seems that almost all banks only support German.
|
||||
|
|
Loading…
Reference in New Issue