Subversion Repositories SmartDukaan

Rev

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

Rev 7092 Rev 7746
Line 293... Line 293...
293
/**
293
/**
294
Promotion Service
294
Promotion Service
295
*/
295
*/
296
service PromotionService extends GenericService.GenericService{
296
service PromotionService extends GenericService.GenericService{
297
	void createPromotion(1:string name, 2:string ruleExecutionSrc, 3:i64 startOn, 4:i64 endOn) throws (1:PromotionException pex),
297
	void createPromotion(1:string name, 2:string ruleExecutionSrc, 3:i64 startOn, 4:i64 endOn) throws (1:PromotionException pex),
-
 
298
	i64 removeAllCouponsByPromotionId(1:i64 promotionId) throws (1:PromotionException pex),
298
	Coupon getCoupon(1:string couponCode) throws (1:PromotionException pex),
299
	Coupon getCoupon(1:string couponCode) throws (1:PromotionException pex),
299
	bool isGiftVoucher(1:string couponCode) throws (1:PromotionException pex),
300
	bool isGiftVoucher(1:string couponCode) throws (1:PromotionException pex),
300
	bool isCodApplicable(1:string couponCode) throws (1:PromotionException pex),
301
	bool isCodApplicable(1:string couponCode) throws (1:PromotionException pex),
301
	list<Promotion> getAllPromotions() throws (1:PromotionException pex),
302
	list<Promotion> getAllPromotions() throws (1:PromotionException pex),
302
	Promotion getPromotionById(1:i64 promotionId) throws (1:PromotionException pex),
303
	Promotion getPromotionById(1:i64 promotionId) throws (1:PromotionException pex),