Subversion Repositories SmartDukaan

Rev

Rev 637 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 637 Rev 649
Line 237... Line 237...
237
	} catch (LogisticsServiceException e) {
237
	} catch (LogisticsServiceException e) {
238
		// TODO Auto-generated catch block
238
		// TODO Auto-generated catch block
239
		e.printStackTrace();
239
		e.printStackTrace();
240
	}
240
	}
241
 
241
 
242
	long warehouse_id = logistics_info.getWarehouse_id();
242
	long warehouse_id = logistics_info.getWarehouseId();
243
	long logistics_provider_id= logistics_info.getProvider_id();
243
	long logistics_provider_id= logistics_info.getProviderId();
244
	String airwaybill_no = String.valueOf(logistics_info.getAirway_billno()); // should it be really long ?
244
	String airwaybill_no = String.valueOf(logistics_info.getAirway_billno()); // should it be really long ?
245
	String tracking_id = airwaybill_no; //right now both are same
245
	String tracking_id = airwaybill_no; //right now both are same
246
	long expected_delivery_time = (new Date()).getTime() + 60*60*1000*logistics_info.getDelivery_estimate(); 
246
	long expected_delivery_time = (new Date()).getTime() + 60*60*1000*24*logistics_info.getDeliveryTime(); 
247
	
247
	
248
	long created_timestamp = (new Date()).getTime();
248
	long created_timestamp = (new Date()).getTime();
249
	OrderStatus status = OrderStatus.INIT; // to get from orderstatus file
249
	OrderStatus status = OrderStatus.INIT; // to get from orderstatus file
250
	String statusDescription = "New Order";
250
	String statusDescription = "New Order";
251
	
251