Subversion Repositories SmartDukaan

Rev

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

Rev 1976 Rev 2121
Line 2... Line 2...
2
Created on: May 24, 2011
2
Created on: May 24, 2011
3
@author: Varun Gupta
3
@author: Varun Gupta
4
'''
4
'''
5
 
5
 
6
from shop2020.model.v1.user.impl.PromotionDataAccessors import initialize, create_promotion,\
6
from shop2020.model.v1.user.impl.PromotionDataAccessors import initialize, create_promotion,\
7
    generate_coupons_for_promotion, apply_coupon, track_coupon_usage,\
7
    generate_coupons_for_promotion, apply_coupon, track_coupon_usage
8
    get_coupon_usage_count_by_user
8
from shop2020.model.v1.user.impl.PromotionRuleDataUtilities import get_coupon_usage_count_by_user
9
from shop2020.model.v1.user.impl import PromotionDataAccessors
9
from shop2020.model.v1.user.impl import PromotionDataAccessors
10
 
10
 
11
class PromotionServiceHandler:
11
class PromotionServiceHandler:
12
    
12
    
13
    def __init__(self, dbname='user'):
13
    def __init__(self, dbname='user'):