class OrderItemRepository
OrderItemRepository VenueNext
Created on 7/25/19. Copyright © 2019 VenueNext Inc. All rights reserved.
<init> |
OrderItemRepository VenueNext OrderItemRepository(context: Context) |
context |
var context: Context |
orderItemDao |
val orderItemDao: OrderItemDao |
venueNextDB |
val venueNextDB: VenueNextDatabase |
count |
fun count(): Int |
deleteAllOrderItems |
fun deleteAllOrderItems(): Deferred<Unit> |
deleteOrderItem |
fun deleteOrderItem(orderItemUUID: String): Deferred<Unit> |
getOrderItem |
fun getOrderItem(orderItemUUID: String): Deferred<OrderItem> |
insertOrderItem |
fun insertOrderItem(orderItem: OrderItem): Deferred<Unit> |
insertOrderItems |
fun insertOrderItems(orderItems: List<OrderItem>): Deferred<Unit> |