Subversion Repositories SmartDukaan

Rev

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

Rev 4216 Rev 4241
Line 13... Line 13...
13
 * @author mandeep
13
 * @author mandeep
14
 *
14
 *
15
 * Class containing constants used across CRM
15
 * Class containing constants used across CRM
16
 */
16
 */
17
public class CRMConstants {
17
public class CRMConstants {
-
 
18
    public static final String ATTACHMENTS_ARCHIVE_DIR = "/var/crm/archive/";
18
    public static final String CRM_EMAIL_SENDOR = "help@saholic.com";
19
    public static final String CRM_EMAIL_SENDOR = "help@saholic.com";
19
    public static final String CRM_EMAIL_TYPE   = "CRMInfo";
20
    public static final String CRM_EMAIL_TYPE   = "CRMInfo";
20
    public static final String CRM_SUBJECT_PREFIX_FOR_TICKET_ID = "Saholic#";
21
    public static final String CRM_SUBJECT_PREFIX_FOR_TICKET_ID = "Saholic#";
21
    public static final long   ADMIN_AGENT_ID   = 1;
22
    public static final long   ADMIN_AGENT_ID   = 1;
22
    public static final int DESCRIPTION_MAX_WIDTH = 1900;
23
    public static final int DESCRIPTION_MAX_WIDTH = 1900;
Line 59... Line 60...
59
 
60
 
60
        public List<Integer> getAgentIds() {
61
        public List<Integer> getAgentIds() {
61
            return agentIds;
62
            return agentIds;
62
        }
63
        }
63
    };
64
    };
-
 
65
    
-
 
66
    public static enum CODCancelMatrix {
-
 
67
        INVALID_CONTACT_DETAILS("Contact details provided are false or unreachable"),
-
 
68
        LOWER_PRICE_AVAILABLE_ELSEWHERE("Customer getting better price elsewhere"),
-
 
69
        CUSTOMER_TESTING_WEBSITE("Customer is testing the site"),
-
 
70
        DUPLICATE_BOOKING("Customer booked an order twice by mistake"),
-
 
71
        DEALER_ORDER("Order was place by a dealer"),
-
 
72
        OUT_OF_STOCK("Ordered item is out of stock"),
-
 
73
        CUSTOMER_NOT_INTERESTED("Customer not interested for some other reason");
-
 
74
 
-
 
75
        private String description;
-
 
76
 
-
 
77
        CODCancelMatrix(String description) {
-
 
78
            this.description = description;
-
 
79
        }
-
 
80
 
-
 
81
        public String getDescription() {
-
 
82
            return description;
-
 
83
        }
-
 
84
    };
64
}
85
}