Subversion Repositories SmartDukaan

Rev

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

Rev 1147 Rev 1210
Line 98... Line 98...
98
	24:i64 accepted_timestamp,
98
	24:i64 accepted_timestamp,
99
	25:i64 billing_timestamp,
99
	25:i64 billing_timestamp,
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 jacket_number,
104
	30:i64 jacket_number,
104
	30:string receiver
105
	31:string receiver
105
}
106
}
106
 
107
 
107
struct Transaction{
108
struct Transaction{
108
	1:i64 id,
109
	1:i64 id,
109
	2:list<Order> orders,
110
	2:list<Order> orders,
Line 182... Line 183...
182
	i64 createOrder(1:Order order) throws (1:TransactionServiceException ex),
183
	i64 createOrder(1:Order order) throws (1:TransactionServiceException ex),
183
	Order getOrder(1:i64 id) throws (1:TransactionServiceException ex),
184
	Order getOrder(1:i64 id) throws (1:TransactionServiceException ex),
184
	list<LineItem> getLineItemsForOrder(1:i64 orderId) throws (1:TransactionServiceException ex),
185
	list<LineItem> getLineItemsForOrder(1:i64 orderId) throws (1:TransactionServiceException ex),
185
	
186
	
186
	/**
187
	/**
-
 
188
	* Mark the given order as out of stock. Throws an exception if the order with the given Id couldn't be found. 
-
 
189
	**/
-
 
190
	bool markOrderAsOutOfStock(1:i64 orderId) throws (1:TransactionServiceException ex),
-
 
191
	
-
 
192
	/**
187
	Marks all BILLED orders for a warehouse and a provider as SHIPPED_FROM_WH
193
	Marks all BILLED orders for a warehouse and a provider as SHIPPED_FROM_WH
188
	*/
194
	*/
189
	bool markOrdersAsManifested(1:i64 warehouseId, 2:i64 providerId) throws (1:TransactionServiceException ex),
195
	bool markOrdersAsManifested(1:i64 warehouseId, 2:i64 providerId) throws (1:TransactionServiceException ex),
190
	
196
	
191
	/**
197
	/**