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 $preferHighStockPreselection;
  33.     /* @var bool */
  34.     protected $showDeliveryInfo;
  35.     /* @var bool */
  36.     protected $showGroupNames;
  37.     /* @var bool */
  38.     protected $switchImageOnHover;
  39.     /* @var bool */
  40.     protected $quickBuyActive;
  41.     /** @var bool */
  42.     protected $quickBuyDetailLink;
  43.     /* @var bool */
  44.     protected $showQuantitySelection;
  45.     /* @var bool */
  46.     protected $showAdditionalDetailLink;
  47.     /* @var bool */
  48.     protected $showDeliveryInfoPopup;
  49.     /** @var bool */
  50.     protected $activateForMainProducts;
  51.     /* @var bool */
  52.     protected $showColorCircles;
  53.     /** @var bool */
  54.     protected $listLayoutShowBasePrices;
  55.     /** @var bool */
  56.     protected $listLayoutShowDiscountPrices;
  57.     /* @var string */
  58.     protected $buyButtonHeight;
  59.     /* @var string */
  60.     protected $mediaOptionHeight;
  61.     /* @var string */
  62.     protected $colorOptionHeight;
  63.     /** @var bool */
  64.     protected $alignCenter;
  65.     /** @var bool */
  66.     protected $loadAllEntities;
  67.     /** @var bool */
  68.     protected $disablePreselection;
  69.     /** @var bool */
  70.     protected $disablePreselectionInSearch;
  71.     /** @var bool */
  72.     protected $displayParentSupported false;
  73.     /** @var bool */
  74.     protected $cacheEnabled false;
  75.     /** @var bool */
  76.     protected $useFlexProductBox;
  77.     /* @var bool */
  78.     protected $switchImageOnMobile;
  79.     public function isPluginEnabled(): ?bool
  80.     {
  81.         return $this->pluginEnabled;
  82.     }
  83.     public function setPluginEnabled(bool $pluginEnabled): BaseConfig
  84.     {
  85.         $this->pluginEnabled $pluginEnabled;
  86.         return $this;
  87.     }
  88.     public function getDisplayMode(): ?string
  89.     {
  90.         return $this->displayMode;
  91.     }
  92.     public function setDisplayMode(string $displayMode): BaseConfig
  93.     {
  94.         $this->displayMode $displayMode;
  95.         return $this;
  96.     }
  97.     public function getRestrictedProperties(): ?array
  98.     {
  99.         return $this->restrictedProperties;
  100.     }
  101.     public function setRestrictedProperties(array $restrictedProperties): BaseConfig
  102.     {
  103.         $this->restrictedProperties $restrictedProperties;
  104.         return $this;
  105.     }
  106.     public function getPosition(): ?string
  107.     {
  108.         return $this->position;
  109.     }
  110.     public function setPosition(string $position): BaseConfig
  111.     {
  112.         $this->position $position;
  113.         return $this;
  114.     }
  115.     public function isShowInSearchListing(): ?bool
  116.     {
  117.         return $this->showInSearchListing;
  118.     }
  119.     public function setShowInSearchListing(bool $showInSearchListing): BaseConfig
  120.     {
  121.         $this->showInSearchListing $showInSearchListing;
  122.         return $this;
  123.     }
  124.     public function isShowInCrossSelling(): ?bool
  125.     {
  126.         return $this->showInCrossSelling;
  127.     }
  128.     public function setShowInCrossSelling(bool $showInCrossSelling): BaseConfig
  129.     {
  130.         $this->showInCrossSelling $showInCrossSelling;
  131.         return $this;
  132.     }
  133.     public function getMaxEntries(): ?int
  134.     {
  135.         return $this->maxEntries;
  136.     }
  137.     public function setMaxEntries(int $maxEntries): BaseConfig
  138.     {
  139.         $this->maxEntries $maxEntries;
  140.         return $this;
  141.     }
  142.     public function isHideSoldOutCloseoutProducts(): ?bool
  143.     {
  144.         return $this->hideSoldOutCloseoutProducts;
  145.     }
  146.     public function setHideSoldOutCloseoutProducts(bool $hideSoldOutCloseoutProducts): BaseConfig
  147.     {
  148.         $this->hideSoldOutCloseoutProducts $hideSoldOutCloseoutProducts;
  149.         return $this;
  150.     }
  151.     public function isMarkSoldOutCloseoutProducts(): ?bool
  152.     {
  153.         return $this->markSoldOutCloseoutProducts;
  154.     }
  155.     public function setMarkSoldOutCloseoutProducts(bool $markSoldOutCloseoutProducts): BaseConfig
  156.     {
  157.         $this->markSoldOutCloseoutProducts $markSoldOutCloseoutProducts;
  158.         return $this;
  159.     }
  160.     public function isAvoidOutOfStockPreselection(): ?bool
  161.     {
  162.         return $this->avoidOutOfStockPreselection;
  163.     }
  164.     public function setAvoidOutOfStockPreselection(bool $avoidOutOfStockPreselection): BaseConfig
  165.     {
  166.         $this->avoidOutOfStockPreselection $avoidOutOfStockPreselection;
  167.         return $this;
  168.     }
  169.     public function isPreferHighStockPreselection(): ?bool
  170.     {
  171.         return $this->preferHighStockPreselection;
  172.     }
  173.     public function setPreferHighStockPreselection(bool $preferHighStockPreselection): BaseConfig
  174.     {
  175.         $this->preferHighStockPreselection $preferHighStockPreselection;
  176.         return $this;
  177.     }
  178.     public function isPreselectFirstVariantByDefault(): ?bool
  179.     {
  180.         return $this->preselectFirstVariantByDefault;
  181.     }
  182.     public function setPreselectFirstVariantByDefault(bool $preselectFirstVariantByDefault): BaseConfig
  183.     {
  184.         $this->preselectFirstVariantByDefault $preselectFirstVariantByDefault;
  185.         return $this;
  186.     }
  187.     public function isShowDeliveryInfo(): ?bool
  188.     {
  189.         return $this->showDeliveryInfo;
  190.     }
  191.     public function setShowDeliveryInfo(bool $showDeliveryInfo): BaseConfig
  192.     {
  193.         $this->showDeliveryInfo $showDeliveryInfo;
  194.         return $this;
  195.     }
  196.     public function isShowGroupNames(): ?bool
  197.     {
  198.         return $this->showGroupNames;
  199.     }
  200.     public function setShowGroupNames(bool $showGroupNames): BaseConfig
  201.     {
  202.         $this->showGroupNames $showGroupNames;
  203.         return $this;
  204.     }
  205.     public function isSwitchImageOnHover(): ?bool
  206.     {
  207.         return $this->switchImageOnHover;
  208.     }
  209.     public function setSwitchImageOnHover(bool $switchImageOnHover): BaseConfig
  210.     {
  211.         $this->switchImageOnHover $switchImageOnHover;
  212.         return $this;
  213.     }
  214.     public function isQuickBuyActive(): ?bool
  215.     {
  216.         return $this->quickBuyActive;
  217.     }
  218.     public function setQuickBuyActive(bool $quickBuyActive): BaseConfig
  219.     {
  220.         $this->quickBuyActive $quickBuyActive;
  221.         return $this;
  222.     }
  223.     public function isQuickBuyDetailLink(): ?bool
  224.     {
  225.         return $this->quickBuyDetailLink;
  226.     }
  227.     public function setQuickBuyDetailLink(bool $quickBuyDetailLink): BaseConfig
  228.     {
  229.         $this->quickBuyDetailLink $quickBuyDetailLink;
  230.         return $this;
  231.     }
  232.     public function isShowQuantitySelection(): ?bool
  233.     {
  234.         return $this->showQuantitySelection;
  235.     }
  236.     public function setShowQuantitySelection(bool $showQuantitySelection): BaseConfig
  237.     {
  238.         $this->showQuantitySelection $showQuantitySelection;
  239.         return $this;
  240.     }
  241.     public function isShowAdditionalDetailLink(): ?bool
  242.     {
  243.         return $this->showAdditionalDetailLink;
  244.     }
  245.     public function setShowAdditionalDetailLink(bool $showAdditionalDetailLink): BaseConfig
  246.     {
  247.         $this->showAdditionalDetailLink $showAdditionalDetailLink;
  248.         return $this;
  249.     }
  250.     public function isShowDeliveryInfoPopup(): ?bool
  251.     {
  252.         return $this->showDeliveryInfoPopup;
  253.     }
  254.     public function setShowDeliveryInfoPopup(bool $showDeliveryInfoPopup): BaseConfig
  255.     {
  256.         $this->showDeliveryInfoPopup $showDeliveryInfoPopup;
  257.         return $this;
  258.     }
  259.     public function isActivateForMainProducts(): ?bool
  260.     {
  261.         return $this->activateForMainProducts;
  262.     }
  263.     public function setActivateForMainProducts(bool $activateForMainProducts): BaseConfig
  264.     {
  265.         $this->activateForMainProducts $activateForMainProducts;
  266.         return $this;
  267.     }
  268.     public function isShowColorCircles(): ?bool
  269.     {
  270.         return $this->showColorCircles;
  271.     }
  272.     public function setShowColorCircles(bool $showColorCircles): BaseConfig
  273.     {
  274.         $this->showColorCircles $showColorCircles;
  275.         return $this;
  276.     }
  277.     public function isListLayoutShowBasePrices(): ?bool
  278.     {
  279.         return $this->listLayoutShowBasePrices;
  280.     }
  281.     public function setListLayoutShowBasePrices(bool $listLayoutShowBasePrices): BaseConfig
  282.     {
  283.         $this->listLayoutShowBasePrices $listLayoutShowBasePrices;
  284.         return $this;
  285.     }
  286.     public function isListLayoutShowDiscountPrices(): ?bool
  287.     {
  288.         return $this->listLayoutShowDiscountPrices;
  289.     }
  290.     public function setListLayoutShowDiscountPrices(bool $listLayoutShowDiscountPrices): BaseConfig
  291.     {
  292.         $this->listLayoutShowDiscountPrices $listLayoutShowDiscountPrices;
  293.         return $this;
  294.     }
  295.     public function getBuyButtonHeight(): ?string
  296.     {
  297.         return $this->buyButtonHeight;
  298.     }
  299.     public function setBuyButtonHeight(string $buyButtonHeight): BaseConfig
  300.     {
  301.         $this->buyButtonHeight $buyButtonHeight;
  302.         return $this;
  303.     }
  304.     public function getMediaOptionHeight(): ?string
  305.     {
  306.         return $this->mediaOptionHeight;
  307.     }
  308.     public function setMediaOptionHeight(string $mediaOptionHeight): BaseConfig
  309.     {
  310.         $this->mediaOptionHeight $mediaOptionHeight;
  311.         return $this;
  312.     }
  313.     public function getColorOptionHeight(): ?string
  314.     {
  315.         return $this->colorOptionHeight;
  316.     }
  317.     public function setColorOptionHeight(string $colorOptionHeight): BaseConfig
  318.     {
  319.         $this->colorOptionHeight $colorOptionHeight;
  320.         return $this;
  321.     }
  322.     public function isAlignCenter(): ?bool
  323.     {
  324.         return $this->alignCenter;
  325.     }
  326.     public function setAlignCenter(bool $alignCenter): BaseConfig
  327.     {
  328.         $this->alignCenter $alignCenter;
  329.         return $this;
  330.     }
  331.     public function isLoadAllEntities(): ?bool
  332.     {
  333.         return $this->loadAllEntities;
  334.     }
  335.     public function setLoadAllEntities(bool $loadAllEntities): BaseConfig
  336.     {
  337.         $this->loadAllEntities $loadAllEntities;
  338.         return $this;
  339.     }
  340.     public function isDisablePreselection(): ?bool
  341.     {
  342.         return $this->disablePreselection;
  343.     }
  344.     public function setDisablePreselection(bool $disablePreselection): BaseConfig
  345.     {
  346.         $this->disablePreselection $disablePreselection;
  347.         return $this;
  348.     }
  349.     public function isDisablePreselectionInSearch(): ?bool
  350.     {
  351.         return $this->disablePreselectionInSearch;
  352.     }
  353.     public function setDisablePreselectionInSearch(bool $disablePreselectionInSearch): BaseConfig
  354.     {
  355.         $this->disablePreselectionInSearch $disablePreselectionInSearch;
  356.         return $this;
  357.     }
  358.     public function isDisplayParentSupported(): bool
  359.     {
  360.         return $this->displayParentSupported;
  361.     }
  362.     public function setDisplayParentSupported(bool $displayParentSupported): BaseConfig
  363.     {
  364.         $this->displayParentSupported $displayParentSupported;
  365.         return $this;
  366.     }
  367.     public function isCacheEnabled(): bool
  368.     {
  369.         return $this->cacheEnabled;
  370.     }
  371.     public function setCacheEnabled(bool $cacheEnabled): BaseConfig
  372.     {
  373.         $this->cacheEnabled $cacheEnabled;
  374.         return $this;
  375.     }
  376.     public function isUseFlexProductBox(): ?bool
  377.     {
  378.         return $this->useFlexProductBox;
  379.     }
  380.     public function setUseFlexProductBox(bool $useFlexProductBox): BaseConfig
  381.     {
  382.         $this->useFlexProductBox $useFlexProductBox;
  383.         return $this;
  384.     }
  385.     public function isSwitchImageOnMobile(): ?bool
  386.     {
  387.         return $this->switchImageOnMobile;
  388.     }
  389.     public function setSwitchImageOnMobile(bool $switchImageOnMobile): BaseConfig
  390.     {
  391.         $this->switchImageOnMobile $switchImageOnMobile;
  392.         return $this;
  393.     }
  394. }