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.     /** @var ?array */
  23.     protected $visibilityRules;
  24.     public function isPluginEnabled(): ?bool
  25.     {
  26.         return $this->pluginEnabled;
  27.     }
  28.     public function setPluginEnabled(bool $pluginEnabled): PluginConfig
  29.     {
  30.         $this->pluginEnabled $pluginEnabled;
  31.         return $this;
  32.     }
  33.     public function getDisplayMode(): ?string
  34.     {
  35.         return $this->displayMode;
  36.     }
  37.     public function setDisplayMode(string $displayMode): PluginConfig
  38.     {
  39.         $this->displayMode $displayMode;
  40.         return $this;
  41.     }
  42.     public function getStickyHeaderActive(): ?bool
  43.     {
  44.         return $this->stickyHeaderActive;
  45.     }
  46.     public function setStickyHeaderActive(bool $stickyHeaderActive): PluginConfig
  47.     {
  48.         $this->stickyHeaderActive $stickyHeaderActive;
  49.         return $this;
  50.     }
  51.     public function getStickyHeaderOffsetTop(): ?int
  52.     {
  53.         return (int)$this->stickyHeaderOffsetTop;
  54.     }
  55.     public function setStickyHeaderOffsetTop(int $stickyHeaderOffsetTop): PluginConfig
  56.     {
  57.         $this->stickyHeaderOffsetTop $stickyHeaderOffsetTop;
  58.         return $this;
  59.     }
  60.     public function getStickyHeaderOffsetLeft(): ?int
  61.     {
  62.         return (int)$this->stickyHeaderOffsetLeft;
  63.     }
  64.     public function setStickyHeaderOffsetLeft(int $stickyHeaderOffsetLeft): PluginConfig
  65.     {
  66.         $this->stickyHeaderOffsetLeft $stickyHeaderOffsetLeft;
  67.         return $this;
  68.     }
  69.     public function getStickyHeaderOffsetRight(): ?int
  70.     {
  71.         return (int)$this->stickyHeaderOffsetRight;
  72.     }
  73.     public function setStickyHeaderOffsetRight(int $stickyHeaderOffsetRight): PluginConfig
  74.     {
  75.         $this->stickyHeaderOffsetRight $stickyHeaderOffsetRight;
  76.         return $this;
  77.     }
  78.     public function isHidePricesForGuests(): ?bool
  79.     {
  80.         return $this->hidePricesForGuests;
  81.     }
  82.     public function setHidePricesForGuests(bool $hidePricesForGuests): PluginConfig
  83.     {
  84.         $this->hidePricesForGuests $hidePricesForGuests;
  85.         return $this;
  86.     }
  87.     public function getHidePricesForCustomerGroups(): ?array
  88.     {
  89.         return $this->hidePricesForCustomerGroups;
  90.     }
  91.     public function setHidePricesForCustomerGroups($hidePricesForCustomerGroups): PluginConfig
  92.     {
  93.         $this->hidePricesForCustomerGroups $hidePricesForCustomerGroups;
  94.         return $this;
  95.     }
  96.     public function getVisibilityRules(): ?array
  97.     {
  98.         return $this->visibilityRules;
  99.     }
  100.     public function setVisibilityRules(?array $visibilityRules): PluginConfig
  101.     {
  102.         $this->visibilityRules $visibilityRules;
  103.         return $this;
  104.     }
  105. }