Subversion Repositories SmartDukaan

Rev

Rev 23156 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 23156 Rev 24033
Line 739... Line 739...
739
    tinfo.affiliateUrl = afItemInfo[0].affiliateUrl
739
    tinfo.affiliateUrl = afItemInfo[0].affiliateUrl
740
    return tinfo
740
    return tinfo
741
    
741
    
742
def to_t_hsItem(hsItem):
742
def to_t_hsItem(hsItem):
743
    t_hsItem = THsItem()
743
    t_hsItem = THsItem()
744
    t_hsItem.addedBy = hsItem.addedBy
-
 
745
    t_hsItem.addedTimestamp = to_java_date(hsItem.addedTimestamp)
-
 
746
    t_hsItem.defaultWarehouseId = hsItem.defaultWarehouseId
-
 
747
    t_hsItem.hsItemId = hsItem.hsItemId
-
 
748
    t_hsItem.hsProductId = hsItem.hsProductId
-
 
749
    t_hsItem.itemId = hsItem.itemId
744
    t_hsItem.itemId = hsItem.item_id
750
    t_hsItem.listingPrice = hsItem.listingPrice
745
    t_hsItem.listingPrice = hsItem.selling_price
751
    return t_hsItem
746
    return t_hsItem
752
 
747
 
753
def to_t_voiSnapdealItemInfo(voiSnapdealItemInfo):
748
def to_t_voiSnapdealItemInfo(voiSnapdealItemInfo):
754
    t_voiSnapdealItemInfo = TVoiSnapdealItemInfo()
749
    t_voiSnapdealItemInfo = TVoiSnapdealItemInfo()
755
    t_voiSnapdealItemInfo.item_id = voiSnapdealItemInfo.item_id
750
    t_voiSnapdealItemInfo.item_id = voiSnapdealItemInfo.item_id