| Line 52... |
Line 52... |
| 52 |
t_item.bestDealsDetailsText = item.bestDealsDetailsText
|
52 |
t_item.bestDealsDetailsText = item.bestDealsDetailsText
|
| 53 |
if item.bestDealsDetailsLink:
|
53 |
if item.bestDealsDetailsLink:
|
| 54 |
t_item.bestDealsDetailsLink = item.bestDealsDetailsLink
|
54 |
t_item.bestDealsDetailsLink = item.bestDealsDetailsLink
|
| 55 |
if item.bestDealValue:
|
55 |
if item.bestDealValue:
|
| 56 |
t_item.bestDealValue = item.bestDealValue
|
56 |
t_item.bestDealValue = item.bestDealValue
|
| 57 |
|
57 |
if item.asin:
|
| - |
|
58 |
t_item.asin = item.asin
|
| 58 |
t_item.defaultForEntity = item.defaultForEntity
|
59 |
t_item.defaultForEntity = item.defaultForEntity
|
| 59 |
t_item.bestSellingRank = item.bestSellingRank
|
60 |
t_item.bestSellingRank = item.bestSellingRank
|
| 60 |
t_item.risky = item.risky
|
61 |
t_item.risky = item.risky
|
| 61 |
t_item.expectedDelay = item.expectedDelay
|
62 |
t_item.expectedDelay = item.expectedDelay
|
| 62 |
t_item.isWarehousePreferenceSticky = item.isWarehousePreferenceSticky
|
63 |
t_item.isWarehousePreferenceSticky = item.isWarehousePreferenceSticky
|
| Line 65... |
Line 66... |
| 65 |
t_item.type = ItemType._NAMES_TO_VALUES[item.type]
|
66 |
t_item.type = ItemType._NAMES_TO_VALUES[item.type]
|
| 66 |
t_item.hasItemNo = item.hasItemNo
|
67 |
t_item.hasItemNo = item.hasItemNo
|
| 67 |
t_item.activeOnStore = item.activeOnStore
|
68 |
t_item.activeOnStore = item.activeOnStore
|
| 68 |
t_item.showSellingPrice = item.showSellingPrice
|
69 |
t_item.showSellingPrice = item.showSellingPrice
|
| 69 |
t_item.preferredInsurer = item.preferredInsurer
|
70 |
t_item.preferredInsurer = item.preferredInsurer
|
| 70 |
|
71 |
t_item.holdInventory = item.holdInventory
|
| - |
|
72 |
t_item.defaultInventory = item.defaultInventory
|
| 71 |
return t_item
|
73 |
return t_item
|
| 72 |
|
74 |
|
| 73 |
def to_t_insurer(insurer):
|
75 |
def to_t_insurer(insurer):
|
| 74 |
t_insurer = TInsurer()
|
76 |
t_insurer = TInsurer()
|
| 75 |
t_insurer.id = insurer.id
|
77 |
t_insurer.id = insurer.id
|
| Line 151... |
Line 153... |
| 151 |
t_banner_map.bannerName = banner_map.bannerName
|
153 |
t_banner_map.bannerName = banner_map.bannerName
|
| 152 |
t_banner_map.mapLink = banner_map.mapLink
|
154 |
t_banner_map.mapLink = banner_map.mapLink
|
| 153 |
t_banner_map.coordinates = banner_map.coordinates
|
155 |
t_banner_map.coordinates = banner_map.coordinates
|
| 154 |
return t_banner_map
|
156 |
return t_banner_map
|
| 155 |
|
157 |
|
| 156 |
def to_t_brand_info(brand_info):
|
- |
|
| 157 |
t_brand_info = TBrandInfo()
|
- |
|
| 158 |
t_brand_info.name = brand_info.name
|
- |
|
| 159 |
t_brand_info.serviceCenterLocatorUrl = brand_info.serviceCenterLocatorUrl
|
- |
|
| 160 |
return t_brand_info
|
- |
|
| 161 |
|
- |
|
| 162 |
def to_t_Amazonlisted(Amazonlisted):
|
158 |
def to_t_Amazonlisted(Amazonlisted):
|
| 163 |
t_amazonlisted = TAmazonlisted()
|
159 |
t_amazonlisted = TAmazonlisted()
|
| 164 |
t_amazonlisted.asin = Amazonlisted.asin
|
160 |
t_amazonlisted.asin = Amazonlisted.asin
|
| 165 |
t_amazonlisted.brand = Amazonlisted.brand
|
161 |
t_amazonlisted.brand = Amazonlisted.brand
|
| 166 |
t_amazonlisted.itemid = Amazonlisted.itemId
|
162 |
t_amazonlisted.itemid = Amazonlisted.itemId
|
| Line 175... |
Line 171... |
| 175 |
t_amazonlisted.isFba = Amazonlisted.isFba
|
171 |
t_amazonlisted.isFba = Amazonlisted.isFba
|
| 176 |
t_amazonlisted.isNonFba = Amazonlisted.isNonFba
|
172 |
t_amazonlisted.isNonFba = Amazonlisted.isNonFba
|
| 177 |
t_amazonlisted.isInventoryOverride = Amazonlisted.isInventoryOverride
|
173 |
t_amazonlisted.isInventoryOverride = Amazonlisted.isInventoryOverride
|
| 178 |
t_amazonlisted.color = Amazonlisted.color
|
174 |
t_amazonlisted.color = Amazonlisted.color
|
| 179 |
t_amazonlisted.category = Amazonlisted.category
|
175 |
t_amazonlisted.category = Amazonlisted.category
|
| 180 |
return t_amazonlisted
|
- |
|
| 181 |
|
176 |
return t_amazonlisted
|
| - |
|
177 |
|
| - |
|
178 |
|