| Line 77... |
Line 77... |
| 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 final String OVERNITE_EXP = "Overnite Express";
|
| - |
|
82 |
private static final String BIBHA_CARGO = "BIBHA CARGO AND COURIER PVT LTD";
|
| 82 |
private static String transactionId;
|
83 |
private static String transactionId;
|
| 83 |
private static long paymentId;
|
84 |
private static long paymentId;
|
| 84 |
private static final int SNAPDEAL_GATEWAY_ID = 18;
|
85 |
private static final int SNAPDEAL_GATEWAY_ID = 18;
|
| 85 |
private static Logger logger;
|
86 |
private static Logger logger;
|
| 86 |
|
87 |
|
| Line 346... |
Line 347... |
| 346 |
t_order.setLogistics_provider_id(36);
|
347 |
t_order.setLogistics_provider_id(36);
|
| 347 |
}
|
348 |
}
|
| 348 |
else if(order.getCourier().equalsIgnoreCase(OVERNITE_EXP)){
|
349 |
else if(order.getCourier().equalsIgnoreCase(OVERNITE_EXP)){
|
| 349 |
t_order.setLogistics_provider_id(37);
|
350 |
t_order.setLogistics_provider_id(37);
|
| 350 |
}
|
351 |
}
|
| - |
|
352 |
else if(order.getCourier().equalsIgnoreCase(BIBHA_CARGO)){
|
| - |
|
353 |
t_order.setLogistics_provider_id(38);
|
| - |
|
354 |
}
|
| 351 |
else {
|
355 |
else {
|
| 352 |
logger.error("Error No Courier Match please add courier to our system for suborderid " + order.getSuborderId() + "Courier Name " + order.getCourier());
|
356 |
logger.error("Error No Courier Match please add courier to our system for suborderid " + order.getSuborderId() + "Courier Name " + order.getCourier());
|
| 353 |
sb.append(order.getSuborderId() + " Error No Courier Match " + order.getCourier() +"\n");
|
357 |
sb.append(order.getSuborderId() + " Error No Courier Match " + order.getCourier() +"\n");
|
| 354 |
continue;
|
358 |
continue;
|
| 355 |
}
|
359 |
}
|