Subversion Repositories SmartDukaan

Rev

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

Rev 26989 Rev 27121
Line 68... Line 68...
68
	private static Map<Long, String> dthProvidersMap;
68
	private static Map<Long, String> dthProvidersMap;
69
	private static Map<Long, String> allProviders;
69
	private static Map<Long, String> allProviders;
70
	public static Map<RechargeOrderStatus, String> rechargeStatusMap = new HashMap<>();
70
	public static Map<RechargeOrderStatus, String> rechargeStatusMap = new HashMap<>();
71
	public static OrderStatusGroups ORDER_STATUS_GROUPS = new OrderStatusGroups();
71
	public static OrderStatusGroups ORDER_STATUS_GROUPS = new OrderStatusGroups();
72
	public static final String SYSTEM_PARTNER = "testpxps@gmail.com";
72
	public static final String SYSTEM_PARTNER = "testpxps@gmail.com";
-
 
73
	public static final int SYSTEM_PARTNER_ID = 175120474;
73
	private static final RestClient rc = new RestClient();
74
	private static final RestClient rc = new RestClient();
74
 
75
 
75
	public static SellerInfo getSellerInfoBySellerId(int sellerId) throws Exception {
76
	public static SellerInfo getSellerInfoBySellerId(int sellerId) throws Exception {
76
		TransactionClient tcl = new TransactionClient();
77
		TransactionClient tcl = new TransactionClient();
77
		return tcl.getClient().getSellerInfo((long) sellerId);
78
		return tcl.getClient().getSellerInfo((long) sellerId);
Line 159... Line 160...
159
		helper.setSubject(subject);
160
		helper.setSubject(subject);
160
		helper.setText(body);
161
		helper.setText(body);
161
		if (cc != null) {
162
		if (cc != null) {
162
			helper.setCc(cc);
163
			helper.setCc(cc);
163
		}
164
		}
164
		helper.setTo(emailTo);
165
		//helper.setTo(emailTo);
-
 
166
		helper.setTo("amit.gupta@smartdukaan.com");
165
		InternetAddress senderAddress = new InternetAddress("noreply@smartdukaan.com", "SmartDukaan Care");
167
		InternetAddress senderAddress = new InternetAddress("noreply@smartdukaan.com", "SmartDukaan Care");
166
		helper.setFrom(senderAddress);
168
		helper.setFrom(senderAddress);
167
		if (attachments != null) {
169
		if (attachments != null) {
168
			for (File file : attachments) {
170
			for (File file : attachments) {
169
				helper.addAttachment(file.getName(), file);
171
				helper.addAttachment(file.getName(), file);