vnorder / com.venuenext.vnorder.seats.model / Seat

Seat

data class Seat

Seat VenueNext

Created on 2/26/19. Copyright © 2019 VenueNext Inc. All rights reserved.

Constructors

<init>

Seat VenueNext

Seat(seatUUID: String = "", seat: String? = "", row: String? = "", sectionName: String? = "", ordersSectionName: String? = "", ordersSeatUUID: String? = "", isSuite: Boolean = false, standId: String? = "", locationUUID: String? = "")

Properties

isSuite

var isSuite: Boolean

locationUUID

var locationUUID: String?

ordersSeatUUID

This is essentially the seatUUID, but the getOrders call returns 'seat_uuid' should fill @var seatUUID or @var locationUUID respectively.

var ordersSeatUUID: String?

ordersSectionName

This is essentially the sectionName, but the getOrders call returns 'section'

var ordersSectionName: String?

row

var row: String?

seat

var seat: String?

seatUUID

var seatUUID: String

sectionName

var sectionName: String?

standId

var standId: String?

Functions

checkIsSuite

Checks if the row/seat is empty/null and if not it compares both values to the filler string.

fun checkIsSuite(fillString: String?): Boolean

getDeliveryLabel

Retrieves the display label depending on whether the Seat is a suite or not. ex: Suite 42 || 105 Row 13 Seat 4

fun getDeliveryLabel(context: Context): String?
fun getDeliveryLabel(resources: Resources): String?

getSeatId

Returns the corresponding uuid String value.

fun getSeatId(): String?

isSameStand

fun isSameStand(standId: String): Boolean