class CartEntryRepository
CartEntryRepository VenueNext
Created on 3/7/19. Copyright © 2019 VenueNext Inc. All rights reserved.
<init> |
CartEntryRepository VenueNext CartEntryRepository(context: Context) |
cartEntryDao |
val cartEntryDao: CartEntryDao |
context |
var context: Context |
venueNextDB |
val venueNextDB: VenueNextDatabase |
count |
fun count(): Int |
deleteAllCartEntries |
fun deleteAllCartEntries(): Deferred<Unit> |
deleteCartEntry |
fun deleteCartEntry(cartEntryUUID: String): Deferred<Unit> |
getCartEntries |
fun getCartEntries(cartUUID: String): Deferred<List<CartEntry>> |
insertCartEntries |
fun insertCartEntries(cartEntrys: List<CartEntry>): Deferred<Unit> |
insertCartEntry |
fun insertCartEntry(cartEntry: CartEntry): Deferred<Unit> |