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

placeOrder

fun placeOrder(cart: Cart): <ERROR CLASS>
fun placeOrder(richCheckOutOrderPost: RichCheckOutOrderPost): <ERROR CLASS>

Place Food and Beverage Order via API.

Return
awaits for async promise to return Order response.

fun placeOrder(cart: Cart, success: (result: Order?) -> Unit, failure: (Exception) -> Unit): Unit

Place Food and Beverage Order via API.

Parameters

success - the success callback.

failure - the failure callback.