Subversion Repositories SmartDukaan

Rev

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

Rev 11738 Rev 11819
Line 321... Line 321...
321
service PromotionService extends GenericService.GenericService{
321
service PromotionService extends GenericService.GenericService{
322
	void createPromotion(1:string name, 2:string ruleExecutionSrc, 3:i64 startOn, 4:i64 endOn) throws (1:PromotionException pex),
322
	void createPromotion(1:string name, 2:string ruleExecutionSrc, 3:i64 startOn, 4:i64 endOn) throws (1:PromotionException pex),
323
	i64 removeAllCouponsByPromotionId(1:i64 promotionId) throws (1:PromotionException pex),
323
	i64 removeAllCouponsByPromotionId(1:i64 promotionId) throws (1:PromotionException pex),
324
	Coupon getCoupon(1:string couponCode) throws (1:PromotionException pex),
324
	Coupon getCoupon(1:string couponCode) throws (1:PromotionException pex),
325
	bool isGiftVoucher(1:string couponCode) throws (1:PromotionException pex),
325
	bool isGiftVoucher(1:string couponCode) throws (1:PromotionException pex),
326
	bool isCodApplicable(1:string couponCode) throws (1:PromotionException pex),
326
	bool isCodApplicable(1:Cart cart) throws (1:PromotionException pex),
327
	list<Promotion> getAllPromotions() throws (1:PromotionException pex),
327
	list<Promotion> getAllPromotions() throws (1:PromotionException pex),
328
	Promotion getPromotionById(1:i64 promotionId) throws (1:PromotionException pex),
328
	Promotion getPromotionById(1:i64 promotionId) throws (1:PromotionException pex),
329
	void generateCouponsForPromotion(1:i64 promotionId, 2:string couponCode) throws (1:PromotionException pex),
329
	void generateCouponsForPromotion(1:i64 promotionId, 2:string couponCode) throws (1:PromotionException pex),
330
	Cart applyCoupon(1:string couponCode, 2:i64 cartId) throws (1:PromotionException pex),
330
	Cart applyCoupon(1:string couponCode, 2:i64 cartId) throws (1:PromotionException pex),
331
	map<i64,double>  getEmiDiscount(1:i64 cartId) throws (1:PromotionException pex),
331
	map<i64,double>  getEmiDiscount(1:i64 cartId) throws (1:PromotionException pex),