Changed property order

This commit is contained in:
dankl 2020-01-13 00:41:49 +01:00 committed by dankito
parent 6ea4692e26
commit ab61064d35
2 changed files with 3 additions and 3 deletions

View File

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

View File

@ -77,7 +77,7 @@ open class fints4javaModelMapper {
} }
open fun mapBank(bank: BankData): Bank { 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<AccountData>): List<BankAccount> { open fun mapBankAccounts(account: Account, accountData: List<AccountData>): List<BankAccount> {