Subversion Repositories SmartDukaan

Rev

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

Rev 1407 Rev 1529
Line 190... Line 190...
190
	bool addJacketNumber(1:i64 orderId, 2:i64 jacketNumber) throws (1:TransactionServiceException ex),
190
	bool addJacketNumber(1:i64 orderId, 2:i64 jacketNumber) throws (1:TransactionServiceException ex),
191
 
191
 
192
	bool acceptOrder(1:i64 orderId) throws (1:TransactionServiceException ex),
192
	bool acceptOrder(1:i64 orderId) throws (1:TransactionServiceException ex),
193
	bool billOrder(1:i64 orderId) throws (1:TransactionServiceException ex),
193
	bool billOrder(1:i64 orderId) throws (1:TransactionServiceException ex),
194
	
194
	
-
 
195
	/**
-
 
196
	Returns list of orders for given transaction Id. Also filters based on customer Id so that
-
 
197
	only user who owns the transaction can view its order details.
-
 
198
	*/
195
	list<Order> getOrdersForTransaction(1:i64 transactionId)  throws (1:TransactionServiceException ex),
199
	list<Order> getOrdersForTransaction(1:i64 transactionId 2:i64 customerId)  throws (1:TransactionServiceException ex),
-
 
200
	
196
	list<Order> getOrdersForCustomer(1:i64 customerId, 2:i64 from_date, 3:i64 to_date, 4:OrderStatus status) throws (1:TransactionServiceException ex),
201
	list<Order> getOrdersForCustomer(1:i64 customerId, 2:i64 from_date, 3:i64 to_date, 4:OrderStatus status) throws (1:TransactionServiceException ex),
197
	i64 createOrder(1:Order order) throws (1:TransactionServiceException ex),
202
	i64 createOrder(1:Order order) throws (1:TransactionServiceException ex),
198
	Order getOrder(1:i64 id) throws (1:TransactionServiceException ex),
203
	Order getOrder(1:i64 id) throws (1:TransactionServiceException ex),
199
	list<LineItem> getLineItemsForOrder(1:i64 orderId) throws (1:TransactionServiceException ex),
204
	list<LineItem> getLineItemsForOrder(1:i64 orderId) throws (1:TransactionServiceException ex),
200
	
205
	
-
 
206
	
-
 
207
	/**
-
 
208
	Returns an order for the order Id. Also checks if the order belongs to the customer whose Id is passed.
-
 
209
	Throws exception if either order Id is invalid or order does not below to the customer whose Id is passed.
-
 
210
	*/
-
 
211
	Order getOrderForCustomer(1:i64 orderId, 2:i64 customerId) throws (1:TransactionServiceException ex),
-
 
212
	
201
	/**
213
	/**
202
	 Create a batch of all the pending orders for the given warehouse.
214
	 Create a batch of all the pending orders for the given warehouse.
203
	 The returned list is orderd by created_timestamp.
215
	 The returned list is orderd by created_timestamp.
204
	 If there are no pending orders, an empty list is returned.
216
	 If there are no pending orders, an empty list is returned.
205
	 */
217
	 */