Subversion Repositories SmartDukaan

Rev

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

Rev 5492 Rev 5553
Line 210... Line 210...
210
	5:i64 updatedOn,		//time of last update in cart (like addition/deletion/updation of cart items )
210
	5:i64 updatedOn,		//time of last update in cart (like addition/deletion/updation of cart items )
211
	6:i64 checkedOutOn,		//commited timestamp
211
	6:i64 checkedOutOn,		//commited timestamp
212
	7:i64 addressId,	    //address on which this will be shipped
212
	7:i64 addressId,	    //address on which this will be shipped
213
	8:double totalPrice,
213
	8:double totalPrice,
214
	9:double discountedPrice,
214
	9:double discountedPrice,
215
	10:string couponCode
215
	10:string couponCode,
-
 
216
	11:i64 pickupStoreId
216
}
217
}
217
 
218
 
218
enum WidgetType{
219
enum WidgetType{
219
	MY_RESEARCH,
220
	MY_RESEARCH,
220
	BROWSE_HISTORY
221
	BROWSE_HISTORY
Line 374... Line 375...
374
	Cart getCart(1:i64 cartId) throws (1:ShoppingCartException scx),
375
	Cart getCart(1:i64 cartId) throws (1:ShoppingCartException scx),
375
	list<Cart> getCartsByTime(1:i64 from_time, 2:i64 to_time, 3:CartStatus status) throws (1:ShoppingCartException scx),
376
	list<Cart> getCartsByTime(1:i64 from_time, 2:i64 to_time, 3:CartStatus status) throws (1:ShoppingCartException scx),
376
	string addItemToCart(1:i64 cartId, 2:i64 itemId, 3:i64 quantity, 4:i64 sourceId) throws (1:ShoppingCartException scx),
377
	string addItemToCart(1:i64 cartId, 2:i64 itemId, 3:i64 quantity, 4:i64 sourceId) throws (1:ShoppingCartException scx),
377
	void deleteItemFromCart(1:i64 cartId, 2:i64 itemId) throws (1:ShoppingCartException scx),
378
	void deleteItemFromCart(1:i64 cartId, 2:i64 itemId) throws (1:ShoppingCartException scx),
378
	void addAddressToCart(1:i64 cartId, 2:i64 addressId) throws (1:ShoppingCartException scx),
379
	void addAddressToCart(1:i64 cartId, 2:i64 addressId) throws (1:ShoppingCartException scx),
-
 
380
	void addStoreToCart(1:i64 cartId, 2:i64 storeId) throws (1:ShoppingCartException scx),
379
	void applyCouponToCart(1:i64 cartId, 2:string couponCode, 3:double totalPrice, 4:double discountedPrice) throws (1:ShoppingCartException scx),
381
	void applyCouponToCart(1:i64 cartId, 2:string couponCode, 3:double totalPrice, 4:double discountedPrice) throws (1:ShoppingCartException scx),
380
	void removeCoupon(1:i64 cartId) throws (1:ShoppingCartException scx),
382
	void removeCoupon(1:i64 cartId) throws (1:ShoppingCartException scx),
381
	
383
	
382
	/**
384
	/**
383
	Deletes all the discounts associated with the cart
385
	Deletes all the discounts associated with the cart