diff --git a/BankingUiCommon/src/main/java/net/dankito/banking/ui/model/Bank.kt b/BankingUiCommon/src/main/java/net/dankito/banking/ui/model/Bank.kt index 4defd9b5..f2acad77 100644 --- a/BankingUiCommon/src/main/java/net/dankito/banking/ui/model/Bank.kt +++ b/BankingUiCommon/src/main/java/net/dankito/banking/ui/model/Bank.kt @@ -3,9 +3,9 @@ package net.dankito.banking.ui.model open class Bank @JvmOverloads constructor( val bankCode: String, - var finTsServerAddress: String, - var bic: String, var name: String, + var bic: String, + var finTsServerAddress: String, var iconUrl: String? = null ) { diff --git a/fints4javaBankingClient/src/main/kotlin/net/dankito/banking/mapper/fints4javaModelMapper.kt b/fints4javaBankingClient/src/main/kotlin/net/dankito/banking/mapper/fints4javaModelMapper.kt index 3f64a02d..69633c6f 100644 --- a/fints4javaBankingClient/src/main/kotlin/net/dankito/banking/mapper/fints4javaModelMapper.kt +++ b/fints4javaBankingClient/src/main/kotlin/net/dankito/banking/mapper/fints4javaModelMapper.kt @@ -77,7 +77,7 @@ open class fints4javaModelMapper { } open fun mapBank(bank: BankData): Bank { - return Bank(bank.bankCode, bank.finTs3ServerAddress, bank.bic, bank.name) + return Bank(bank.bankCode, bank.name, bank.bic, bank.finTs3ServerAddress) } open fun mapBankAccounts(account: Account, accountData: List): List {