custom/plugins/MaxiaListingVariants6/src/Config/BaseConfig.php line 10

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace Maxia\MaxiaListingVariants6\Config;
  4. use Maxia\MaxiaListingVariants6\Config\Traits\CustomFieldConfigStruct;
  5. use Shopware\Core\Framework\Struct\Struct;
  6. class BaseConfig extends Struct
  7. {
  8.     use CustomFieldConfigStruct;
  9.     /* @var bool */
  10.     protected $pluginEnabled;
  11.     /* @var string */
  12.     protected $displayMode;
  13.     /* @var string[] */
  14.     protected $restrictedProperties;
  15.     /** @var string */
  16.     protected $position;
  17.     /* @var bool */
  18.     protected $showInSearchListing;
  19.     /* @var bool */
  20.     protected $showInCrossSelling;
  21.     /** @var int */
  22.     protected $maxEntries;
  23.     /** @var bool */
  24.     protected $hideSoldOutCloseoutProducts;
  25.     /** @var bool */
  26.     protected $markSoldOutCloseoutProducts;
  27.     /** @var bool */
  28.     protected $avoidOutOfStockPreselection;
  29.     /** @var bool */
  30.     protected $preselectFirstVariantByDefault;
  31.     /* @var bool */
  32.     protected $showDeliveryInfo;
  33.     /* @var bool */
  34.     protected $showGroupNames;
  35.     /* @var bool */
  36.     protected $switchImageOnHover;
  37.     /* @var bool */
  38.     protected $quickBuyActive;
  39.     /* @var bool */
  40.     protected $showQuantitySelection;
  41.     /* @var bool */
  42.     protected $showAdditionalDetailLink;
  43.     /* @var bool */
  44.     protected $showDeliveryInfoPopup;
  45.     /** @var bool */
  46.     protected $activateForMainProducts;
  47.     /* @var bool */
  48.     protected $showColorCircles;
  49.     /** @var bool */
  50.     protected $listLayoutShowBasePrices;
  51.     /** @var bool */
  52.     protected $listLayoutShowDiscountPrices;
  53.     /* @var string */
  54.     protected $buyButtonHeight;
  55.     /* @var string */
  56.     protected $mediaOptionHeight;
  57.     /* @var string */
  58.     protected $colorOptionHeight;
  59.     /** @var bool */
  60.     protected $loadAllEntities;
  61.     /** @var bool */
  62.     protected $disablePreselection;
  63.     /** @var bool */
  64.     protected $disablePreselectionInSearch;
  65.     /** @var bool */
  66.     protected $displayParentSupported false;
  67.     /** @var bool */
  68.     protected $cacheEnabled false;
  69.     public function isPluginEnabled(): ?bool
  70.     {
  71.         return $this->pluginEnabled;
  72.     }
  73.     public function setPluginEnabled(bool $pluginEnabled): BaseConfig
  74.     {
  75.         $this->pluginEnabled $pluginEnabled;
  76.         return $this;
  77.     }
  78.     public function getDisplayMode(): ?string
  79.     {
  80.         return $this->displayMode;
  81.     }
  82.     public function setDisplayMode(string $displayMode): BaseConfig
  83.     {
  84.         $this->displayMode $displayMode;
  85.         return $this;
  86.     }
  87.     public function getRestrictedProperties(): ?array
  88.     {
  89.         return $this->restrictedProperties;
  90.     }
  91.     public function setRestrictedProperties(array $restrictedProperties): BaseConfig
  92.     {
  93.         $this->restrictedProperties $restrictedProperties;
  94.         return $this;
  95.     }
  96.     public function getPosition(): ?string
  97.     {
  98.         return $this->position;
  99.     }
  100.     public function setPosition(string $position): BaseConfig
  101.     {
  102.         $this->position $position;
  103.         return $this;
  104.     }
  105.     public function isShowInSearchListing(): ?bool
  106.     {
  107.         return $this->showInSearchListing;
  108.     }
  109.     public function setShowInSearchListing(bool $showInSearchListing): BaseConfig
  110.     {
  111.         $this->showInSearchListing $showInSearchListing;
  112.         return $this;
  113.     }
  114.     public function isShowInCrossSelling(): ?bool
  115.     {
  116.         return $this->showInCrossSelling;
  117.     }
  118.     public function setShowInCrossSelling(bool $showInCrossSelling): BaseConfig
  119.     {
  120.         $this->showInCrossSelling $showInCrossSelling;
  121.         return $this;
  122.     }
  123.     public function getMaxEntries(): ?int
  124.     {
  125.         return $this->maxEntries;
  126.     }
  127.     public function setMaxEntries(int $maxEntries): BaseConfig
  128.     {
  129.         $this->maxEntries $maxEntries;
  130.         return $this;
  131.     }
  132.     public function isHideSoldOutCloseoutProducts(): ?bool
  133.     {
  134.         return $this->hideSoldOutCloseoutProducts;
  135.     }
  136.     public function setHideSoldOutCloseoutProducts(bool $hideSoldOutCloseoutProducts): BaseConfig
  137.     {
  138.         $this->hideSoldOutCloseoutProducts $hideSoldOutCloseoutProducts;
  139.         return $this;
  140.     }
  141.     public function isMarkSoldOutCloseoutProducts(): ?bool
  142.     {
  143.         return $this->markSoldOutCloseoutProducts;
  144.     }
  145.     public function setMarkSoldOutCloseoutProducts(bool $markSoldOutCloseoutProducts): BaseConfig
  146.     {
  147.         $this->markSoldOutCloseoutProducts $markSoldOutCloseoutProducts;
  148.         return $this;
  149.     }
  150.     public function isAvoidOutOfStockPreselection(): ?bool
  151.     {
  152.         return $this->avoidOutOfStockPreselection;
  153.     }
  154.     public function setAvoidOutOfStockPreselection(bool $avoidOutOfStockPreselection): BaseConfig
  155.     {
  156.         $this->avoidOutOfStockPreselection $avoidOutOfStockPreselection;
  157.         return $this;
  158.     }
  159.     public function isPreselectFirstVariantByDefault(): ?bool
  160.     {
  161.         return $this->preselectFirstVariantByDefault;
  162.     }
  163.     public function setPreselectFirstVariantByDefault(bool $preselectFirstVariantByDefault): BaseConfig
  164.     {
  165.         $this->preselectFirstVariantByDefault $preselectFirstVariantByDefault;
  166.         return $this;
  167.     }
  168.     public function isShowDeliveryInfo(): ?bool
  169.     {
  170.         return $this->showDeliveryInfo;
  171.     }
  172.     public function setShowDeliveryInfo(bool $showDeliveryInfo): BaseConfig
  173.     {
  174.         $this->showDeliveryInfo $showDeliveryInfo;
  175.         return $this;
  176.     }
  177.     public function isShowGroupNames(): ?bool
  178.     {
  179.         return $this->showGroupNames;
  180.     }
  181.     public function setShowGroupNames(bool $showGroupNames): BaseConfig
  182.     {
  183.         $this->showGroupNames $showGroupNames;
  184.         return $this;
  185.     }
  186.     public function isSwitchImageOnHover(): ?bool
  187.     {
  188.         return $this->switchImageOnHover;
  189.     }
  190.     public function setSwitchImageOnHover(bool $switchImageOnHover): BaseConfig
  191.     {
  192.         $this->switchImageOnHover $switchImageOnHover;
  193.         return $this;
  194.     }
  195.     public function isQuickBuyActive(): ?bool
  196.     {
  197.         return $this->quickBuyActive;
  198.     }
  199.     public function setQuickBuyActive(bool $quickBuyActive): BaseConfig
  200.     {
  201.         $this->quickBuyActive $quickBuyActive;
  202.         return $this;
  203.     }
  204.     public function isShowQuantitySelection(): ?bool
  205.     {
  206.         return $this->showQuantitySelection;
  207.     }
  208.     public function setShowQuantitySelection(bool $showQuantitySelection): BaseConfig
  209.     {
  210.         $this->showQuantitySelection $showQuantitySelection;
  211.         return $this;
  212.     }
  213.     public function isShowAdditionalDetailLink(): ?bool
  214.     {
  215.         return $this->showAdditionalDetailLink;
  216.     }
  217.     public function setShowAdditionalDetailLink(bool $showAdditionalDetailLink): BaseConfig
  218.     {
  219.         $this->showAdditionalDetailLink $showAdditionalDetailLink;
  220.         return $this;
  221.     }
  222.     public function isShowDeliveryInfoPopup(): ?bool
  223.     {
  224.         return $this->showDeliveryInfoPopup;
  225.     }
  226.     public function setShowDeliveryInfoPopup(bool $showDeliveryInfoPopup): BaseConfig
  227.     {
  228.         $this->showDeliveryInfoPopup $showDeliveryInfoPopup;
  229.         return $this;
  230.     }
  231.     public function isActivateForMainProducts(): ?bool
  232.     {
  233.         return $this->activateForMainProducts;
  234.     }
  235.     public function setActivateForMainProducts(bool $activateForMainProducts): BaseConfig
  236.     {
  237.         $this->activateForMainProducts $activateForMainProducts;
  238.         return $this;
  239.     }
  240.     public function isShowColorCircles(): ?bool
  241.     {
  242.         return $this->showColorCircles;
  243.     }
  244.     public function setShowColorCircles(bool $showColorCircles): BaseConfig
  245.     {
  246.         $this->showColorCircles $showColorCircles;
  247.         return $this;
  248.     }
  249.     public function isListLayoutShowBasePrices(): ?bool
  250.     {
  251.         return $this->listLayoutShowBasePrices;
  252.     }
  253.     public function setListLayoutShowBasePrices(bool $listLayoutShowBasePrices): BaseConfig
  254.     {
  255.         $this->listLayoutShowBasePrices $listLayoutShowBasePrices;
  256.         return $this;
  257.     }
  258.     public function isListLayoutShowDiscountPrices(): ?bool
  259.     {
  260.         return $this->listLayoutShowDiscountPrices;
  261.     }
  262.     public function setListLayoutShowDiscountPrices(bool $listLayoutShowDiscountPrices): BaseConfig
  263.     {
  264.         $this->listLayoutShowDiscountPrices $listLayoutShowDiscountPrices;
  265.         return $this;
  266.     }
  267.     public function getBuyButtonHeight(): ?string
  268.     {
  269.         return $this->buyButtonHeight;
  270.     }
  271.     public function setBuyButtonHeight(string $buyButtonHeight): BaseConfig
  272.     {
  273.         $this->buyButtonHeight $buyButtonHeight;
  274.         return $this;
  275.     }
  276.     public function getMediaOptionHeight(): ?string
  277.     {
  278.         return $this->mediaOptionHeight;
  279.     }
  280.     public function setMediaOptionHeight(string $mediaOptionHeight): BaseConfig
  281.     {
  282.         $this->mediaOptionHeight $mediaOptionHeight;
  283.         return $this;
  284.     }
  285.     public function getColorOptionHeight(): ?string
  286.     {
  287.         return $this->colorOptionHeight;
  288.     }
  289.     public function setColorOptionHeight(string $colorOptionHeight): BaseConfig
  290.     {
  291.         $this->colorOptionHeight $colorOptionHeight;
  292.         return $this;
  293.     }
  294.     public function isLoadAllEntities(): ?bool
  295.     {
  296.         return $this->loadAllEntities;
  297.     }
  298.     public function setLoadAllEntities(bool $loadAllEntities): BaseConfig
  299.     {
  300.         $this->loadAllEntities $loadAllEntities;
  301.         return $this;
  302.     }
  303.     public function isDisablePreselection(): ?bool
  304.     {
  305.         return $this->disablePreselection;
  306.     }
  307.     public function setDisablePreselection(bool $disablePreselection): BaseConfig
  308.     {
  309.         $this->disablePreselection $disablePreselection;
  310.         return $this;
  311.     }
  312.     public function isDisablePreselectionInSearch(): ?bool
  313.     {
  314.         return $this->disablePreselectionInSearch;
  315.     }
  316.     public function setDisablePreselectionInSearch(bool $disablePreselectionInSearch): BaseConfig
  317.     {
  318.         $this->disablePreselectionInSearch $disablePreselectionInSearch;
  319.         return $this;
  320.     }
  321.     public function isDisplayParentSupported(): bool
  322.     {
  323.         return $this->displayParentSupported;
  324.     }
  325.     public function setDisplayParentSupported(bool $displayParentSupported): BaseConfig
  326.     {
  327.         $this->displayParentSupported $displayParentSupported;
  328.         return $this;
  329.     }
  330.     public function isCacheEnabled(): bool
  331.     {
  332.         return $this->cacheEnabled;
  333.     }
  334.     public function setCacheEnabled(bool $cacheEnabled): BaseConfig
  335.     {
  336.         $this->cacheEnabled $cacheEnabled;
  337.         return $this;
  338.     }
  339. }