app
Toggle table of contents
androidJvm
Platform filter
androidJvm
Switch theme
Search in API
app
app
/
com.fam007e.receipts.domain.repository
/
ReceiptRepository
Receipt
Repository
interface
ReceiptRepository
Inheritors
ReceiptRepositoryImpl
Members
Functions
get
Category
By
Id
Link copied to clipboard
abstract
suspend
fun
getCategoryById
(
categoryId
:
Long
)
:
Category
?
get
Category
Count
Link copied to clipboard
abstract
suspend
fun
getCategoryCount
(
personId
:
Long
,
categoryId
:
Long
)
:
Int
get
Most
Embarrassing
Receipts
Link copied to clipboard
abstract
suspend
fun
getMostEmbarrassingReceipts
(
personId
:
Long
,
limit
:
Int
)
:
List
<
Receipt
>
get
Receipt
By
Id
Link copied to clipboard
abstract
suspend
fun
getReceiptById
(
id
:
Long
)
:
Receipt
?
get
Receipts
For
Person
Link copied to clipboard
abstract
fun
getReceiptsForPerson
(
personId
:
Long
)
:
Flow
<
List
<
Receipt
>
>
get
Recents
In
Category
Link copied to clipboard
abstract
suspend
fun
getRecentsInCategory
(
personId
:
Long
,
categoryId
:
Long
,
limit
:
Int
)
:
List
<
Receipt
>
get
Top
Category
Link copied to clipboard
abstract
suspend
fun
getTopCategory
(
personId
:
Long
)
:
Category
?
get
Top
Category
Id
Link copied to clipboard
abstract
suspend
fun
getTopCategoryId
(
personId
:
Long
)
:
Long
?
get
Total
Count
Link copied to clipboard
abstract
suspend
fun
getTotalCount
(
personId
:
Long
)
:
Int
insert
Receipt
Link copied to clipboard
abstract
suspend
fun
insertReceipt
(
receipt
:
Receipt
)
:
Long
mark
Hidden
Link copied to clipboard
abstract
suspend
fun
markHidden
(
id
:
Long
)