vnorder / com.venuenext.vnorder.orders.data / CartEntryDao

CartEntryDao

interface CartEntryDao

CartEntryDao VenueNext

Created on 3/7/19. Copyright © 2019 VenueNext Inc. All rights reserved.

Functions

count

abstract fun count(): Int

deleteAllCartEntries

abstract fun deleteAllCartEntries(): Unit

deleteCartEntries

abstract fun deleteCartEntries(cartEntries: List<CartEntry>): Unit

deleteCartEntry

abstract fun deleteCartEntry(cartEntry: CartEntry): Unit
abstract fun deleteCartEntry(cartEntryUUID: String): Unit

getAllCartEntries

abstract fun getAllCartEntries(): List<CartEntry>

getCartEntries

abstract fun getCartEntries(cartUUID: String): List<CartEntry>

insertCartEntries

abstract fun insertCartEntries(cartEntries: List<CartEntry>): Unit

insertCartEntry

abstract fun insertCartEntry(cartEntry: CartEntry): Unit