Subversion Repositories SmartDukaan

Rev

Rev 121 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
116 ashish 1
namespace java in.shop2020.utils
2
namespace py shop2020.thriftpy.utils
3
 
4
/**
5
Helper service
6
created by @ashish
7
**/
8
 
9
struct ItemLogistics{
10
	1:i64 warehouseId,
11
	2:i64 availability,
12
	3:i64 deliveryBy
13
}
14
 
15
exception HelperServiceException{
16
	1:i64 id,
17
	2:string message
18
}
19
 
20
service EstimationService{
21
 
22
	//This call would return a map having the following 
23
	list<ItemLogistics> getLogisticsEstimation(1:i64 itemId,2:map<string,string> location) throws (1:HelperServiceException se)
24
}