ProductTaxonResolver - trickscompany/sylius-odoo-product-plugin GitHub Wiki


ProductTaxonResolver

Properties

productTaxonFactory

private \Sylius\Component\Resource\Factory\FactoryInterface $productTaxonFactory

productTaxonRepository

private \Sylius\Component\Resource\Repository\RepositoryInterface $productTaxonRepository

taxonRepository

private \Sylius\Component\Resource\Repository\RepositoryInterface $taxonRepository

Methods

__construct

public __construct(\Sylius\Component\Resource\Factory\FactoryInterface $productTaxonFactory, \Sylius\Component\Resource\Repository\RepositoryInterface $productTaxonRepository, \Sylius\Component\Resource\Repository\RepositoryInterface $taxonRepository): mixed

Parameters:

Parameter Type Description
$productTaxonFactory \Sylius\Component\Resource\Factory\FactoryInterface
$productTaxonRepository \Sylius\Component\Resource\Repository\RepositoryInterface
$taxonRepository \Sylius\Component\Resource\Repository\RepositoryInterface

resolve

public resolve(\Sylius\Component\Core\Model\ProductInterface $syliusProduct, \Fabit\SyliusOdooProductPlugin\Model\Product $product, ?int $position = null): ?\Sylius\Component\Core\Model\ProductTaxonInterface

Parameters:

Parameter Type Description
$syliusProduct \Sylius\Component\Core\Model\ProductInterface
$product \Fabit\SyliusOdooProductPlugin\Model\Product
$position ?int


Automatically generated on 2024-02-03

⚠️ **GitHub.com Fallback** ⚠️