Renamed property accountData to account
This commit is contained in:
parent
7d8d1eb6d0
commit
09d90c6c9d
|
@ -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>,
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue