<?php
declare(strict_types=1);
namespace Maxia\MaxiaListingVariants6\Config;
use Maxia\MaxiaListingVariants6\Config\Traits\CustomFieldConfigStruct;
use Shopware\Core\Framework\Struct\Struct;
class BaseConfig extends Struct
{
use CustomFieldConfigStruct;
/* @var bool */
protected $pluginEnabled;
/* @var string */
protected $displayMode;
/* @var string[] */
protected $restrictedProperties;
/** @var string */
protected $position;
/* @var bool */
protected $showInSearchListing;
/* @var bool */
protected $showInCrossSelling;
/** @var int */
protected $maxEntries;
/** @var bool */
protected $hideSoldOutCloseoutProducts;
/** @var bool */
protected $markSoldOutCloseoutProducts;
/** @var bool */
protected $avoidOutOfStockPreselection;
/** @var bool */
protected $preselectFirstVariantByDefault;
/* @var bool */
protected $showDeliveryInfo;
/* @var bool */
protected $showGroupNames;
/* @var bool */
protected $switchImageOnHover;
/* @var bool */
protected $quickBuyActive;
/* @var bool */
protected $showQuantitySelection;
/* @var bool */
protected $showAdditionalDetailLink;
/* @var bool */
protected $showDeliveryInfoPopup;
/** @var bool */
protected $activateForMainProducts;
/* @var bool */
protected $showColorCircles;
/** @var bool */
protected $listLayoutShowBasePrices;
/** @var bool */
protected $listLayoutShowDiscountPrices;
/* @var string */
protected $buyButtonHeight;
/* @var string */
protected $mediaOptionHeight;
/* @var string */
protected $colorOptionHeight;
/** @var bool */
protected $loadAllEntities;
/** @var bool */
protected $disablePreselection;
/** @var bool */
protected $disablePreselectionInSearch;
/** @var bool */
protected $displayParentSupported = false;
/** @var bool */
protected $cacheEnabled = false;
public function isPluginEnabled(): ?bool
{
return $this->pluginEnabled;
}
public function setPluginEnabled(bool $pluginEnabled): BaseConfig
{
$this->pluginEnabled = $pluginEnabled;
return $this;
}
public function getDisplayMode(): ?string
{
return $this->displayMode;
}
public function setDisplayMode(string $displayMode): BaseConfig
{
$this->displayMode = $displayMode;
return $this;
}
public function getRestrictedProperties(): ?array
{
return $this->restrictedProperties;
}
public function setRestrictedProperties(array $restrictedProperties): BaseConfig
{
$this->restrictedProperties = $restrictedProperties;
return $this;
}
public function getPosition(): ?string
{
return $this->position;
}
public function setPosition(string $position): BaseConfig
{
$this->position = $position;
return $this;
}
public function isShowInSearchListing(): ?bool
{
return $this->showInSearchListing;
}
public function setShowInSearchListing(bool $showInSearchListing): BaseConfig
{
$this->showInSearchListing = $showInSearchListing;
return $this;
}
public function isShowInCrossSelling(): ?bool
{
return $this->showInCrossSelling;
}
public function setShowInCrossSelling(bool $showInCrossSelling): BaseConfig
{
$this->showInCrossSelling = $showInCrossSelling;
return $this;
}
public function getMaxEntries(): ?int
{
return $this->maxEntries;
}
public function setMaxEntries(int $maxEntries): BaseConfig
{
$this->maxEntries = $maxEntries;
return $this;
}
public function isHideSoldOutCloseoutProducts(): ?bool
{
return $this->hideSoldOutCloseoutProducts;
}
public function setHideSoldOutCloseoutProducts(bool $hideSoldOutCloseoutProducts): BaseConfig
{
$this->hideSoldOutCloseoutProducts = $hideSoldOutCloseoutProducts;
return $this;
}
public function isMarkSoldOutCloseoutProducts(): ?bool
{
return $this->markSoldOutCloseoutProducts;
}
public function setMarkSoldOutCloseoutProducts(bool $markSoldOutCloseoutProducts): BaseConfig
{
$this->markSoldOutCloseoutProducts = $markSoldOutCloseoutProducts;
return $this;
}
public function isAvoidOutOfStockPreselection(): ?bool
{
return $this->avoidOutOfStockPreselection;
}
public function setAvoidOutOfStockPreselection(bool $avoidOutOfStockPreselection): BaseConfig
{
$this->avoidOutOfStockPreselection = $avoidOutOfStockPreselection;
return $this;
}
public function isPreselectFirstVariantByDefault(): ?bool
{
return $this->preselectFirstVariantByDefault;
}
public function setPreselectFirstVariantByDefault(bool $preselectFirstVariantByDefault): BaseConfig
{
$this->preselectFirstVariantByDefault = $preselectFirstVariantByDefault;
return $this;
}
public function isShowDeliveryInfo(): ?bool
{
return $this->showDeliveryInfo;
}
public function setShowDeliveryInfo(bool $showDeliveryInfo): BaseConfig
{
$this->showDeliveryInfo = $showDeliveryInfo;
return $this;
}
public function isShowGroupNames(): ?bool
{
return $this->showGroupNames;
}
public function setShowGroupNames(bool $showGroupNames): BaseConfig
{
$this->showGroupNames = $showGroupNames;
return $this;
}
public function isSwitchImageOnHover(): ?bool
{
return $this->switchImageOnHover;
}
public function setSwitchImageOnHover(bool $switchImageOnHover): BaseConfig
{
$this->switchImageOnHover = $switchImageOnHover;
return $this;
}
public function isQuickBuyActive(): ?bool
{
return $this->quickBuyActive;
}
public function setQuickBuyActive(bool $quickBuyActive): BaseConfig
{
$this->quickBuyActive = $quickBuyActive;
return $this;
}
public function isShowQuantitySelection(): ?bool
{
return $this->showQuantitySelection;
}
public function setShowQuantitySelection(bool $showQuantitySelection): BaseConfig
{
$this->showQuantitySelection = $showQuantitySelection;
return $this;
}
public function isShowAdditionalDetailLink(): ?bool
{
return $this->showAdditionalDetailLink;
}
public function setShowAdditionalDetailLink(bool $showAdditionalDetailLink): BaseConfig
{
$this->showAdditionalDetailLink = $showAdditionalDetailLink;
return $this;
}
public function isShowDeliveryInfoPopup(): ?bool
{
return $this->showDeliveryInfoPopup;
}
public function setShowDeliveryInfoPopup(bool $showDeliveryInfoPopup): BaseConfig
{
$this->showDeliveryInfoPopup = $showDeliveryInfoPopup;
return $this;
}
public function isActivateForMainProducts(): ?bool
{
return $this->activateForMainProducts;
}
public function setActivateForMainProducts(bool $activateForMainProducts): BaseConfig
{
$this->activateForMainProducts = $activateForMainProducts;
return $this;
}
public function isShowColorCircles(): ?bool
{
return $this->showColorCircles;
}
public function setShowColorCircles(bool $showColorCircles): BaseConfig
{
$this->showColorCircles = $showColorCircles;
return $this;
}
public function isListLayoutShowBasePrices(): ?bool
{
return $this->listLayoutShowBasePrices;
}
public function setListLayoutShowBasePrices(bool $listLayoutShowBasePrices): BaseConfig
{
$this->listLayoutShowBasePrices = $listLayoutShowBasePrices;
return $this;
}
public function isListLayoutShowDiscountPrices(): ?bool
{
return $this->listLayoutShowDiscountPrices;
}
public function setListLayoutShowDiscountPrices(bool $listLayoutShowDiscountPrices): BaseConfig
{
$this->listLayoutShowDiscountPrices = $listLayoutShowDiscountPrices;
return $this;
}
public function getBuyButtonHeight(): ?string
{
return $this->buyButtonHeight;
}
public function setBuyButtonHeight(string $buyButtonHeight): BaseConfig
{
$this->buyButtonHeight = $buyButtonHeight;
return $this;
}
public function getMediaOptionHeight(): ?string
{
return $this->mediaOptionHeight;
}
public function setMediaOptionHeight(string $mediaOptionHeight): BaseConfig
{
$this->mediaOptionHeight = $mediaOptionHeight;
return $this;
}
public function getColorOptionHeight(): ?string
{
return $this->colorOptionHeight;
}
public function setColorOptionHeight(string $colorOptionHeight): BaseConfig
{
$this->colorOptionHeight = $colorOptionHeight;
return $this;
}
public function isLoadAllEntities(): ?bool
{
return $this->loadAllEntities;
}
public function setLoadAllEntities(bool $loadAllEntities): BaseConfig
{
$this->loadAllEntities = $loadAllEntities;
return $this;
}
public function isDisablePreselection(): ?bool
{
return $this->disablePreselection;
}
public function setDisablePreselection(bool $disablePreselection): BaseConfig
{
$this->disablePreselection = $disablePreselection;
return $this;
}
public function isDisablePreselectionInSearch(): ?bool
{
return $this->disablePreselectionInSearch;
}
public function setDisablePreselectionInSearch(bool $disablePreselectionInSearch): BaseConfig
{
$this->disablePreselectionInSearch = $disablePreselectionInSearch;
return $this;
}
public function isDisplayParentSupported(): bool
{
return $this->displayParentSupported;
}
public function setDisplayParentSupported(bool $displayParentSupported): BaseConfig
{
$this->displayParentSupported = $displayParentSupported;
return $this;
}
public function isCacheEnabled(): bool
{
return $this->cacheEnabled;
}
public function setCacheEnabled(bool $cacheEnabled): BaseConfig
{
$this->cacheEnabled = $cacheEnabled;
return $this;
}
}