Subversion Repositories SmartDukaan

Rev

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

Rev 2219 Rev 2363
Line 46... Line 46...
46
	9:double quantity,
46
	9:double quantity,
47
	10:double unit_price,
47
	10:double unit_price,
48
	11:double unit_weight,
48
	11:double unit_weight,
49
	12:double total_price,
49
	12:double total_price,
50
	13:double transfer_price,
50
	13:double transfer_price,
51
	14:double total_weight
51
	14:double total_weight,
-
 
52
	15:optional i64 imei_number
52
}
53
}
53
 
54
 
54
 
55
 
55
struct Order{
56
struct Order{
56
	1:i64 id,
57
	1:i64 id,
Line 184... Line 185...
184
	Add billing details such as the bill number and the biller to the Order.
185
	Add billing details such as the bill number and the biller to the Order.
185
	*/
186
	*/
186
	bool addBillingDetails(1:i64 orderId, 2:string invoice_number, 3:string billed_by) throws (1:TransactionServiceException ex),
187
	bool addBillingDetails(1:i64 orderId, 2:string invoice_number, 3:string billed_by) throws (1:TransactionServiceException ex),
187
	
188
	
188
	/**
189
	/**
-
 
190
	Adds jacket number and IMEI no. to the order. Doesn't update the IMEI no. if a -1 is supplied.
-
 
191
	Also marks the order as billed and sets the billing timestamp.
189
	Adds jacket number to the order. Return false if it doesn't find the order with the given ID.
192
	Return false if it doesn't find the order with the given ID.
190
	*/
193
	*/
191
	bool addJacketNumber(1:i64 orderId, 2:i64 jacketNumber) throws (1:TransactionServiceException ex),
194
	bool addJacketNumber(1:i64 orderId, 2:i64 jacketNumber, 3:i64 imeiNumber, 4:string billedBy) throws (1:TransactionServiceException ex),
192
 
195
 
193
	bool acceptOrder(1:i64 orderId) throws (1:TransactionServiceException ex),
196
	bool acceptOrder(1:i64 orderId) throws (1:TransactionServiceException ex),
194
	bool billOrder(1:i64 orderId) throws (1:TransactionServiceException ex),
197
	bool billOrder(1:i64 orderId) throws (1:TransactionServiceException ex),
195
	
198
	
196
	/**
199
	/**