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

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\Struct\Struct;
  5. class TaxFreeConfig extends Struct
  6. {
  7.     protected bool $enabled;
  8.     protected string $currencyId;
  9.     protected float $amount;
  10.     public function __construct(bool $enabled falsestring $currencyId Defaults::CURRENCYfloat $amount 0)
  11.     {
  12.         $this->enabled $enabled;
  13.         $this->currencyId $currencyId;
  14.         $this->amount $amount;
  15.     }
  16.     public function getEnabled(): bool
  17.     {
  18.         return $this->enabled;
  19.     }
  20.     public function setEnabled(bool $enabled): void
  21.     {
  22.         $this->enabled $enabled;
  23.     }
  24.     public function getCurrencyId(): string
  25.     {
  26.         return $this->currencyId;
  27.     }
  28.     public function setCurrencyId(string $currencyId): void
  29.     {
  30.         $this->currencyId $currencyId;
  31.     }
  32.     public function getAmount(): float
  33.     {
  34.         return $this->amount;
  35.     }
  36.     public function setAmount(float $amount): void
  37.     {
  38.         $this->amount $amount;
  39.     }
  40. }