Subversion Repositories SmartDukaan

Rev

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

Rev 116 Rev 121
Line 10... Line 10...
10
	1:i64 warehouseId,
10
	1:i64 warehouseId,
11
	2:i64 availability,
11
	2:i64 availability,
12
	3:i64 deliveryBy
12
	3:i64 deliveryBy
13
}
13
}
14
 
14
 
-
 
15
struct Mail{
-
 
16
	1:list<string> to,
-
 
17
	2:string subject,
-
 
18
	3:string data,
-
 
19
	4:string from
-
 
20
}
-
 
21
 
-
 
22
struct TextMessage{
-
 
23
	1:string number,
-
 
24
	2:string message,
-
 
25
	3:i64 dispatchTime,
-
 
26
	4:i64 deliveryTime
-
 
27
}
-
 
28
 
15
exception HelperServiceException{
29
exception HelperServiceException{
16
	1:i64 id,
30
	1:i64 id,
17
	2:string message
31
	2:string message
18
}
32
}
19
 
33
 
-
 
34
struct Message{
-
 
35
	1:i64 id,
-
 
36
	2:string message
-
 
37
}
-
 
38
 
20
service EstimationService{
39
service EstimationService{
21
 
40
 
22
	//This call would return a map having the following 
41
	//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)
42
	list<ItemLogistics> getLogisticsEstimation(1:i64 itemId,2:map<string,string> location) throws (1:HelperServiceException se),
-
 
43
	void sendMail(1:Mail mail) throws (1:HelperServiceException se),
-
 
44
	void sendText(1:TextMessage message) throws (1:HelperServiceException se),
-
 
45
	
-
 
46
	void addMessage(1:Message) throws (1:HelperServiceException se),
-
 
47
	void updateMessage(1:i64 id, 2:string message) throws (1:HelperServiceException se),
-
 
48
	void getMessage(1:i64 id) throws (1:HelperServiceException se),
-
 
49
	void getSubstitutedMessage(1:i64 id, 2:map<string,string> params) throws (1:HelperServiceException se)
24
}
50
}
25
51