@param \Generated\Shared\Transfer\ProductListTransfer $productListTransfer

@return \Generated\Shared\Transfer\ProductListTransfer
494676
public function expandWithProductListCompanyRelationTransfer(ProductListTransfer $productListTransfer): ProductListTransfer
    {
        $productListCompanyRelationTransfer = new ProductListCompanyRelationTransfer();

        $productListCompanyRelationTransfer->setIdProductList($productListTransfer->getIdProductList());

        $productListCompanyRelationTransfer = $this->productListCompanyRelationReader
            ->getProductListCompanyRelation($productListCompanyRelationTransfer);

        $productListTransfer->setProductListCompanyRelation($productListCompanyRelationTransfer);

        return $productListTransfer;
    }
136427
public function listProductFamily($productFamilyId)
    {
        $service = $this->getService();

        $response      = $service->request('product_families/' . (int)$productFamilyId . '/components', 'GET');
        $responseArray = $this->getResponseArray($response);

        if (!$this->isError()) {
            $this->_data = $this->_normalizeResponseArray($responseArray);
        } else {
            $this->_data = array();
        }

        return $this;
    }
944359
public function indexAction(ProductInterface $product, ProductTranslation $translation)
    {
        $apiProduct = $this->getProductFactory()->createApiEntity($product, $translation->getLocale());

        return $this->render(
            $this->getProductViewTemplate(),
            [
                'product' => $apiProduct,
                'urls' => $this->getAllRoutesOfProduct($product),
            ]
        );
    }
714546
public function import(?DataImporterConfigurationTransfer $dataImporterConfigurationTransfer = null): DataImporterReportTransfer
    {
        return $this->getFactory()->createMerchantDataImport()->import($dataImporterConfigurationTransfer);
    }
1353489
protected function hydrateBrandListWithBrands(BrandCollectionTransfer $brandListTransfer, array $brands): void
    {
        $brandCollection = new ArrayObject();

        foreach ($brands as $brand) {
            $brandCollection->append(
                $this->getFactory()
                    ->createBrandMapper()
                    ->mapBrandEntityToBrand($brand)
            );
        }

        $brandListTransfer->setBrands($brandCollection);
    }
1015721
public function mapProductList(
        SpyProductList $spyProductList,
        ProductListTransfer $productListTransfer
    ): ProductListTransfer {
        $productListTransfer = $productListTransfer->fromArray($spyProductList->toArray(), true);

        return $productListTransfer;
    }
916532
protected function executeDeleteProductListTransaction(
        ProductListTransfer $productListTransfer
    ): void {
        foreach ($this->productListPreDeleters as $productListPreDeleters) {
            $productListPreDeleters->preDelete($productListTransfer);
        }

        parent::executeDeleteProductListTransaction($productListTransfer);
    }
829244
public function setStockTransfer(\Flowcode\ShopBundle\Entity\StockTransfer $stockTransfer = null)
    {
        $this->stockTransfer = $stockTransfer;

        return $this;
    }
1371561
public function importShoppingListItems(?DataImporterConfigurationTransfer $dataImporterConfigurationTransfer = null): DataImporterReportTransfer
    {
        return $this->getFactory()
            ->getShoppingListItemDataImporter()
            ->import($dataImporterConfigurationTransfer);
    }
340479
public function importProductPackagingUnits(?DataImporterConfigurationTransfer $dataImporterConfigurationTransfer = null): DataImporterReportTransfer
    {
        return $this->getFactory()->createProductPackagingUnitDataImport()->import($dataImporterConfigurationTransfer);
    }
748407
public function import(?DataImporterConfigurationTransfer $dataImporterConfigurationTransfer = null): DataImporterReportTransfer
    {
        return $this->getFactory()->createCategoryImporter()->import($dataImporterConfigurationTransfer);
    }
792764
public function getBrandCollection(BrandCollectionTransfer $brandCollectionTransfer): BrandCollectionTransfer
    {
        $brandCollectionTransfer = $this->brandRepository->getBrandCollection($brandCollectionTransfer);

        if (!empty($brandCollectionTransfer->getBrands())) {
            foreach ($brandCollectionTransfer->getBrands() as $brandTransfer) {
                $this->brandExpander->expand($brandTransfer);
            }
        }

        return $brandCollectionTransfer;
    }
377894
public function import(?DataImporterConfigurationTransfer $dataImporterConfigurationTransfer = null): DataImporterReportTransfer
    {
        return $this->getFactory()
            ->getProductQuantityDataImporter()
            ->import($dataImporterConfigurationTransfer);
    }
77340
public function expandTransfer(ProductListTransfer $productListTransfer): ProductListTransfer
    {
        $productListTransfer = $this->getFacade()
            ->expandProductListTransferWithProductListCustomerRelationTransfer($productListTransfer);

        return $productListTransfer;
    }
686857
public function importProductMeasurementSalesUnit(?DataImporterConfigurationTransfer $dataImporterConfigurationTransfer = null): DataImporterReportTransfer
    {
        return $this->getFactory()
            ->getProductMeasurementSalesUnitDataImporter()
            ->import($dataImporterConfigurationTransfer);
    }
147942
public function filter(RabbitMqExchangeCollectionTransfer $rabbitMqExchangeCollectionTransfer)
    {
        $filteredRabbitMqExchangeCollectionTransfer = new RabbitMqExchangeCollectionTransfer();

        foreach ($rabbitMqExchangeCollectionTransfer->getRabbitMqExchanges() as $rabbitMqExchangeTransfer) {
            if (!$this->isBlacklisted($rabbitMqExchangeTransfer)) {
                $filteredRabbitMqExchangeCollectionTransfer->addRabbitMqExchange($rabbitMqExchangeTransfer);
            }
        }

        return $filteredRabbitMqExchangeCollectionTransfer;
    }
151359
public function postSave(ProductListTransfer $productListTransfer): ProductListTransfer
    {
        $productListCustomerRelationTransfer = $productListTransfer->getProductListCustomerRelation();

        if (!$productListCustomerRelationTransfer) {
            return $productListTransfer;
        }

        $productListTransfer = $this->saveProductListCustomerRelation(
            $productListTransfer,
            $productListCustomerRelationTransfer
        );

        return $productListTransfer;
    }