⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.45
Server IP:
185.238.29.86
Server:
Linux server2 6.8.12-6-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-6 (2024-12-19T19:05Z) x86_64
Server Software:
nginx/1.18.0
PHP Version:
8.1.31
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
shopware
/
vendor
/
shopware
/
core
/
System
/
Tax
/
View File Name :
TaxEntity.php
<?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\Framework\Log\Package; use Shopware\Core\System\Tax\Aggregate\TaxRule\TaxRuleCollection; #[Package('customer-order')] 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; } }