| Line 680... |
Line 680... |
| 680 |
item.setQuantityStep(DEFAULTQUANTIYSTEP);
|
680 |
item.setQuantityStep(DEFAULTQUANTIYSTEP);
|
| 681 |
item.setMinimumBuyQuantity(DEFAULTMINBUYQTY);
|
681 |
item.setMinimumBuyQuantity(DEFAULTMINBUYQTY);
|
| 682 |
item.setMaximumBuyQuantity(DEFAULTMAXBUYQTY);
|
682 |
item.setMaximumBuyQuantity(DEFAULTMAXBUYQTY);
|
| 683 |
setThriftItemParams(tItem, item);
|
683 |
setThriftItemParams(tItem, item);
|
| 684 |
itemId = catalogClient.addItem(tItem);
|
684 |
itemId = catalogClient.addItem(tItem);
|
| 685 |
tItem.setId(itemId);
|
685 |
tItem = catalogClient.getItem(itemId);
|
| - |
|
686 |
|
| 686 |
Client catalogClientProd = new CatalogClient("catalog_service_server_host_prod","catalog_service_server_port").getClient();
|
687 |
Client catalogClientProd = new CatalogClient("catalog_service_server_host_prod","catalog_service_server_port").getClient();
|
| 687 |
catalogClientProd.addItem(tItem);
|
688 |
catalogClientProd.addItem(tItem);
|
| 688 |
Map<Long, VendorPricings> vendorPricings = item.getVendorPricesMap();
|
689 |
Map<Long, VendorPricings> vendorPricings = item.getVendorPricesMap();
|
| 689 |
if(vendorPricings != null && !vendorPricings.isEmpty()) {
|
690 |
if(vendorPricings != null && !vendorPricings.isEmpty()) {
|
| 690 |
in.shop2020.model.v1.inventory.VendorItemPricing tVendorPricing;
|
691 |
in.shop2020.model.v1.inventory.VendorItemPricing tVendorPricing;
|