package com.littlesparkle.growler.library.order;

public class OrderConstants {
    public enum ORDER_STATUS_CODE {
        INITIAL_STATUS, // 0
        ORDER_ASSIGNING, // 1
        ORDER_ASSIGNED, // 2
        ORDER_ASSIGN_FAILED, // 3
        ORDER_CANCELED // 4
    }
}

@@ -121,28 +121,245 @@
     
-INITIAL_STATUS,
+ORDER_ASSIGNING,            // 0%0A        ORDER_ASSIGNED,             // 1%0A        ORDER_CONFIRMED,            // 2%0A        ORDER_READY,                // 3%0A        ORDER_STARTED,              // 4%0A        ORDER_FINISHED_NOT_PAYED,  
  // 
-0
+5
 %0A   
@@ -373,22 +373,75 @@
 DER_
-ASSIGNING,
+PAUSED,               // 6%0A        ORDER_FINISHED_PAYED,      
  // 
+-
 1%0A  
@@ -456,21 +456,34 @@
 DER_
-ASSIGNED,
+INTERRUPTED,         
  // 
+-
 2%0A  
@@ -498,27 +498,77 @@
 DER_
-ASSIGN_FAILED,
+NO_RESPONSE,          // -3%0A        ORDER_CANCELED_BY_DRIVER,  
  // 
-3
+-4
 %0A   
@@ -586,21 +586,35 @@
 CANCELED
+_BY_PASSENGER
  // 
-4
+-5
 %0A    %7D%0A%7D

update order status