Subversion Repositories SmartDukaan

Rev

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

Rev 16118 Rev 16179
Line 2... Line 2...
2
 
2
 
3
 
3
 
4
def to_t_livePricing(d_livePricing):
4
def to_t_livePricing(d_livePricing):
5
    livePricing = T_LivePricing()
5
    livePricing = T_LivePricing()
6
    if not d_livePricing:
6
    if not d_livePricing:
-
 
7
        livePricing.marketPlaceUrl = ""
-
 
8
        livePricing.source_product_name = ""
-
 
9
        livePricing.thumbnail = ""
-
 
10
        livePricing.coupon = ""
-
 
11
        livePricing.tagline = ""
-
 
12
        livePricing.offer = ""
7
        return livePricing
13
        return livePricing
8
    
14
    
9
    livePricing._id = d_livePricing.get('_id')
15
    livePricing._id = d_livePricing.get('_id')
10
    livePricing.available_price = d_livePricing.get('available_price')
16
    livePricing.available_price = d_livePricing.get('available_price')
11
    livePricing.marketPlaceUrl = d_livePricing.get('marketPlaceUrl')
17
    livePricing.marketPlaceUrl = d_livePricing.get('marketPlaceUrl')