TinkMoneyManagerUI Documentation Beta

Structure Transactions​Query

public struct TransactionsQuery: Equatable

The TransactionQuery is used to determine which transactions to show. If no queries are selected, all transactions will be available.

TransactionsQuery TransactionsQuery Equatable Equatable TransactionsQuery->Equatable

Nested Types

TransactionsQuery.Sort

A type that determines how to sort the transactions.

TransactionsQuery.Order

A type that determines the order of the transactions.

Conforms To

Equatable

Initializers

init(account​IDs:​category​IDs:​date​Interval:​query:​include​Upcoming:​sort:​order:​limit:​)

public init(accountIDs: [Account.ID] = [], categoryIDs: [Category.ID] = [], dateInterval: DateInterval? = nil, query: String? = nil, includeUpcoming: Bool = false, sort: Sort = .date, order: Order = .descending, limit: Int? = nil)

Initialize a new TransactionQuery

Parameters

account​IDs [Account.​ID]

A list of account ids to include transactions from.

category​IDs [Category.​ID]

A list of caregory ids to include transactions from.

date​Interval Date​Interval?

A date interval for which transactions to include.

query String?

Transaction query.

include​Upcoming Bool

Incluce planned transactions which have not been withdrawn yet.

sort Sort

Determine sortation for transactions.

order Order

Determinea how the transactions will be ordered.

limit Int?

The maximum amount of transactions to fetch.

Properties

account​IDs

var accountIDs: [Account.ID]

A list of account ids to include transactions from.

category​IDs

var categoryIDs: [Category.ID]

A list of caregory ids to include transactions from.

date​Interval

var dateInterval: DateInterval?

A date interval for which transactions to include.

query

var query: String?

Transaction query.

include​Upcoming

var includeUpcoming: Bool

Incluce planned transactions which have not been withdrawn yet.

sort

var sort: Sort

Determine sortation for transactions.

order

var order: Order

Determinea how the transactions will be ordered.

limit

var limit: Int?

The maximum amount of transactions to fetch.