Subversion Repositories SmartDukaan

Rev

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

Rev 6176 Rev 6250
Line 305... Line 305...
305
     Returns a list of active coupons
305
     Returns a list of active coupons
306
     */
306
     */
307
    list<Coupon> getActiveCoupons() throws (1:PromotionException pex),
307
    list<Coupon> getActiveCoupons() throws (1:PromotionException pex),
308
    
308
    
309
    /**
309
    /**
-
 
310
     Creates a coupon and returns couponcode if successfully created
-
 
311
     */
-
 
312
    string createCoupon(1:i64 promotionId, 2:i64 endOn, 3:string email, 4:i64 amount, 5:i64 usage) throws (1:PromotionException pex),
-
 
313
    
-
 
314
    /**
310
     Returns the count of successful payments done using a given coupon
315
     Returns the count of successful payments done using a given coupon
311
     */
316
     */
312
    i64 getSuccessfulPaymentCountForCoupon(1:string couponCode) throws (1:PromotionException pex),
317
    i64 getSuccessfulPaymentCountForCoupon(1:string couponCode) throws (1:PromotionException pex),
313
    
318
    
314
    /**
319
    /**