Transactions

data class Transactions(    val title: String,     val accounts: List<String>? = emptyList(),     val categories: List<String>? = emptyList(),     val dateInterval: DateInterval? = null,     val query: String? = null,     val includeUpcoming: Boolean = false,     val sort: SearchQuery.SortEnum? = SearchQuery.SortEnum.DATE,     val order: SearchQuery.OrderEnum? = SearchQuery.OrderEnum.DESC,     val limit: Int? = null) : EntryPoint, Parcelable

Entrypoint for the Transactions screen.

This class contains all the parameters that are used to customize the Transactions screen.

Parameters

title

The title of the page.

accounts

A list of account IDs to filter transactions from. Pass an empty list to include transactions from all accounts.

categories

A list of category IDs to filter transactions from. Pass an empty list to include transactions from all categories.

dateInterval

A date interval DateInterval for which transactions should be included.

query

Additional transaction query parameters.

includeUpcoming

Determines whether to include upcoming transactions. Defaults to false.

sort

SearchQuery.SortEnum Specifies the sorting criteria for transactions.

order

SearchQuery.OrderEnum Specifies the order in which transactions will be presented.

limit

The maximum number of transactions to retrieve.

Constructors

Link copied to clipboard
fun Transactions(    title: String,     accounts: List<String>? = emptyList(),     categories: List<String>? = emptyList(),     dateInterval: DateInterval? = null,     query: String? = null,     includeUpcoming: Boolean = false,     sort: SearchQuery.SortEnum? = SearchQuery.SortEnum.DATE,     order: SearchQuery.OrderEnum? = SearchQuery.OrderEnum.DESC,     limit: Int? = null)

Properties

Link copied to clipboard
val accounts: List<String>?
Link copied to clipboard
val categories: List<String>?
Link copied to clipboard
val dateInterval: DateInterval? = null
Link copied to clipboard
val includeUpcoming: Boolean = false
Link copied to clipboard
val limit: Int? = null
Link copied to clipboard
val order: SearchQuery.OrderEnum?
Link copied to clipboard
val query: String? = null
Link copied to clipboard
val sort: SearchQuery.SortEnum?
Link copied to clipboard
val title: String