* @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\Command; use PrestaShop\PrestaShop\Core\Domain\Tax\ValueObject\TaxId; /** * Deletes tax */ class DeleteTaxCommand { /** * @var TaxId */ private $taxId; /** * @param int $taxId * * @throws \PrestaShop\PrestaShop\Core\Domain\Tax\Exception\TaxException */ public function __construct($taxId) { $this->taxId = new TaxId($taxId); } /** * @return TaxId */ public function getTaxId() { return $this->taxId; } }