Subversion Repositories SmartDukaan

Rev

Rev 132 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 132 Rev 195
Line 15... Line 15...
15
    ORDER_FULFILLMENT(2),
15
    ORDER_FULFILLMENT(2),
16
    READY_FOR_SHIPPING(3),
16
    READY_FOR_SHIPPING(3),
17
    SHIPPED(4),
17
    SHIPPED(4),
18
    COMPLETED(5),
18
    COMPLETED(5),
19
    CANCELED(6),
19
    CANCELED(6),
20
    FAILED(7);
20
    FAILED(7),
-
 
21
    BILLED(8);
21
 
22
 
22
  private static final Map<Integer, TransactionStatus> BY_VALUE = new HashMap<Integer,TransactionStatus>() {{
23
  private static final Map<Integer, TransactionStatus> BY_VALUE = new HashMap<Integer,TransactionStatus>() {{
23
    for(TransactionStatus val : TransactionStatus.values()) {
24
    for(TransactionStatus val : TransactionStatus.values()) {
24
      put(val.getValue(), val);
25
      put(val.getValue(), val);
25
    }
26
    }