From e02261604538eef2374a71053829e184ab633c90 Mon Sep 17 00:00:00 2001 From: dankl Date: Thu, 16 Jan 2020 00:12:56 +0100 Subject: [PATCH] Changed property order --- .../src/main/java/net/dankito/banking/ui/model/Bank.kt | 2 +- .../kotlin/net/dankito/banking/mapper/fints4javaModelMapper.kt | 2 +- 2 files changed, 2 insertions(+), 2 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 f2acad77..b6e67350 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 @@ -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 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 69633c6f..dffa6f0c 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.name, bank.bic, bank.finTs3ServerAddress) + return Bank(bank.name, bank.bankCode, bank.bic, bank.finTs3ServerAddress) } open fun mapBankAccounts(account: Account, accountData: List): List {