Subversion Repositories SmartDukaan

Rev

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

Rev 6433 Rev 6497
Line 300... Line 300...
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
	map<i64, string> applyRechargeCoupon(1:string couponCode, 2:i64 totalAmount, 3:i64 userId) throws (1:PromotionException pex),
303
    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),
304
    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),
-
 
305
    list<Coupon> getActiveCodes(1:i64 promotionId) throws (1:PromotionException pex),
-
 
306
    void deleteCoupon(1:string couponCode) throws (1:PromotionException pex),
305
    
307
    
306
    /**
308
    /**
307
     Returns a list of active coupons
309
     Returns a list of active coupons
308
     */
310
     */
309
    list<Coupon> getActiveCoupons() throws (1:PromotionException pex),
311
    list<Coupon> getActiveCoupons() throws (1:PromotionException pex),