vnorder / com.venuenext.vnorder.stands.service / StandService

StandService

class StandService : HttpClient

StandService VenueNext

Created on 3/20/19. Copyright © 2019 VenueNext Inc. All rights reserved.

Exceptions

StandsException

class StandsException : Exception

Constructors

<init>

StandService VenueNext

StandService(context: Context)

Properties

authProvider

val authProvider: OAuth?

baseUrl

val baseUrl: String?

environment

val environment: Environment?

serviceBaseUrls

val serviceBaseUrls: ServiceBaseUrls?

Functions

getStandAvailability

Get Stand Availability from API server.

fun getStandAvailability(stand: Stand, date: Date? = null): Deferred<Map<String, List<TimeSlot>?>?>
fun getStandAvailability(stand: Stand, date: Date? = null, success: (result: Map<String, List<TimeSlot>?>?) -> Unit, failure: (e: Exception) -> Unit): Unit

getStands

Get Stands from API server.

fun getStands(venue: Venue): <ERROR CLASS>
fun getStands(venue: Venue, success: (result: GetStandResult?) -> Unit, failure: (e: Exception) -> Unit): Unit