Subversion Repositories SmartDukaan

Rev

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

Rev 1210 Rev 1223
Line 100... Line 100...
100
	26:i64 shipping_timestamp,
100
	26:i64 shipping_timestamp,
101
	27:i64 pickup_timestamp,
101
	27:i64 pickup_timestamp,
102
	28:i64 delivery_timestamp,
102
	28:i64 delivery_timestamp,
103
	29:i64 outofstock_timestamp,
103
	29:i64 outofstock_timestamp,
104
	30:i64 jacket_number,
104
	30:i64 jacket_number,
105
	31:string receiver
105
	31:string receiver,
-
 
106
	32:i64 batchNo,
-
 
107
	33:i64 serialNo
106
}
108
}
107
 
109
 
108
struct Transaction{
110
struct Transaction{
109
	1:i64 id,
111
	1:i64 id,
110
	2:list<Order> orders,
112
	2:list<Order> orders,
Line 183... Line 185...
183
	i64 createOrder(1:Order order) throws (1:TransactionServiceException ex),
185
	i64 createOrder(1:Order order) throws (1:TransactionServiceException ex),
184
	Order getOrder(1:i64 id) throws (1:TransactionServiceException ex),
186
	Order getOrder(1:i64 id) throws (1:TransactionServiceException ex),
185
	list<LineItem> getLineItemsForOrder(1:i64 orderId) throws (1:TransactionServiceException ex),
187
	list<LineItem> getLineItemsForOrder(1:i64 orderId) throws (1:TransactionServiceException ex),
186
	
188
	
187
	/**
189
	/**
-
 
190
	 Create a batch of all the pending orders for the given warehouse.
-
 
191
	 The returned list is orderd by created_timestamp.
-
 
192
	 If there are no pending orders, an empty list is returned.
-
 
193
	 **/
-
 
194
	list<Order> batchOrders(1:i64 warehouseId) throws (1:TransactionServiceException ex),
-
 
195
	
-
 
196
	/**
188
	* Mark the given order as out of stock. Throws an exception if the order with the given Id couldn't be found. 
197
	Mark the given order as out of stock. Throws an exception if the order with the given Id couldn't be found. 
189
	**/
198
	**/
190
	bool markOrderAsOutOfStock(1:i64 orderId) throws (1:TransactionServiceException ex),
199
	bool markOrderAsOutOfStock(1:i64 orderId) throws (1:TransactionServiceException ex),
191
	
200
	
192
	/**
201
	/**
193
	Marks all BILLED orders for a warehouse and a provider as SHIPPED_FROM_WH
202
	Marks all BILLED orders for a warehouse and a provider as SHIPPED_FROM_WH