From 09d90c6c9dd3c14b1cfcc27c9ca5e12d45e9503d Mon Sep 17 00:00:00 2001 From: dankito Date: Tue, 22 Sep 2020 20:12:22 +0200 Subject: [PATCH] Renamed property accountData to account --- .../net/dankito/banking/fints/model/RetrievedAccountData.kt | 2 +- .../kotlin/net/dankito/banking/mapper/fints4kModelMapper.kt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/model/RetrievedAccountData.kt b/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/model/RetrievedAccountData.kt index 077617bb..29b706e8 100644 --- a/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/model/RetrievedAccountData.kt +++ b/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/model/RetrievedAccountData.kt @@ -4,7 +4,7 @@ import net.dankito.utils.multiplatform.Date open class RetrievedAccountData( - open val accountData: AccountData, + open val account: AccountData, open val successfullyRetrievedData: Boolean, open val balance: Money?, open var bookedTransactions: Collection, diff --git a/ui/fints4kBankingClient/src/commonMain/kotlin/net/dankito/banking/mapper/fints4kModelMapper.kt b/ui/fints4kBankingClient/src/commonMain/kotlin/net/dankito/banking/mapper/fints4kModelMapper.kt index bbcbb54c..fe32f20d 100644 --- a/ui/fints4kBankingClient/src/commonMain/kotlin/net/dankito/banking/mapper/fints4kModelMapper.kt +++ b/ui/fints4kBankingClient/src/commonMain/kotlin/net/dankito/banking/mapper/fints4kModelMapper.kt @@ -43,10 +43,10 @@ open class fints4kModelMapper(protected val modelCreator: IModelCreator) { } open fun map(bank: TypedBankData, retrievedData: net.dankito.banking.fints.model.RetrievedAccountData): RetrievedAccountData? { - val account = findMatchingAccount(bank, retrievedData.accountData) + val account = findMatchingAccount(bank, retrievedData.account) if (account == null) { - log.error("No matching account found for ${retrievedData.accountData}. Has there an account been added we didn't map yet?") + log.error("No matching account found for ${retrievedData.account}. Has there an account been added we didn't map yet?") return null }