From ab61064d35e89ec8573792de85989d3c96d36bec Mon Sep 17 00:00:00 2001 From: dankl Date: Mon, 13 Jan 2020 00:41:49 +0100 Subject: [PATCH] Changed property order --- .../src/main/java/net/dankito/banking/ui/model/Bank.kt | 4 ++-- .../net/dankito/banking/mapper/fints4javaModelMapper.kt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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 {