Changed property order

This commit is contained in:
dankl 2020-01-16 00:12:56 +01:00 committed by dankito
parent 0c8870446e
commit e022616045
2 changed files with 2 additions and 2 deletions

View File

@ -2,8 +2,8 @@ package net.dankito.banking.ui.model
open class Bank @JvmOverloads constructor(
val bankCode: String,
var name: String,
val bankCode: String,
var bic: String,
var finTsServerAddress: String,
var iconUrl: String? = null

View File

@ -77,7 +77,7 @@ open class fints4javaModelMapper {
}
open fun mapBank(bank: BankData): Bank {
return Bank(bank.bankCode, bank.name, bank.bic, bank.finTs3ServerAddress)
return Bank(bank.name, bank.bankCode, bank.bic, bank.finTs3ServerAddress)
}
open fun mapBankAccounts(account: Account, accountData: List<AccountData>): List<BankAccount> {