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


TaxRateResolver

Properties

taxRateRepository

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

taxRateFactory

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

Methods

__construct

public __construct(\Sylius\Component\Resource\Repository\RepositoryInterface $taxRateRepository, \Sylius\Component\Resource\Factory\FactoryInterface $taxRateFactory): mixed

Parameters:

Parameter Type Description
$taxRateRepository \Sylius\Component\Resource\Repository\RepositoryInterface
$taxRateFactory \Sylius\Component\Resource\Factory\FactoryInterface

resolve

public resolve(\Sylius\Component\Taxation\Model\TaxCategoryInterface $taxCategory, \Sylius\Component\Addressing\Model\ZoneInterface $zone): \Sylius\Component\Core\Model\TaxRateInterface

Parameters:

Parameter Type Description
$taxCategory \Sylius\Component\Taxation\Model\TaxCategoryInterface
$zone \Sylius\Component\Addressing\Model\ZoneInterface


Automatically generated on 2024-02-03

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