vnorder / com.venuenext.vnorder.orders.data / CartDao

CartDao

interface CartDao

Functions

count

abstract fun count(): Int

deleteAllCarts

abstract fun deleteAllCarts(): Unit

deleteCart

abstract fun deleteCart(user: Cart): Unit
abstract fun deleteCart(cartUUID: String): Unit

deleteCarts

abstract fun deleteCarts(carts: List<Cart>): Unit

getCart

abstract fun getCart(orderUUID: String): Cart

insertCart

abstract fun insertCart(cart: Cart): Unit

insertCarts

abstract fun insertCarts(cart: List<Cart>): Unit