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

placeReorder

fun placeReorder(orderUUID: String): <ERROR CLASS>

Place an order using an Order UUID from a previously completed order.

Parameters

orderUUID - The previously completed order's UUID.

Return
awaits for async promise to return an Order object.

fun placeReorder(orderUUID: String, success: (result: Order?) -> Unit, failure: (Exception) -> Unit): Unit

Place an order using an Order UUID from a previously completed order.

Parameters

orderUUID - The previously completed order's UUID.

success - The success callback.

failure - The failure callback.

Return
awaits for async promise to return an Order object.