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

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