class TotalRepository
TotalRepository VenueNext
Created on 3/7/19. Copyright © 2019 VenueNext Inc. All rights reserved.
<init> |
TotalRepository VenueNext TotalRepository(context: Context) |
context |
var context: Context |
totalDao |
val totalDao: TotalDao |
venueNextDB |
val venueNextDB: VenueNextDatabase |
count |
fun count(): Int |
deleteTotal |
fun deleteTotal(totalUUID: String): Deferred<Unit> |
getTotals |
fun getTotals(orderUUID: String): LiveData<List<Total>> |
insertTotal |
fun insertTotal(total: Total): Deferred<Unit> |
insertTotals |
fun insertTotals(totals: List<Total>): Deferred<Unit> |