Re-added setting bank name to BankParameters.bankName in case that it's not set (as the value from BankParameters contains a lot of confusion and irrelevant names)
This commit is contained in:
parent
78cb96b8dc
commit
6975502f28
|
@ -27,6 +27,11 @@ open class ModelMapper(
|
||||||
bank.supportedHbciVersions = bankParameters.supportedHbciVersions
|
bank.supportedHbciVersions = bankParameters.supportedHbciVersions
|
||||||
bank.supportedLanguages = bankParameters.supportedLanguages
|
bank.supportedLanguages = bankParameters.supportedLanguages
|
||||||
|
|
||||||
|
if (bank.bankName.isBlank()) {
|
||||||
|
// just as fallback as this value contains a lot of confusing and irrelevant names (like DB24 for Deutsche Bank and Rechenzentrum Bayer. Gen. for Bavarian Raiffeisen banks)
|
||||||
|
bank.bankName = bankParameters.bankName
|
||||||
|
}
|
||||||
|
|
||||||
// bank.bic = bankParameters. // TODO: where's the BIC?
|
// bank.bic = bankParameters. // TODO: where's the BIC?
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue