Subversion Repositories SmartDukaan

Rev

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

Rev 2964 Rev 3014
Line 189... Line 189...
189
	TransactionStatus getTransactionStatus(1:i64 transactionId) throws (1:TransactionServiceException ex),
189
	TransactionStatus getTransactionStatus(1:i64 transactionId) throws (1:TransactionServiceException ex),
190
	bool changeTransactionStatus(1:i64 transactionId, 2:TransactionStatus status, 3:string description) throws (1:TransactionServiceException ex),
190
	bool changeTransactionStatus(1:i64 transactionId, 2:TransactionStatus status, 3:string description) throws (1:TransactionServiceException ex),
191
	
191
	
192
	bool enqueueTransactionInfoEmail(1:i64 transactionId) throws (1:TransactionServiceException ex),
192
	bool enqueueTransactionInfoEmail(1:i64 transactionId) throws (1:TransactionServiceException ex),
193
	
193
	
194
	//	Order getter and setters
-
 
195
	
-
 
196
	/*
-
 
197
	list<Transaction> getTransactionsForShipmentStatus(1:ShipmentStatus status, 2:i64 from_date, 3:i64 to_date) throws (1:TransactionServiceException ex),
-
 
198
	list<Transaction> getTransactionsForCustomer(1:i64 customerId, 2:i64 from_date, 3:i64 to_date, 4:TransactionStatus status) throws (1:TransactionServiceException ex),
-
 
199
	list<Transaction> getTransactionsForCustomerAndShipmentStatus(1:i64 customerId, 2:i64 from_date, 3:i64 to_date, 4:ShipmentStatus status) throws (1:TransactionServiceException ex),
-
 
200
	list<Transaction> getTransactionsForShoppingCartId(1:i64 shoppingCartId) throws (1:TransactionServiceException ex),
-
 
201
	TransactionStatus getTransactionStatus(1:i64 transactionId) throws (1:TransactionServiceException ex),
-
 
202
	bool changeTransactionStatus(1:i64 transactionId, 2:TransactionStatus status, 3:string description) throws (1:TransactionServiceException ex),
-
 
203
	*/
-
 
204
	
-
 
205
	list<Order> getAllOrders(1:OrderStatus status, 2:i64 from_date, 3:i64 to_date, 4:i64 warehouse_id) throws (1:TransactionServiceException ex),
194
	list<Order> getAllOrders(1:OrderStatus status, 2:i64 from_date, 3:i64 to_date, 4:i64 warehouse_id) throws (1:TransactionServiceException ex),
206
	
195
	
207
	/**
196
	/**
208
	Returns orders within a range of their billing dates
197
	Returns orders within a range of their billing dates
209
	*/
198
	*/
Line 239... Line 228...
239
	/**
228
	/**
240
	Returns list of orders for given transaction Id. Also filters based on customer Id so that
229
	Returns list of orders for given transaction Id. Also filters based on customer Id so that
241
	only user who owns the transaction can view its order details.
230
	only user who owns the transaction can view its order details.
242
	*/
231
	*/
243
	list<Order> getOrdersForTransaction(1:i64 transactionId 2:i64 customerId)  throws (1:TransactionServiceException ex),
232
	list<Order> getOrdersForTransaction(1:i64 transactionId 2:i64 customerId)  throws (1:TransactionServiceException ex),
-
 
233
 
-
 
234
	/**
-
 
235
	Returns list of orders for the given customer created between the given dates and having the given statuses.
-
 
236
	Pass and empty list to ignore filtering on statuses.
-
 
237
	*/	
-
 
238
	list<Order> getOrdersForCustomer(1:i64 customerId, 2:i64 from_date, 3:i64 to_date, 4:list<OrderStatus> statuses) throws (1:TransactionServiceException ex),
244
	
239
	
245
	list<Order> getOrdersForCustomer(1:i64 customerId, 2:i64 from_date, 3:i64 to_date, 4:OrderStatus status) throws (1:TransactionServiceException ex),
-
 
246
	i64 createOrder(1:Order order) throws (1:TransactionServiceException ex),
240
	i64 createOrder(1:Order order) throws (1:TransactionServiceException ex),
247
	Order getOrder(1:i64 id) throws (1:TransactionServiceException ex),
241
	Order getOrder(1:i64 id) throws (1:TransactionServiceException ex),
248
	list<LineItem> getLineItemsForOrder(1:i64 orderId) throws (1:TransactionServiceException ex),
242
	list<LineItem> getLineItemsForOrder(1:i64 orderId) throws (1:TransactionServiceException ex),
249
	
243
	
250
	
244