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.     public function isPluginEnabled(): ?bool
  68.     {
  69.         return $this->pluginEnabled;
  70.     }
  71.     public function setPluginEnabled(bool $pluginEnabled): BaseConfig
  72.     {
  73.         $this->pluginEnabled $pluginEnabled;
  74.         return $this;
  75.     }
  76.     public function getDisplayMode(): ?string
  77.     {
  78.         return $this->displayMode;
  79.     }
  80.     public function setDisplayMode(string $displayMode): BaseConfig
  81.     {
  82.         $this->displayMode $displayMode;
  83.         return $this;
  84.     }
  85.     public function getRestrictedProperties(): ?array
  86.     {
  87.         return $this->restrictedProperties;
  88.     }
  89.     public function setRestrictedProperties(array $restrictedProperties): BaseConfig
  90.     {
  91.         $this->restrictedProperties $restrictedProperties;
  92.         return $this;
  93.     }
  94.     public function getPosition(): ?string
  95.     {
  96.         return $this->position;
  97.     }
  98.     public function setPosition(string $position): BaseConfig
  99.     {
  100.         $this->position $position;
  101.         return $this;
  102.     }
  103.     public function isShowInSearchListing(): ?bool
  104.     {
  105.         return $this->showInSearchListing;
  106.     }
  107.     public function setShowInSearchListing(bool $showInSearchListing): BaseConfig
  108.     {
  109.         $this->showInSearchListing $showInSearchListing;
  110.         return $this;
  111.     }
  112.     public function isShowInCrossSelling(): ?bool
  113.     {
  114.         return $this->showInCrossSelling;
  115.     }
  116.     public function setShowInCrossSelling(bool $showInCrossSelling): BaseConfig
  117.     {
  118.         $this->showInCrossSelling $showInCrossSelling;
  119.         return $this;
  120.     }
  121.     public function getMaxEntries(): ?int
  122.     {
  123.         return $this->maxEntries;
  124.     }
  125.     public function setMaxEntries(int $maxEntries): BaseConfig
  126.     {
  127.         $this->maxEntries $maxEntries;
  128.         return $this;
  129.     }
  130.     public function isHideSoldOutCloseoutProducts(): ?bool
  131.     {
  132.         return $this->hideSoldOutCloseoutProducts;
  133.     }
  134.     public function setHideSoldOutCloseoutProducts(bool $hideSoldOutCloseoutProducts): BaseConfig
  135.     {
  136.         $this->hideSoldOutCloseoutProducts $hideSoldOutCloseoutProducts;
  137.         return $this;
  138.     }
  139.     public function isMarkSoldOutCloseoutProducts(): ?bool
  140.     {
  141.         return $this->markSoldOutCloseoutProducts;
  142.     }
  143.     public function setMarkSoldOutCloseoutProducts(bool $markSoldOutCloseoutProducts): BaseConfig
  144.     {
  145.         $this->markSoldOutCloseoutProducts $markSoldOutCloseoutProducts;
  146.         return $this;
  147.     }
  148.     public function isAvoidOutOfStockPreselection(): ?bool
  149.     {
  150.         return $this->avoidOutOfStockPreselection;
  151.     }
  152.     public function setAvoidOutOfStockPreselection(bool $avoidOutOfStockPreselection): BaseConfig
  153.     {
  154.         $this->avoidOutOfStockPreselection $avoidOutOfStockPreselection;
  155.         return $this;
  156.     }
  157.     public function isPreselectFirstVariantByDefault(): ?bool
  158.     {
  159.         return $this->preselectFirstVariantByDefault;
  160.     }
  161.     public function setPreselectFirstVariantByDefault(bool $preselectFirstVariantByDefault): BaseConfig
  162.     {
  163.         $this->preselectFirstVariantByDefault $preselectFirstVariantByDefault;
  164.         return $this;
  165.     }
  166.     public function isShowDeliveryInfo(): ?bool
  167.     {
  168.         return $this->showDeliveryInfo;
  169.     }
  170.     public function setShowDeliveryInfo(bool $showDeliveryInfo): BaseConfig
  171.     {
  172.         $this->showDeliveryInfo $showDeliveryInfo;
  173.         return $this;
  174.     }
  175.     public function isShowGroupNames(): ?bool
  176.     {
  177.         return $this->showGroupNames;
  178.     }
  179.     public function setShowGroupNames(bool $showGroupNames): BaseConfig
  180.     {
  181.         $this->showGroupNames $showGroupNames;
  182.         return $this;
  183.     }
  184.     public function isSwitchImageOnHover(): ?bool
  185.     {
  186.         return $this->switchImageOnHover;
  187.     }
  188.     public function setSwitchImageOnHover(bool $switchImageOnHover): BaseConfig
  189.     {
  190.         $this->switchImageOnHover $switchImageOnHover;
  191.         return $this;
  192.     }
  193.     public function isQuickBuyActive(): ?bool
  194.     {
  195.         return $this->quickBuyActive;
  196.     }
  197.     public function setQuickBuyActive(bool $quickBuyActive): BaseConfig
  198.     {
  199.         $this->quickBuyActive $quickBuyActive;
  200.         return $this;
  201.     }
  202.     public function isShowQuantitySelection(): ?bool
  203.     {
  204.         return $this->showQuantitySelection;
  205.     }
  206.     public function setShowQuantitySelection(bool $showQuantitySelection): BaseConfig
  207.     {
  208.         $this->showQuantitySelection $showQuantitySelection;
  209.         return $this;
  210.     }
  211.     public function isShowAdditionalDetailLink(): ?bool
  212.     {
  213.         return $this->showAdditionalDetailLink;
  214.     }
  215.     public function setShowAdditionalDetailLink(bool $showAdditionalDetailLink): BaseConfig
  216.     {
  217.         $this->showAdditionalDetailLink $showAdditionalDetailLink;
  218.         return $this;
  219.     }
  220.     public function isShowDeliveryInfoPopup(): ?bool
  221.     {
  222.         return $this->showDeliveryInfoPopup;
  223.     }
  224.     public function setShowDeliveryInfoPopup(bool $showDeliveryInfoPopup): BaseConfig
  225.     {
  226.         $this->showDeliveryInfoPopup $showDeliveryInfoPopup;
  227.         return $this;
  228.     }
  229.     public function isActivateForMainProducts(): ?bool
  230.     {
  231.         return $this->activateForMainProducts;
  232.     }
  233.     public function setActivateForMainProducts(bool $activateForMainProducts): BaseConfig
  234.     {
  235.         $this->activateForMainProducts $activateForMainProducts;
  236.         return $this;
  237.     }
  238.     public function isShowColorCircles(): ?bool
  239.     {
  240.         return $this->showColorCircles;
  241.     }
  242.     public function setShowColorCircles(bool $showColorCircles): BaseConfig
  243.     {
  244.         $this->showColorCircles $showColorCircles;
  245.         return $this;
  246.     }
  247.     public function isListLayoutShowBasePrices(): ?bool
  248.     {
  249.         return $this->listLayoutShowBasePrices;
  250.     }
  251.     public function setListLayoutShowBasePrices(bool $listLayoutShowBasePrices): BaseConfig
  252.     {
  253.         $this->listLayoutShowBasePrices $listLayoutShowBasePrices;
  254.         return $this;
  255.     }
  256.     public function isListLayoutShowDiscountPrices(): ?bool
  257.     {
  258.         return $this->listLayoutShowDiscountPrices;
  259.     }
  260.     public function setListLayoutShowDiscountPrices(bool $listLayoutShowDiscountPrices): BaseConfig
  261.     {
  262.         $this->listLayoutShowDiscountPrices $listLayoutShowDiscountPrices;
  263.         return $this;
  264.     }
  265.     public function getBuyButtonHeight(): ?string
  266.     {
  267.         return $this->buyButtonHeight;
  268.     }
  269.     public function setBuyButtonHeight(string $buyButtonHeight): BaseConfig
  270.     {
  271.         $this->buyButtonHeight $buyButtonHeight;
  272.         return $this;
  273.     }
  274.     public function getMediaOptionHeight(): ?string
  275.     {
  276.         return $this->mediaOptionHeight;
  277.     }
  278.     public function setMediaOptionHeight(string $mediaOptionHeight): BaseConfig
  279.     {
  280.         $this->mediaOptionHeight $mediaOptionHeight;
  281.         return $this;
  282.     }
  283.     public function getColorOptionHeight(): ?string
  284.     {
  285.         return $this->colorOptionHeight;
  286.     }
  287.     public function setColorOptionHeight(string $colorOptionHeight): BaseConfig
  288.     {
  289.         $this->colorOptionHeight $colorOptionHeight;
  290.         return $this;
  291.     }
  292.     public function isLoadAllEntities(): ?bool
  293.     {
  294.         return $this->loadAllEntities;
  295.     }
  296.     public function setLoadAllEntities(bool $loadAllEntities): BaseConfig
  297.     {
  298.         $this->loadAllEntities $loadAllEntities;
  299.         return $this;
  300.     }
  301.     public function isDisablePreselection(): ?bool
  302.     {
  303.         return $this->disablePreselection;
  304.     }
  305.     public function setDisablePreselection(bool $disablePreselection): BaseConfig
  306.     {
  307.         $this->disablePreselection $disablePreselection;
  308.         return $this;
  309.     }
  310.     public function isDisablePreselectionInSearch(): ?bool
  311.     {
  312.         return $this->disablePreselectionInSearch;
  313.     }
  314.     public function setDisablePreselectionInSearch(bool $disablePreselectionInSearch): BaseConfig
  315.     {
  316.         $this->disablePreselectionInSearch $disablePreselectionInSearch;
  317.         return $this;
  318.     }
  319.     public function isDisplayParentSupported(): bool
  320.     {
  321.         return $this->displayParentSupported;
  322.     }
  323.     public function setDisplayParentSupported(bool $displayParentSupported): BaseConfig
  324.     {
  325.         $this->displayParentSupported $displayParentSupported;
  326.         return $this;
  327.     }
  328. }