Subversion Repositories SmartDukaan

Rev

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

Rev 4630 Rev 4865
Line 42... Line 42...
42
struct LogisticsInfo{
42
struct LogisticsInfo{
43
	1:i64 warehouseId,
43
	1:i64 warehouseId,
44
	2:i64 providerId,
44
	2:i64 providerId,
45
	3:i64 deliveryTime,
45
	3:i64 deliveryTime,
46
	4:string airway_billno,
46
	4:string airway_billno,
47
	5:i64 shippingTime
47
	5:i64 shippingTime,
-
 
48
	6:bool codAllowed
48
}
49
}
49
 
50
 
50
exception LogisticsServiceException{
51
exception LogisticsServiceException{
51
	1:i64 id,
52
	1:i64 id,
52
	2:string message
53
	2:string message
Line 100... Line 101...
100
	Returns list of Holiday dates between fromDate and toDate (both inclusive)
101
	Returns list of Holiday dates between fromDate and toDate (both inclusive)
101
	fromDate should be passed as milliseconds corresponding to the start of the day.
102
	fromDate should be passed as milliseconds corresponding to the start of the day.
102
	If fromDate is passed as -1, fromDate is not considered for filtering
103
	If fromDate is passed as -1, fromDate is not considered for filtering
103
	If toDate is passed as -1, toDate is not considered for filtering
104
	If toDate is passed as -1, toDate is not considered for filtering
104
	*/
105
	*/
105
	list<i64> getHolidays(1:i64 fromDate, 2:i64 toDate),
106
	list<i64> getHolidays(1:i64 fromDate, 2:i64 toDate)
106
	
-
 
107
	/**
-
 
108
	Returns true if COD is allowed for this destination pincode
-
 
109
	*/
-
 
110
	bool isCodAllowed(1:string destination_pincode),
-
 
111
	
-
 
112
}
107
}