vnorder / com.venuenext.vnorder.orders.data / CartEntryStringMetadataRepository

CartEntryStringMetadataRepository

class CartEntryStringMetadataRepository

CartEntrySeatMetadataRepository VenueNext

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

Constructors

<init>

CartEntrySeatMetadataRepository VenueNext

CartEntryStringMetadataRepository(context: Context)

Properties

cartEntryStringMetadataDao

val cartEntryStringMetadataDao: CartEntryStringMetadataDao

context

var context: Context

venueNextDB

val venueNextDB: VenueNextDatabase

Functions

count

fun count(): Int

deleteAllCartEntryStringMetadatas

fun deleteAllCartEntryStringMetadatas(): Deferred<Unit>

deleteCartEntryStringMetadata

fun deleteCartEntryStringMetadata(cartEntryStringMetadataUUID: String): Deferred<Unit>

getCartEntryStringMetadatas

fun getCartEntryStringMetadatas(cartUUID: String): Deferred<List<CartEntryStringMetadata>>

insertCartEntries

fun insertCartEntries(cartEntryStringMetadatas: List<CartEntryStringMetadata>): Deferred<Unit>

insertCartEntryStringMetadata

fun insertCartEntryStringMetadata(cartEntryStringMetadata: CartEntryStringMetadata): Deferred<Unit>