Subversion Repositories SmartDukaan

Rev

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

Rev 6561 Rev 6679
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:i64 endOn, 3:string email, 4:i64 amount, 5:bool isCod, 6:i64 usage,  7:string prefix) throws (1:PromotionException pex),
316
    string createCoupon(1:i64 promotionId, 2:string arguments 3:bool isCod, 4: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),