Subversion Repositories SmartDukaan

Rev

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

Rev 2363 Rev 2382
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
-
 
53
}
52
}
54
 
53
 
55
 
54
 
56
struct Order{
55
struct Order{
57
	1:i64 id,
56
	1:i64 id,
Line 189... Line 188...
189
	/**
188
	/**
190
	Adds jacket number and IMEI no. to the order. Doesn't update the IMEI no. if a -1 is supplied.
189
	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.
190
	Also marks the order as billed and sets the billing timestamp.
192
	Return false if it doesn't find the order with the given ID.
191
	Return false if it doesn't find the order with the given ID.
193
	*/
192
	*/
194
	bool addJacketNumber(1:i64 orderId, 2:i64 jacketNumber, 3:i64 imeiNumber, 4:string billedBy) throws (1:TransactionServiceException ex),
193
	bool addJacketNumber(1:i64 orderId, 2:i64 jacketNumber) throws (1:TransactionServiceException ex),
195
 
194
 
196
	bool acceptOrder(1:i64 orderId) throws (1:TransactionServiceException ex),
195
	bool acceptOrder(1:i64 orderId) throws (1:TransactionServiceException ex),
197
	bool billOrder(1:i64 orderId) throws (1:TransactionServiceException ex),
196
	bool billOrder(1:i64 orderId) throws (1:TransactionServiceException ex),
198
	
197
	
199
	/**
198
	/**