Renamed property accountData to account

This commit is contained in:
dankito 2020-09-22 20:12:22 +02:00
parent 7d8d1eb6d0
commit 09d90c6c9d
2 changed files with 3 additions and 3 deletions

View File

@ -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<AccountTransaction>,

View File

@ -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
}