Implemented sorting bookedTransactions
This commit is contained in:
parent
098834dbe5
commit
be0b4f597a
|
@ -130,7 +130,10 @@ open class FinTsClient(
|
|||
|
||||
|
||||
response.getFirstSegmentById<ReceivedAccountTransactions>(InstituteSegmentId.AccountTransactionsMt940)?.let { transactions ->
|
||||
return GetTransactionsResponse(response, transactions.bookedTransactions, transactions.unbookedTransactions, balance)
|
||||
return GetTransactionsResponse(response,
|
||||
transactions.bookedTransactions.sortedByDescending { it.bookingDate },
|
||||
transactions.unbookedTransactions,
|
||||
balance)
|
||||
}
|
||||
|
||||
return GetTransactionsResponse(response)
|
||||
|
|
Loading…
Reference in New Issue