Contents

transactionHistory(forAccountID:since:isMonitoring:)

Returns the transactions for the specified account ID, optional starting time, and monitoring indicator for long running transaction queries.

Declaration

func transactionHistory(forAccountID accountID: UUID, since token: FinanceStore.HistoryToken? = nil, isMonitoring: Bool = true) -> FinanceStore.History<Transaction>

Parameters

  • accountID:

    An account identifier.

  • token:

    An optional Historytoken that describes a start time.

  • isMonitoring:

    A Boolean value that indicates the method should return records asynchronously as the system updates the FinanceStore.

Return Value

A FinanceStore.History of transactions that match the provided accountID.

Discussion

Use this method to search the finance store for transactions in a specific account and receive updates as the framework enters new transactions into the finance store. You can, optionally, specify a starting date and time by providing a historyToken.

See Also

Transactions