vnorder / com.venuenext.vnorder.orders.data / CartEntrySeatMetadataRepository

CartEntrySeatMetadataRepository

class CartEntrySeatMetadataRepository

CartEntrySeatMetadataRepository VenueNext

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

Constructors

<init>

CartEntrySeatMetadataRepository VenueNext

CartEntrySeatMetadataRepository(context: Context)

Properties

cartEntrySeatMetadataDao

val cartEntrySeatMetadataDao: CartEntrySeatMetadataDao

context

var context: Context

venueNextDB

val venueNextDB: VenueNextDatabase

Functions

count

fun count(): Int

deleteAllCartEntrySeatMetadatas

fun deleteAllCartEntrySeatMetadatas(): Deferred<Unit>

deleteCartEntrySeatMetadata

fun deleteCartEntrySeatMetadata(cartEntrySeatMetadataUUID: String): Deferred<Unit>

getCartEntrySeatMetadatas

fun getCartEntrySeatMetadatas(cartUUID: String): Deferred<List<CartEntrySeatMetadata>>

insertCartEntries

fun insertCartEntries(cartEntrySeatMetadatas: List<CartEntrySeatMetadata>): Deferred<Unit>

insertCartEntrySeatMetadata

fun insertCartEntrySeatMetadata(cartEntrySeatMetadata: CartEntrySeatMetadata): Deferred<Unit>