Subversion Repositories SmartDukaan

Rev

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

Rev 6679 Rev 6730
Line 311... Line 311...
311
    list<Coupon> getActiveCoupons() throws (1:PromotionException pex),
311
    list<Coupon> getActiveCoupons() throws (1:PromotionException pex),
312
    
312
    
313
    /**
313
    /**
314
     Creates a coupon with prefix (optional, pass null)and returns couponcode if successfully created.
314
     Creates a coupon with prefix (optional, pass null)and returns couponcode if successfully created.
315
     */
315
     */
316
    string createCoupon(1:i64 promotionId, 2:string arguments 3:bool isCod, 4:string prefix) throws (1:PromotionException pex),
316
    string createCoupon(1:i64 promotionId, 2:string couponCode, 3:string arguments 4:bool isCod, 5:string prefix) throws (1:PromotionException pex),
317
    
317
    
318
    /**
318
    /**
319
     Returns the count of successful payments done using a given coupon
319
     Returns the count of successful payments done using a given coupon
320
     */
320
     */
321
    i64 getSuccessfulPaymentCountForCoupon(1:string couponCode) throws (1:PromotionException pex),
321
    i64 getSuccessfulPaymentCountForCoupon(1:string couponCode) throws (1:PromotionException pex),