vnorder / com.venuenext.vnorder.orders.service / OrderService / getExperienceOrders

getExperienceOrders

fun getExperienceOrders(): <ERROR CLASS>

Creates the url, HttpRequest & handles the response from the orders call.

fun getExperienceOrders(success: (result: List<Order>?) -> Unit, failure: (Exception) -> Unit): Unit

Creates the url, HttpRequest & makes the call & handles the success or failure then finally handles the response from the orders call.

Parameters

success - the success callback.

failure - the failure callback.