Subversion Repositories SmartDukaan

Rev

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

Rev 19497 Rev 19587
Line 325... Line 325...
325
     
325
     
326
    def __init__(self, _id, skuBundleId, sourceProductId, sourceCategoryId, source_url ,source, source_id, category, category_id ,\
326
    def __init__(self, _id, skuBundleId, sourceProductId, sourceCategoryId, source_url ,source, source_id, category, category_id ,\
327
                 offer, cashback, available_price, mrp, thumbnail, brand, model_name, product_name, source_product_name, \
327
                 offer, cashback, available_price, mrp, thumbnail, brand, model_name, product_name, source_product_name, \
328
                 url, stock_status, in_stock, rank, identifier,addedOn,updatedOn,secondaryIdentifier,marketPlaceUrl,status, \
328
                 url, stock_status, in_stock, rank, identifier,addedOn,updatedOn,secondaryIdentifier,marketPlaceUrl,status, \
329
                 priceUpdatedOn, tagline, is_shortage, brand_id,maxPrice,buyBoxFlag,coupon,codAvailable,gross_price,ignorePricing,quantity, \
329
                 priceUpdatedOn, tagline, is_shortage, brand_id,maxPrice,buyBoxFlag,coupon,codAvailable,gross_price,ignorePricing,quantity, \
330
                 videoLink,showVideo,subCategoryId,subCategory,showMrp,shippingCost, showNetPrice):
330
                 videoLink,showVideo,subCategoryId,subCategory,showMrp,shippingCost, showNetPrice,internalRank):
331
        self. _id = _id
331
        self. _id = _id
332
        self.addedOn =       addedOn
332
        self.addedOn =       addedOn
333
        self.available_price =       available_price
333
        self.available_price =       available_price
334
        self.brand   =       brand
334
        self.brand   =       brand
335
        self.cashback=       cashback
335
        self.cashback=       cashback
Line 371... Line 371...
371
        self.showVideo       =       showVideo
371
        self.showVideo       =       showVideo
372
        self.subCategoryId   =       subCategoryId
372
        self.subCategoryId   =       subCategoryId
373
        self.subCategory     =       subCategory
373
        self.subCategory     =       subCategory
374
        self.showMrp =       showMrp
374
        self.showMrp =       showMrp
375
        self.shippingCost    =       shippingCost
375
        self.shippingCost    =       shippingCost
376
        self.showNetPrice = showNetPrice 
376
        self.showNetPrice = showNetPrice
-
 
377
        self.internalRank = internalRank 
377
 
378
 
378
class Promotion:
379
class Promotion:
379
    def __init__(self, offer_id,offer_name,offer_description , categories_applicable, sub_categories_not_applicable,
380
    def __init__(self, offer_id,offer_name,offer_description , categories_applicable, sub_categories_not_applicable,
380
                     startDate, endDate, target1, target1_cash_back_percetage, target2, target2_cash_back_percetage, maxCashBack, url,
381
                     startDate, endDate, target1, target1_cash_back_percetage, target2, target2_cash_back_percetage, maxCashBack, url,
381
                     pending_order_value, delivered_order_value, last_run_timestamp):
382
                     pending_order_value, delivered_order_value, last_run_timestamp):