Subversion Repositories SmartDukaan

Rev

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

Rev 19413 Rev 19421
Line 88... Line 88...
88
	6:bool otgAvailable,
88
	6:bool otgAvailable,
89
	7:i64 codLimit,
89
	7:i64 codLimit,
90
	8:i64 prepaidLimit,
90
	8:i64 prepaidLimit,
91
	9:i64 warehouseId,
91
	9:i64 warehouseId,
92
	10:i64 deliveryTime,
92
	10:i64 deliveryTime,
93
	11:i64 delivery_delay
93
	11:i64 delivery_delay,
-
 
94
	12:string zoneCode
94
}
95
}
95
 
96
 
96
struct ProviderInfo {
97
struct ProviderInfo {
97
	1:i64 providerId,
98
	1:i64 providerId,
98
	2:bool isCodAvailable,
99
	2:bool isCodAvailable,
Line 105... Line 106...
105
	3:bool isCod,
106
	3:bool isCod,
106
	4:bool isOtg,
107
	4:bool isOtg,
107
	5:i64 minDelay,
108
	5:i64 minDelay,
108
	6:i64 maxDelay
109
	6:i64 maxDelay
109
}
110
}
-
 
111
 
-
 
112
struct DeliveryEstimateAndCosting{
-
 
113
	1:i64 logistics_provider_id,
-
 
114
	2:string pincode,
-
 
115
	3:i64 deliveryTime,
-
 
116
	4:i64 delivery_delay,
-
 
117
	5:bool codAllowed,
-
 
118
	6:bool otgAvailable,
-
 
119
	7:double logisticsCost,
-
 
120
	8:double codCollectionCharges,
-
 
121
	9:i64 shippingTime
-
 
122
} 
110
    
123
    
111
exception LogisticsServiceException{
124
exception LogisticsServiceException{
112
	1:i64 id,
125
	1:i64 id,
113
	2:string message
126
	2:string message
114
}
127
}
Line 210... Line 223...
210
 
223
 
211
	/**
224
	/**
212
	* This returns map for locations and providers corresponding their serviceability and delay 
225
	* This returns map for locations and providers corresponding their serviceability and delay 
213
	*/
226
	*/
214
	map<i64, map<i64, LocationInfo>> getLocationInfoMap(1:string destPincode, 2:list<i64> price)
227
	map<i64, map<i64, LocationInfo>> getLocationInfoMap(1:string destPincode, 2:list<i64> price)
-
 
228
	
-
 
229
	DeliveryEstimateAndCosting getCostingAndDeliveryEstimateForPincode(1:string pincode, 2:double transactionAmount, 3:bool isCod, 4:double weight, 5:i64 billingWarehouseId)  throws (1:LogisticsServiceException se)
215
}
230
}
216
	
231
	
217
232