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

getStandAvailability

fun getStandAvailability(stand: Stand, date: Date? = null): Deferred<Map<String, List<TimeSlot>?>?>

Get Stand Availability from API server.

Parameters

stand - the stand object.

date - the date object.

Return
awaits for async promise to return list of time slots.

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

Get Stand Availability from API server.

Parameters

stand - the stand object.

date - the date object.

success - the success callback.

failure - the failure callback.