vnorderui / com.venuenext.vnorderui.myorders / MyOrdersViewModel / fetchOrders

fetchOrders

fun fetchOrders(): Deferred<List<Order>?>

Fetches the all of the user's orders from the API and populates the Room database with Orders & LineItems.