Subversion Repositories SmartDukaan

Rev

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

Rev 2717 Rev 2814
Line 162... Line 162...
162
	10:i64 defaultAddressId,
162
	10:i64 defaultAddressId,
163
	11:string communicationEmail,
163
	11:string communicationEmail,
164
	12:i64 activeCartId,
164
	12:i64 activeCartId,
165
	13:string jsessionId,
165
	13:string jsessionId,
166
	14:bool isAnonymous,
166
	14:bool isAnonymous,
167
	15:string source
167
	15:string source,
-
 
168
	16:i64 sourceStartTime
168
}
169
}
169
 
170
 
170
struct UserCommunication{
171
struct UserCommunication{
171
	1:i64 id,
172
	1:i64 id,
172
	2:i64 userId,
173
	2:i64 userId,
Line 430... Line 431...
430
	void removeCoupon(1:i64 cartId) throws (1:ShoppingCartException scx),
431
	void removeCoupon(1:i64 cartId) throws (1:ShoppingCartException scx),
431
	
432
	
432
	/**
433
	/**
433
	 Creates a transaction and multiple orders for the given cart. Returns the transaction ID created.
434
	 Creates a transaction and multiple orders for the given cart. Returns the transaction ID created.
434
	*/
435
	*/
435
	i64 createOrders(1:i64 cartId) throws (1:ShoppingCartException scx),
436
	i64 createOrders(1:i64 cartId, 2:string sessionSource, 3:i64 sessionStartTime) throws (1:ShoppingCartException scx),
436
	
437
	
437
	/**
438
	/**
438
	 Validates that:
439
	 Validates that:
439
	 1. The checkout timestamp is greater than the updatedOn timestamp.
440
	 1. The checkout timestamp is greater than the updatedOn timestamp.
440
	 2. All of the lines in the cart are active items.
441
	 2. All of the lines in the cart are active items.