| Line 9... |
Line 9... |
| 9 |
ProductNotificationRequest as TProductNotificationRequest, \
|
9 |
ProductNotificationRequest as TProductNotificationRequest, \
|
| 10 |
ProductNotificationRequestCount as TProductNotificationRequestCount, \
|
10 |
ProductNotificationRequestCount as TProductNotificationRequestCount, \
|
| 11 |
VoucherItemMapping, EntityTag as TEntityTag, Banner as TBanner, BannerMap as TBannerMap, \
|
11 |
VoucherItemMapping, EntityTag as TEntityTag, Banner as TBanner, BannerMap as TBannerMap, \
|
| 12 |
Insurer as TInsurer, BrandInfo as TBrandInfo, Amazonlisted as TAmazonlisted, \
|
12 |
Insurer as TInsurer, BrandInfo as TBrandInfo, Amazonlisted as TAmazonlisted, \
|
| 13 |
EbayItem as TEbayItem, BannerUriMapping as TBannerUriMapping, Campaign as TCampaign, \
|
13 |
EbayItem as TEbayItem, BannerUriMapping as TBannerUriMapping, Campaign as TCampaign, \
|
| 14 |
SnapdealItem as TSnapdealItem, SnapdealItemDetails as TSnapdealItemDetails
|
14 |
SnapdealItem as TSnapdealItem, SnapdealItemDetails as TSnapdealItemDetails, ProductFeedSubmit as TProductFeedSubmit
|
| 15 |
from shop2020.utils.Utils import to_java_date
|
15 |
from shop2020.utils.Utils import to_java_date
|
| 16 |
|
16 |
|
| 17 |
def to_t_item(item):
|
17 |
def to_t_item(item):
|
| 18 |
t_item = Item()
|
18 |
t_item = Item()
|
| 19 |
if item is None:
|
19 |
if item is None:
|
| Line 281... |
Line 281... |
| 281 |
t_snapdeal_item_details.suppressInventoryFeed = snapdealitem[0].suppressInventoryFeed
|
281 |
t_snapdeal_item_details.suppressInventoryFeed = snapdealitem[0].suppressInventoryFeed
|
| 282 |
t_snapdeal_item_details.maxNlc = snapdealitem[0].maxNlc
|
282 |
t_snapdeal_item_details.maxNlc = snapdealitem[0].maxNlc
|
| 283 |
t_snapdeal_item_details.skuAtSnapdeal = snapdealitem[0].skuAtSnapdeal
|
283 |
t_snapdeal_item_details.skuAtSnapdeal = snapdealitem[0].skuAtSnapdeal
|
| 284 |
t_snapdeal_item_details.supc = snapdealitem[0].supc
|
284 |
t_snapdeal_item_details.supc = snapdealitem[0].supc
|
| 285 |
return t_snapdeal_item_details
|
285 |
return t_snapdeal_item_details
|
| - |
|
286 |
|
| - |
|
287 |
def to_t_product_feed_submit(productfeedsubmit):
|
| - |
|
288 |
if productfeedsubmit is None:
|
| - |
|
289 |
t_product_feed_submit = TProductFeedSubmit()
|
| - |
|
290 |
return t_product_feed_submit
|
| - |
|
291 |
t_product_feed_submit = TProductFeedSubmit()
|
| - |
|
292 |
t_product_feed_submit.catalogItemId = productfeedsubmit.catalogItemId
|
| - |
|
293 |
t_product_feed_submit.stockLinkedFeed = productfeedsubmit.stockLinkedFeed
|
| - |
|
294 |
return t_product_feed_submit
|
| 286 |
|
295 |
|