Subversion Repositories SmartDukaan

Rev

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

Rev 302 Rev 351
Line 14... Line 14...
14
 
14
 
15
struct Mail{
15
struct Mail{
16
	1:list<string> to,
16
	1:list<string> to,
17
	2:string subject,
17
	2:string subject,
18
	3:string data,
18
	3:string data,
19
	4:string from
19
	4:string sender,
-
 
20
	5:list<string> attachments,
-
 
21
	6:string password
20
}
22
}
21
 
23
 
22
struct TextMessage{
24
struct TextMessage{
23
	1:string number,
25
	1:string number,
24
	2:string message,
26
	2:string message,
Line 41... Line 43...
41
	//This call would return a map having the following 
43
	//This call would return a map having the following 
42
	list<ItemLogistics> getLogisticsEstimation(1:i64 itemId,2:map<string,string> location) throws (1:HelperServiceException se),
44
	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),
45
	void sendMail(1:Mail mail) throws (1:HelperServiceException se),
44
	void sendText(1:TextMessage message) throws (1:HelperServiceException se),
46
	void sendText(1:TextMessage message) throws (1:HelperServiceException se),
45
	
47
	
46
	void addMessage(1:Message) throws (1:HelperServiceException se),
48
	void addMessage(1:Message message) throws (1:HelperServiceException se),
47
	void updateMessage(1:i64 id, 2:string message) throws (1:HelperServiceException se),
49
	void updateMessage(1:i64 id, 2:string message) throws (1:HelperServiceException se),
48
	void getMessage(1:i64 id) throws (1:HelperServiceException se),
50
	Message getMessage(1:i64 id) throws (1:HelperServiceException se),
49
	void getSubstitutedMessage(1:i64 id, 2:map<string,string> params) throws (1:HelperServiceException se)
51
	Message getSubstitutedMessage(1:i64 id, 2:map<string,string> params) throws (1:HelperServiceException se)
50
}
52
}
51
53