custom/plugins/MaxiaVariantsTable6/src/Core/Content/VariantsTable/PluginConfig.php line 7

Open in your IDE?
  1. <?php declare(strict_types=1);
  2. namespace Maxia\MaxiaVariantsTable6\Core\Content\VariantsTable;
  3. use Shopware\Core\Framework\Struct\Struct;
  4. class PluginConfig extends Struct
  5. {
  6.     /* @var bool */
  7.     protected $pluginEnabled;
  8.     /** @var string */
  9.     protected $displayMode;
  10.     /** @var bool */
  11.     protected $stickyHeaderActive;
  12.     /** @var int */
  13.     protected $stickyHeaderOffsetTop;
  14.     /** @var int */
  15.     protected $stickyHeaderOffsetLeft;
  16.     /** @var int */
  17.     protected $stickyHeaderOffsetRight;
  18.     /** @var bool */
  19.     protected $hidePricesForGuests;
  20.     /** @var array */
  21.     protected $hidePricesForCustomerGroups;
  22.     public function isPluginEnabled(): ?bool
  23.     {
  24.         return $this->pluginEnabled;
  25.     }
  26.     public function setPluginEnabled(bool $pluginEnabled): PluginConfig
  27.     {
  28.         $this->pluginEnabled $pluginEnabled;
  29.         return $this;
  30.     }
  31.     public function getDisplayMode(): ?string
  32.     {
  33.         return $this->displayMode;
  34.     }
  35.     public function setDisplayMode(string $displayMode): PluginConfig
  36.     {
  37.         $this->displayMode $displayMode;
  38.         return $this;
  39.     }
  40.     public function getStickyHeaderActive(): ?bool
  41.     {
  42.         return $this->stickyHeaderActive;
  43.     }
  44.     public function setStickyHeaderActive(bool $stickyHeaderActive): PluginConfig
  45.     {
  46.         $this->stickyHeaderActive $stickyHeaderActive;
  47.         return $this;
  48.     }
  49.     public function getStickyHeaderOffsetTop(): ?int
  50.     {
  51.         return (int)$this->stickyHeaderOffsetTop;
  52.     }
  53.     public function setStickyHeaderOffsetTop(int $stickyHeaderOffsetTop): PluginConfig
  54.     {
  55.         $this->stickyHeaderOffsetTop $stickyHeaderOffsetTop;
  56.         return $this;
  57.     }
  58.     public function getStickyHeaderOffsetLeft(): ?int
  59.     {
  60.         return (int)$this->stickyHeaderOffsetLeft;
  61.     }
  62.     public function setStickyHeaderOffsetLeft(int $stickyHeaderOffsetLeft): PluginConfig
  63.     {
  64.         $this->stickyHeaderOffsetLeft $stickyHeaderOffsetLeft;
  65.         return $this;
  66.     }
  67.     public function getStickyHeaderOffsetRight(): ?int
  68.     {
  69.         return (int)$this->stickyHeaderOffsetRight;
  70.     }
  71.     public function setStickyHeaderOffsetRight(int $stickyHeaderOffsetRight): PluginConfig
  72.     {
  73.         $this->stickyHeaderOffsetRight $stickyHeaderOffsetRight;
  74.         return $this;
  75.     }
  76.     public function isHidePricesForGuests(): ?bool
  77.     {
  78.         return $this->hidePricesForGuests;
  79.     }
  80.     public function setHidePricesForGuests(bool $hidePricesForGuests): PluginConfig
  81.     {
  82.         $this->hidePricesForGuests $hidePricesForGuests;
  83.         return $this;
  84.     }
  85.     public function getHidePricesForCustomerGroups(): ?array
  86.     {
  87.         return $this->hidePricesForCustomerGroups;
  88.     }
  89.     public function setHidePricesForCustomerGroups($hidePricesForCustomerGroups): PluginConfig
  90.     {
  91.         $this->hidePricesForCustomerGroups $hidePricesForCustomerGroups;
  92.         return $this;
  93.     }
  94. }