Renamed lastTransactionRetrievalTime to lastTransactionsRetrievalTime
This commit is contained in:
parent
d689c7663f
commit
3b05a8b9c8
|
@ -87,8 +87,8 @@ open class FinTsModelMapper {
|
||||||
}
|
}
|
||||||
|
|
||||||
val retrievalTime = if (retrieveTransactionsTo == null) accountTransactionsResponse.retrievalTime else retrieveTransactionsTo.atTime(0, 0)
|
val retrievalTime = if (retrieveTransactionsTo == null) accountTransactionsResponse.retrievalTime else retrieveTransactionsTo.atTime(0, 0)
|
||||||
if (bankAccount.lastTransactionRetrievalTime == null || bankAccount.lastTransactionRetrievalTime!! <= retrievalTime) { // if retrieveTransactionsTo is set it may is older than current account's lastTransactionRetrievalTime
|
if (bankAccount.lastTransactionsRetrievalTime == null || bankAccount.lastTransactionsRetrievalTime!! <= retrievalTime) { // if retrieveTransactionsTo is set it may is older than current account's lastTransactionsRetrievalTime
|
||||||
bankAccount.lastTransactionRetrievalTime = retrievalTime
|
bankAccount.lastTransactionsRetrievalTime = retrievalTime
|
||||||
}
|
}
|
||||||
|
|
||||||
bankAccount.bookedTransactions = map(accountTransactionsResponse)
|
bankAccount.bookedTransactions = map(accountTransactionsResponse)
|
||||||
|
|
|
@ -36,7 +36,7 @@ open class BankAccount(
|
||||||
|
|
||||||
open var retrievedTransactionsFrom: LocalDate? = null
|
open var retrievedTransactionsFrom: LocalDate? = null
|
||||||
|
|
||||||
open var lastTransactionRetrievalTime: LocalDateTime? = null
|
open var lastTransactionsRetrievalTime: LocalDateTime? = null
|
||||||
|
|
||||||
open var bookedTransactions: List<AccountTransaction> = listOf()
|
open var bookedTransactions: List<AccountTransaction> = listOf()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue