| Line 240... |
Line 240... |
| 240 |
}
|
240 |
}
|
| 241 |
catch (TTransportException e) {
|
241 |
catch (TTransportException e) {
|
| 242 |
logisticsServiceClient = new LogisticsClient("logistics_service_prod_server_host","logistics_service_prod_server_port");
|
242 |
logisticsServiceClient = new LogisticsClient("logistics_service_prod_server_host","logistics_service_prod_server_port");
|
| 243 |
logisticsClient = logisticsServiceClient.getClient();
|
243 |
logisticsClient = logisticsServiceClient.getClient();
|
| 244 |
}
|
244 |
}
|
| - |
|
245 |
stock = 0;
|
| 245 |
jsonRequest.append("{\"skuId\":"+"\""+entry.getValue().getSkuAtflipkart()+
|
246 |
jsonRequest.append("{\"skuId\":"+"\""+entry.getValue().getSkuAtflipkart()+
|
| 246 |
"\","+"\"attributeValues\""+":"+
|
247 |
"\","+"\"attributeValues\""+":"+
|
| 247 |
"{\"procurement_sla\""+":"+"\""+logisticinfo.getShippingTime()+
|
248 |
"{\"procurement_sla\""+":"+"\""+logisticinfo.getShippingTime()+
|
| 248 |
"\","+"\"stock_count\""+":"+"\""+stock+"\""+"}}");
|
249 |
"\","+"\"stock_count\""+":"+"\""+stock+"\""+"}}");
|
| 249 |
item = aliveItemsMap.get(entry.getValue().getId());
|
250 |
item = aliveItemsMap.get(entry.getValue().getId());
|