Subversion Repositories SmartDukaan

Rev

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

Rev 4421 Rev 4444
Line 207... Line 207...
207
	1:i64 id,
207
	1:i64 id,
208
	2:AlertType type,
208
	2:AlertType type,
209
	3:i64 status,
209
	3:i64 status,
210
	4:i64 timestamp,
210
	4:i64 timestamp,
211
	5:string description
211
	5:string description
-
 
212
	6:i64 warehouseId
212
}
213
}
213
 
214
 
214
struct ReturnOrder{
215
struct ReturnOrder{
215
	1:i64 orderId,
216
	1:i64 orderId,
216
	2:i64 warehouseId,
217
	2:i64 warehouseId,
Line 319... Line 320...
319
	Throws exception if either order Id is invalid or order does not below to the customer whose Id is passed.
320
	Throws exception if either order Id is invalid or order does not below to the customer whose Id is passed.
320
	*/
321
	*/
321
	Order getOrderForCustomer(1:i64 orderId, 2:i64 customerId) throws (1:TransactionServiceException ex),
322
	Order getOrderForCustomer(1:i64 orderId, 2:i64 customerId) throws (1:TransactionServiceException ex),
322
	
323
	
323
	//Alerts apis 
324
	//Alerts apis 
324
	list<Alert> getAlerts(1:i64 type, 2:i64 status, 3:i64 timestamp),
325
	list<Alert> getAlerts(1:i64 type, 2:i64 warehouseId, 3:i64 status, 4:i64 timestamp),
325
	void addAlert(1:i64 type, 2:string description),
326
	void addAlert(1:i64 type, 2:i64 warehouseId, 3:string description),
-
 
327
	void markAlertsAsSeen(1:i64 warehouseId),
326
	
328
	
327
	/**
329
	/**
328
	Return the number of valid orders. (OrderStatus >= OrderStatus.SUBMITTED_FOR_PROCESSING)
330
	Return the number of valid orders. (OrderStatus >= OrderStatus.SUBMITTED_FOR_PROCESSING)
329
	*/
331
	*/
330
	i64 getValidOrderCount(),
332
	i64 getValidOrderCount(),