vnorder / com.venuenext.vnorder.orders.model / CartEntry

CartEntry

data class CartEntry

Constructors

<init>

CartEntry(uuid: String = "", cartUUID: String? = null, itemUUID: String? = null, item: Item? = null, quantity: Int? = 0, modifiers: List<List<CartEntryModifier>>? = null, itemID: String? = null, saleID: String? = null, metadata: List<CartEntryMetadata>? = null)

Properties

cartUUID

var cartUUID: String?

item

var item: Item?

itemID

var itemID: String?

itemUUID

var itemUUID: String?

metadata

var metadata: List<CartEntryMetadata>?

modifiers

var modifiers: List<List<CartEntryModifier>>?

quantity

var quantity: Int?

saleID

var saleID: String?

uuid

var uuid: String

Extension Functions

getDisplayModifierTotals

fun CartEntry.getDisplayModifierTotals(eventUUID: String, isExperienceCart: Boolean, isUserSTH: Boolean, isUserPCH: Boolean, completion: (CartEntryDisplayItem) -> Unit): Unit