Subversion Repositories SmartDukaan

Rev

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

Rev 11890 Rev 11980
Line 450... Line 450...
450
	 2. All of the lines in the cart are active items.
450
	 2. All of the lines in the cart are active items.
451
	 3. The estimate for any of the lines in cart doesn't change.
451
	 3. The estimate for any of the lines in cart doesn't change.
452
	 If all three are true, returns empty string; else returns appropriate message.
452
	 If all three are true, returns empty string; else returns appropriate message.
453
	*/
453
	*/
454
	list<string> validateCart(1:i64 cartId, 2:i64 sourceId) throws (1:ShoppingCartException scex),
454
	list<string> validateCart(1:i64 cartId, 2:i64 sourceId) throws (1:ShoppingCartException scex),
-
 
455
 
-
 
456
	/**
-
 
457
	 Validates that:
-
 
458
	 1. The checkout timestamp is greater than the updatedOn timestamp.
-
 
459
	 2. All of the lines in the cart are active items.
-
 
460
	 3. The estimate for any of the lines in cart doesn't change.
-
 
461
	 If all three are true, returns empty string; else returns appropriate message.
-
 
462
	*/
-
 
463
	list<string> validateCartWithDealerCoupon(1:i64 cartId, 2:i64 sourceId, 3:string dealCoupon) throws (1:ShoppingCartException scex),
455
	
464
	
456
	/**
465
	/**
457
	 Merges the lines from the first cart into the second cart. Lines with duplicate items are removed.
466
	 Merges the lines from the first cart into the second cart. Lines with duplicate items are removed.
458
	*/
467
	*/
459
	void mergeCart(1:i64 fromCartId, 2:i64 toCartId),
468
	void mergeCart(1:i64 fromCartId, 2:i64 toCartId),
Line 560... Line 569...
560
	list<i64> getProductsAddedToCart(1:i64 startDate, 2:i64 endDate)
569
	list<i64> getProductsAddedToCart(1:i64 startDate, 2:i64 endDate)
561
	
570
	
562
	/**
571
	/**
563
	* This method is speciically used to avoid overloadaed calls to userClient
572
	* This method is speciically used to avoid overloadaed calls to userClient
564
	*/
573
	*/
565
	CartPlus validateCartPlus(1:i64 cartId, 2:i64 sourceId) throws (1:ShoppingCartException scex)
574
	CartPlus validateCartPlus(1:i64 cartId, 2:i64 sourceId, 3:string dealerCoupon) throws (1:ShoppingCartException scex)
566
	
575
	
567
	bool isPrivateDealUser(1:i64 userId)
576
	bool isPrivateDealUser(1:i64 userId)
568
	
577
	
569
	bool addPrivateDealUser(1:i64 userId)
578
	bool addPrivateDealUser(1:i64 userId)
570
	
579