Subversion Repositories SmartDukaan

Rev

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

Rev 5247 Rev 5527
Line 18... Line 18...
18
enum DeliveryType {
18
enum DeliveryType {
19
	PREPAID = 0,
19
	PREPAID = 0,
20
	COD = 1
20
	COD = 1
21
}
21
}
22
 
22
 
-
 
23
enum PickUpType {
-
 
24
	COURIER = 0,
-
 
25
	RUNNER = 1,
-
 
26
	SELF = 2
-
 
27
}
-
 
28
 
23
struct ProviderDetails{
29
struct ProviderDetails{
24
	1:string accountNo,
30
	1:string accountNo,
25
	2:string email
31
	2:string email
26
}
32
}
27
 
33
 
28
struct Provider{
34
struct Provider{
29
	1:i64 id,
35
	1:i64 id,
30
	2:string name,
36
	2:string name,
31
	3:map<DeliveryType, ProviderDetails> details
37
	3:map<DeliveryType, ProviderDetails> details,
-
 
38
	4:PickUpType pickup
32
}
39
}
33
 
40
 
34
struct AwbUpdate{
41
struct AwbUpdate{
35
    1:string awbNumber,
42
    1:string awbNumber,
36
    2:string providerName,
43
    2:string providerName,
Line 110... Line 117...
110
	 Returns a LogisticsInfo structure w/o an airway bill number. Use this method during the estimation phase.
117
	 Returns a LogisticsInfo structure w/o an airway bill number. Use this method during the estimation phase.
111
	 Raises an exception if this pincode is not allocated to any warehouse zone or provider. Also, if the pincode
118
	 Raises an exception if this pincode is not allocated to any warehouse zone or provider. Also, if the pincode
112
	 is allocated to a warehouse zone but there are no actual warehouses in that zone, an exception is raised.
119
	 is allocated to a warehouse zone but there are no actual warehouses in that zone, an exception is raised.
113
	 */
120
	 */
114
	list<i64> getEntityLogisticsEstimation(1:i64 catalogItemId, 2:string destination_pin, 3:DeliveryType type) throws (1:LogisticsServiceException se)
121
	list<i64> getEntityLogisticsEstimation(1:i64 catalogItemId, 2:string destination_pin, 3:DeliveryType type) throws (1:LogisticsServiceException se)
-
 
122
	
-
 
123
	/**
-
 
124
	* Returns the id for a given pickUpType
-
 
125
	*/
-
 
126
	i64 getProviderForPickupType(1:i64 pickUp)
115
}
127
}