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 }