<?php declare(strict_types=1);namespace Shopware\Core\System\Tax;use Shopware\Core\Checkout\Shipping\ShippingMethodCollection;use Shopware\Core\Content\Product\ProductCollection;use Shopware\Core\Framework\DataAbstractionLayer\Entity;use Shopware\Core\Framework\DataAbstractionLayer\EntityCustomFieldsTrait;use Shopware\Core\Framework\DataAbstractionLayer\EntityIdTrait;use Shopware\Core\System\Tax\Aggregate\TaxRule\TaxRuleCollection;class TaxEntity extends Entity{ use EntityIdTrait; use EntityCustomFieldsTrait; /** * @var float */ protected $taxRate; /** * @var string */ protected $name; /** * @var int */ protected $position; /** * @var ProductCollection|null */ protected $products; /** * @var TaxRuleCollection|null */ protected $rules; /** * @var ShippingMethodCollection|null */ protected $shippingMethods; public function getTaxRate(): float { return $this->taxRate; } public function setTaxRate(float $taxRate): void { $this->taxRate = $taxRate; } public function getName(): string { return $this->name; } public function setName(string $name): void { $this->name = $name; } public function getPosition(): int { return $this->position; } public function setPosition(int $position): void { $this->position = $position; } public function getProducts(): ?ProductCollection { return $this->products; } public function setProducts(ProductCollection $products): void { $this->products = $products; } public function getRules(): ?TaxRuleCollection { return $this->rules; } public function setRules(TaxRuleCollection $rules): void { $this->rules = $rules; } public function getShippingMethods(): ?ShippingMethodCollection { return $this->shippingMethods; } public function setShippingMethods(ShippingMethodCollection $shippingMethods): void { $this->shippingMethods = $shippingMethods; }}