vnorder / com.venuenext.vnorder.orders.data / CartEntryModifierRepository

CartEntryModifierRepository

class CartEntryModifierRepository

CartEntryModifierRepository VenueNext

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

Constructors

<init>

CartEntryModifierRepository VenueNext

CartEntryModifierRepository(context: Context)

Properties

cartEntryModifierDao

val cartEntryModifierDao: CartEntryModifierDao

context

var context: Context

venueNextDB

val venueNextDB: VenueNextDatabase

Functions

count

fun count(): Int

deleteAllCartEntryModifiers

fun deleteAllCartEntryModifiers(): Deferred<Unit>

deleteCartEntryModifier

fun deleteCartEntryModifier(cartEntryModifierUUID: String): Deferred<Unit>

getCartEntryModifiers

fun getCartEntryModifiers(cartUUID: String): Deferred<List<CartEntryModifier>>

insertCartEntries

fun insertCartEntries(cartEntryModifiers: List<CartEntryModifier>): Deferred<Unit>

insertCartEntryModifier

fun insertCartEntryModifier(cartEntryModifier: CartEntryModifier): Deferred<Unit>