vendor/shopware/core/Framework/DataAbstractionLayer/TaxFreeConfig.php line 10

Open in your IDE?
  1. <?php declare(strict_types=1);
  2. namespace Shopware\Core\Framework\DataAbstractionLayer;
  3. use Shopware\Core\Defaults;
  4. use Shopware\Core\Framework\Log\Package;
  5. use Shopware\Core\Framework\Struct\Struct;
  6. #[Package('core')]
  7. class TaxFreeConfig extends Struct
  8. {
  9.     protected bool $enabled;
  10.     protected string $currencyId;
  11.     protected float $amount;
  12.     public function __construct(bool $enabled falsestring $currencyId Defaults::CURRENCYfloat $amount 0)
  13.     {
  14.         $this->enabled $enabled;
  15.         $this->currencyId $currencyId;
  16.         $this->amount $amount;
  17.     }
  18.     public function getEnabled(): bool
  19.     {
  20.         return $this->enabled;
  21.     }
  22.     public function setEnabled(bool $enabled): void
  23.     {
  24.         $this->enabled $enabled;
  25.     }
  26.     public function getCurrencyId(): string
  27.     {
  28.         return $this->currencyId;
  29.     }
  30.     public function setCurrencyId(string $currencyId): void
  31.     {
  32.         $this->currencyId $currencyId;
  33.     }
  34.     public function getAmount(): float
  35.     {
  36.         return $this->amount;
  37.     }
  38.     public function setAmount(float $amount): void
  39.     {
  40.         $this->amount $amount;
  41.     }
  42. }