* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ namespace PrestaShop\PrestaShop\Core\Domain\Tax\Query; use PrestaShop\PrestaShop\Core\Domain\Tax\ValueObject\TaxId; /** * Gets tax for editing in Back Office */ class GetTaxForEditing { /** * @var TaxId */ private $taxId; /** * @param int $taxId */ public function __construct($taxId) { $this->taxId = new TaxId($taxId); } /** * @return TaxId */ public function getTaxId() { return $this->taxId; } }