Subversion Repositories SmartDukaan

Rev

Rev 3390 | Rev 4027 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3390 Rev 4020
Line 4... Line 4...
4
package in.shop2020.util;
4
package in.shop2020.util;
5
 
5
 
6
import in.shop2020.model.v1.order.OrderStatus;
6
import in.shop2020.model.v1.order.OrderStatus;
7
 
7
 
8
import java.util.Arrays;
8
import java.util.Arrays;
-
 
9
import java.util.Collections;
9
import java.util.List;
10
import java.util.List;
10
 
11
 
11
/**
12
/**
12
 * @author mandeep
13
 * @author mandeep
13
 *
14
 *
Line 28... Line 29...
28
            OrderStatus.DOA_VALID_REFUNDED,
29
            OrderStatus.DOA_VALID_REFUNDED,
29
            OrderStatus.DOA_RESHIPPED,
30
            OrderStatus.DOA_RESHIPPED,
30
            OrderStatus.REFUNDED,
31
            OrderStatus.REFUNDED,
31
            OrderStatus.REJECTED,
32
            OrderStatus.REJECTED,
32
            OrderStatus.FAILED});
33
            OrderStatus.FAILED});
-
 
34
 
-
 
35
    public static enum EscalationMatrix {
-
 
36
        ORDER_AND_PAYMENT_STATUS("Shipping, delivery, return, refund, payment status etc. issues", Collections.singletonList(2)),
-
 
37
        CONTENT("Any questions or errors on the content about the product on our site", Collections.singletonList(10)),
-
 
38
        PRICE_AND_BULK_DEAL("Any product, price, bulk deals etc enquiries", Collections.singletonList(13)),
-
 
39
        TECHNICAL("Any technical errors on the site (or site not working properly)", Collections.singletonList(11)),
-
 
40
        COD_VERIFICATION("Any COD verification related tickets", Collections.singletonList(12)),
-
 
41
        PROMOTION_AND_MARKETING("Any promotion related queries, or marketing partnership proposals", Collections.singletonList(14)),
-
 
42
        OTHER("Any other issues", Arrays.asList(2, 15));
-
 
43
 
-
 
44
        private String description;
-
 
45
        private List<Integer> agentIds;
-
 
46
 
-
 
47
        EscalationMatrix(String description, List<Integer> agentIds) {
-
 
48
            this.description = description;
-
 
49
            this.agentIds    = agentIds;
-
 
50
        }
-
 
51
 
-
 
52
        public String getDescription() {
-
 
53
            return description;
-
 
54
        }
-
 
55
 
-
 
56
        public List<Integer> getAgentIds() {
-
 
57
            return agentIds;
-
 
58
        }
-
 
59
    };
33
}
60
}