Subversion Repositories SmartDukaan

Rev

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

Rev 3858 Rev 4189
Line 330... Line 330...
330
	2:i64 transactionId,
330
	2:i64 transactionId,
331
	3:i64 userId,
331
	3:i64 userId,
332
	4:bool appliedOn
332
	4:bool appliedOn
333
}
333
}
334
 
334
 
-
 
335
struct ItemCouponDiscount{
-
 
336
	1:i64 itemId,
-
 
337
	2:string couponCode,
-
 
338
	3:double discount
-
 
339
}
-
 
340
 
335
/**
341
/**
336
Promotion Service
342
Promotion Service
337
*/
343
*/
338
service PromotionService extends GenericService.GenericService{
344
service PromotionService extends GenericService.GenericService{
339
	void createPromotion(1:string name, 2:string ruleExecutionSrc, 3:i64 startOn, 4:i64 endOn) throws (1:PromotionException pex),
345
	void createPromotion(1:string name, 2:string ruleExecutionSrc, 3:i64 startOn, 4:i64 endOn) throws (1:PromotionException pex),
Line 355... Line 361...
355
    i64 getSuccessfulPaymentCountForCoupon(1:string couponCode) throws (1:PromotionException pex),
361
    i64 getSuccessfulPaymentCountForCoupon(1:string couponCode) throws (1:PromotionException pex),
356
    
362
    
357
    /**
363
    /**
358
     Returns the doc string of the rule module
364
     Returns the doc string of the rule module
359
     */
365
     */
360
    string getRuleDocString(1:string ruleName)
366
    string getRuleDocString(1:string ruleName),
-
 
367
    
-
 
368
    list<ItemCouponDiscount> getItemDiscountMap(1:list<i64> itemIds) throws (1:PromotionException pex)
361
}
369
}
362
 
370
 
363
/**
371
/**
364
service
372
service
365
*/
373
*/