vnorder / com.venuenext.vnorder.orders.data / OrderItemDao

OrderItemDao

interface OrderItemDao

OrderItemDao VenueNext

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

Functions

count

abstract fun count(): Int

deleteAllOrderItems

abstract fun deleteAllOrderItems(): Unit

deleteOrderItem

abstract fun deleteOrderItem(order: OrderItem): Unit
abstract fun deleteOrderItem(orderItemUUID: String): Unit

deleteOrderItems

abstract fun deleteOrderItems(orderItems: List<OrderItem>): Unit

getOrderItem

abstract fun getOrderItem(orderItemUUID: String): OrderItem

insertOrderItem

abstract fun insertOrderItem(orderItem: OrderItem): Unit

insertOrderItems

abstract fun insertOrderItems(orderItem: List<OrderItem>): Unit