vnorder / com.venuenext.vnorder.orders.data / CartEntryAgeMetadataRepository

CartEntryAgeMetadataRepository

class CartEntryAgeMetadataRepository

CartEntryAgeMetadataRepository VenueNext

Created on 8/13/19. Copyright © 2019 VenueNext Inc. All rights reserved.

Constructors

<init>

CartEntryAgeMetadataRepository VenueNext

CartEntryAgeMetadataRepository(context: Context)

Properties

cartEntryAgeMetadataDao

val cartEntryAgeMetadataDao: CartEntryAgeMetadataDao

context

var context: Context

venueNextDB

val venueNextDB: VenueNextDatabase

Functions

count

fun count(): Int

deleteAllCartEntryAgeMetadatas

fun deleteAllCartEntryAgeMetadatas(): Deferred<Unit>

deleteCartEntryAgeMetadata

fun deleteCartEntryAgeMetadata(cartEntryAgeMetadataUUID: String): Deferred<Unit>

getCartEntryAgeMetadatas

fun getCartEntryAgeMetadatas(cartUUID: String): Deferred<List<CartEntryAgeMetadata>>

insertCartEntries

fun insertCartEntries(cartEntryAgeMetadatas: List<CartEntryAgeMetadata>): Deferred<Unit>

insertCartEntryAgeMetadata

fun insertCartEntryAgeMetadata(cartEntryAgeMetadata: CartEntryAgeMetadata): Deferred<Unit>