Subversion Repositories SmartDukaan

Rev

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

Rev 6389 Rev 6433
Line 297... Line 297...
297
	bool isCodApplicable(1:string couponCode) throws (1:PromotionException pex),
297
	bool isCodApplicable(1:string couponCode) throws (1:PromotionException pex),
298
	list<Promotion> getAllPromotions() throws (1:PromotionException pex),
298
	list<Promotion> getAllPromotions() throws (1:PromotionException pex),
299
	Promotion getPromotionById(1:i64 promotionId) throws (1:PromotionException pex),
299
	Promotion getPromotionById(1:i64 promotionId) throws (1:PromotionException pex),
300
	void generateCouponsForPromotion(1:i64 promotionId, 2:string couponCode) throws (1:PromotionException pex),
300
	void generateCouponsForPromotion(1:i64 promotionId, 2:string couponCode) throws (1:PromotionException pex),
301
	Cart applyCoupon(1:string couponCode, 2:i64 cartId) throws (1:PromotionException pex),
301
	Cart applyCoupon(1:string couponCode, 2:i64 cartId) throws (1:PromotionException pex),
-
 
302
	map<i64, string> applyRechargeCoupon(1:string couponCode, 2:i64 totalAmount, 3:i64 userId) throws (1:PromotionException pex),
302
    void trackCouponUsage(1:string couponCode, 2:i64 transactionId, 3:i64 userId) throws (1:PromotionException pex),
303
    void trackCouponUsage(1:string couponCode, 2:i64 transactionId, 3:i64 userId) throws (1:PromotionException pex),
303
    i64 getCouponUsageCountByUser(1:string couponCode, 2:i64 userId) throws (1:PromotionException pex),
304
    i64 getCouponUsageCountByUser(1:string couponCode, 2:i64 userId) throws (1:PromotionException pex),
304
    
305
    
305
    /**
306
    /**
306
     Returns a list of active coupons
307
     Returns a list of active coupons