| Line 292... |
Line 292... |
| 292 |
/**
|
292 |
/**
|
| 293 |
Promotion Service
|
293 |
Promotion Service
|
| 294 |
*/
|
294 |
*/
|
| 295 |
service PromotionService extends GenericService.GenericService{
|
295 |
service PromotionService extends GenericService.GenericService{
|
| 296 |
void createPromotion(1:string name, 2:string ruleExecutionSrc, 3:i64 startOn, 4:i64 endOn) throws (1:PromotionException pex),
|
296 |
void createPromotion(1:string name, 2:string ruleExecutionSrc, 3:i64 startOn, 4:i64 endOn) throws (1:PromotionException pex),
|
| - |
|
297 |
Coupon getCoupon(1:string couponCode) throws (1:PromotionException pex),
|
| - |
|
298 |
bool isGiftVoucher(1:string couponCode) throws (1:PromotionException pex),
|
| 297 |
list<Promotion> getAllPromotions() throws (1:PromotionException pex),
|
299 |
list<Promotion> getAllPromotions() throws (1:PromotionException pex),
|
| 298 |
Promotion getPromotionById(1:i64 promotionId) throws (1:PromotionException pex),
|
300 |
Promotion getPromotionById(1:i64 promotionId) throws (1:PromotionException pex),
|
| 299 |
void generateCouponsForPromotion(1:i64 promotionId, 2:string couponCode) throws (1:PromotionException pex),
|
301 |
void generateCouponsForPromotion(1:i64 promotionId, 2:string couponCode) throws (1:PromotionException pex),
|
| 300 |
Cart applyCoupon(1:string couponCode, 2:i64 cartId) throws (1:PromotionException pex),
|
302 |
Cart applyCoupon(1:string couponCode, 2:i64 cartId) throws (1:PromotionException pex),
|
| 301 |
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),
|