Subversion Repositories SmartDukaan

Rev

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

Rev 9128 Rev 9137
Line 76... Line 76...
76
	private static final String RED_EXP = "RED_EXP";
76
	private static final String RED_EXP = "RED_EXP";
77
	private static final String GHARPAY = "GHARPAY";
77
	private static final String GHARPAY = "GHARPAY";
78
	private static final String QUANTIUM = "Quantium Solutions";
78
	private static final String QUANTIUM = "Quantium Solutions";
79
	private static final String GATI_AIR = "GATI AIR";
79
	private static final String GATI_AIR = "GATI AIR";
80
	private static final String VDELIVER = "VDELIVER";
80
	private static final String VDELIVER = "VDELIVER";
-
 
81
	private static final String OVERNITE_EXP = "Overnite Express";
81
	private static String transactionId;
82
	private static String transactionId;
82
	private static final int SNAPDEAL_GATEWAY_ID = 18;
83
	private static final int SNAPDEAL_GATEWAY_ID = 18;
83
	private static Logger logger;
84
	private static Logger logger;
84
 
85
 
85
	public static void processSnapdealOrders(File file) throws JAXBException{
86
	public static void processSnapdealOrders(File file) throws JAXBException{
Line 331... Line 332...
331
				t_order.setLogistics_provider_id(35);
332
				t_order.setLogistics_provider_id(35);
332
			}
333
			}
333
			else if(order.getCourier().equalsIgnoreCase(GATI_AIR)){
334
			else if(order.getCourier().equalsIgnoreCase(GATI_AIR)){
334
				t_order.setLogistics_provider_id(36);
335
				t_order.setLogistics_provider_id(36);
335
			}
336
			}
-
 
337
			else if(order.getCourier().equalsIgnoreCase(OVERNITE_EXP)){
-
 
338
				t_order.setLogistics_provider_id(37);
-
 
339
			}
336
			else {
340
			else {
337
				logger.error("Error No Courier Match please add courier to our system for suborderid  " + order.getSuborderId() + "Courier Name " + order.getCourier());
341
				logger.error("Error No Courier Match please add courier to our system for suborderid  " + order.getSuborderId() + "Courier Name " + order.getCourier());
338
				sb.append(order.getSuborderId() + " Error No Courier Match " + order.getCourier() +"\n");
342
				sb.append(order.getSuborderId() + " Error No Courier Match " + order.getCourier() +"\n");
339
				continue;
343
				continue;
340
			}
344
			}