Subversion Repositories SmartDukaan

Rev

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

Rev 13211 Rev 13438
Line 5... Line 5...
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.Collections;
-
 
10
import java.util.HashMap;
10
import java.util.List;
11
import java.util.List;
-
 
12
import java.util.Map;
11
 
13
 
12
/**
14
/**
13
 * @author mandeep
15
 * @author mandeep
14
 *
16
 *
15
 * Class containing constants used across CRM
17
 * Class containing constants used across CRM
Line 31... Line 33...
31
            OrderStatus.DOA_VALID_REFUNDED,
33
            OrderStatus.DOA_VALID_REFUNDED,
32
            OrderStatus.DOA_VALID_RESHIPPED,
34
            OrderStatus.DOA_VALID_RESHIPPED,
33
            OrderStatus.CANCELLED_DUE_TO_LOW_INVENTORY,
35
            OrderStatus.CANCELLED_DUE_TO_LOW_INVENTORY,
34
            OrderStatus.REJECTED,
36
            OrderStatus.REJECTED,
35
            OrderStatus.FAILED});
37
            OrderStatus.FAILED});
-
 
38
    
-
 
39
    @SuppressWarnings("serial")
-
 
40
	public static final Map<Long, String> PAYMENT_GATEWAYS = Collections.unmodifiableMap(
-
 
41
    		new HashMap<Long, String>(){
-
 
42
	    		{
-
 
43
	    			put(1l,"hdfc");
-
 
44
	    			put(2l,"ebs");
-
 
45
	    			put(3l,"Cheque");
-
 
46
	    			put(4l,"COD");
-
 
47
	    			put(5l,"hdfc-emi-3");
-
 
48
	    			put(6l,"rtgs");
-
 
49
	    			put(8l,"Wallet");
-
 
50
	    			put(9l,"GiftVoucher");
-
 
51
	    			put(10l,"hdfc-emi-6");
-
 
52
	    			put(11l,"hdfc-emi-9");
-
 
53
	    			put(12l,"hdfc-emi-12");
-
 
54
	    			put(13l,"innoviti");
-
 
55
	    			put(14l,"hdfc-emi-18");
-
 
56
	    			put(15l,"Amazon");
-
 
57
	    			put(16l,"Ebay");
-
 
58
	    			put(17l,"Flipkart");
-
 
59
	    			put(18l,"Snapdeal");
-
 
60
	    			put(19l,"PAYU");
-
 
61
	    		}
-
 
62
    		});
36
 
63
 
37
    public static enum EscalationMatrix {
64
    public static enum EscalationMatrix {
38
        SHIPPING_AND_DELIVERY("Product shipping and delivery related issues", Arrays.asList(34, 29, 33, 18, 47, 51)),
65
        SHIPPING_AND_DELIVERY("Product shipping and delivery related issues", Arrays.asList(34, 29, 33, 18, 47, 51)),
39
        RETURN_AND_REFUND("Product return, order refund, Payment status related issues", Arrays.asList(34)),
66
        RETURN_AND_REFUND("Product return, order refund, Payment status related issues", Arrays.asList(34)),
40
        CONTENT("Any questions or errors on the content about the product on our site", Arrays.asList(34, 10)),
67
        CONTENT("Any questions or errors on the content about the product on our site", Arrays.asList(34, 10)),