vendor/shopware/core/System/SalesChannel/SalesChannelEntity.php line 41

Open in your IDE?
  1. <?php declare(strict_types=1);
  2. namespace Shopware\Core\System\SalesChannel;
  3. use Shopware\Core\Checkout\Customer\Aggregate\CustomerGroup\CustomerGroupEntity;
  4. use Shopware\Core\Checkout\Customer\CustomerCollection;
  5. use Shopware\Core\Checkout\Document\Aggregate\DocumentBaseConfig\DocumentBaseConfigDefinition;
  6. use Shopware\Core\Checkout\Order\OrderCollection;
  7. use Shopware\Core\Checkout\Payment\PaymentMethodCollection;
  8. use Shopware\Core\Checkout\Payment\PaymentMethodEntity;
  9. use Shopware\Core\Checkout\Promotion\Aggregate\PromotionSalesChannel\PromotionSalesChannelCollection;
  10. use Shopware\Core\Checkout\Shipping\ShippingMethodCollection;
  11. use Shopware\Core\Checkout\Shipping\ShippingMethodEntity;
  12. use Shopware\Core\Content\Category\CategoryEntity;
  13. use Shopware\Core\Content\GoogleShopping\GoogleShoppingAccountEntity;
  14. use Shopware\Core\Content\MailTemplate\Aggregate\MailHeaderFooter\MailHeaderFooterEntity;
  15. use Shopware\Core\Content\MailTemplate\Aggregate\MailTemplateSalesChannel\MailTemplateSalesChannelCollection;
  16. use Shopware\Core\Content\Newsletter\Aggregate\NewsletterRecipient\NewsletterRecipientCollection;
  17. use Shopware\Core\Content\Product\Aggregate\ProductReview\ProductReviewCollection;
  18. use Shopware\Core\Content\Product\Aggregate\ProductVisibility\ProductVisibilityCollection;
  19. use Shopware\Core\Content\ProductExport\ProductExportCollection;
  20. use Shopware\Core\Content\Seo\MainCategory\MainCategoryCollection;
  21. use Shopware\Core\Content\Seo\SeoUrl\SeoUrlCollection;
  22. use Shopware\Core\Content\Seo\SeoUrlTemplate\SeoUrlTemplateCollection;
  23. use Shopware\Core\Framework\DataAbstractionLayer\Entity;
  24. use Shopware\Core\Framework\DataAbstractionLayer\EntityIdTrait;
  25. use Shopware\Core\System\Country\CountryCollection;
  26. use Shopware\Core\System\Country\CountryEntity;
  27. use Shopware\Core\System\Currency\CurrencyCollection;
  28. use Shopware\Core\System\Currency\CurrencyEntity;
  29. use Shopware\Core\System\Language\LanguageCollection;
  30. use Shopware\Core\System\Language\LanguageEntity;
  31. use Shopware\Core\System\NumberRange\Aggregate\NumberRangeSalesChannel\NumberRangeSalesChannelCollection;
  32. use Shopware\Core\System\SalesChannel\Aggregate\SalesChannelAnalytics\SalesChannelAnalyticsEntity;
  33. use Shopware\Core\System\SalesChannel\Aggregate\SalesChannelDomain\SalesChannelDomainCollection;
  34. use Shopware\Core\System\SalesChannel\Aggregate\SalesChannelDomain\SalesChannelDomainEntity;
  35. use Shopware\Core\System\SalesChannel\Aggregate\SalesChannelTranslation\SalesChannelTranslationCollection;
  36. use Shopware\Core\System\SalesChannel\Aggregate\SalesChannelType\SalesChannelTypeEntity;
  37. use Shopware\Core\System\SystemConfig\SystemConfigCollection;
  38. class SalesChannelEntity extends Entity
  39. {
  40.     use EntityIdTrait;
  41.     /**
  42.      * @var string
  43.      */
  44.     protected $typeId;
  45.     /**
  46.      * @var string
  47.      */
  48.     protected $languageId;
  49.     /**
  50.      * @var string
  51.      */
  52.     protected $currencyId;
  53.     /**
  54.      * @var string
  55.      */
  56.     protected $paymentMethodId;
  57.     /**
  58.      * @var string
  59.      */
  60.     protected $shippingMethodId;
  61.     /**
  62.      * @var string
  63.      */
  64.     protected $countryId;
  65.     /**
  66.      * @var string
  67.      */
  68.     protected $navigationCategoryId;
  69.     /**
  70.      * @var int
  71.      */
  72.     protected $navigationCategoryDepth;
  73.     /**
  74.      * @var string|null
  75.      */
  76.     protected $footerCategoryId;
  77.     /**
  78.      * @var string|null
  79.      */
  80.     protected $serviceCategoryId;
  81.     /**
  82.      * @var string|null
  83.      */
  84.     protected $name;
  85.     /**
  86.      * @var string|null
  87.      */
  88.     protected $shortName;
  89.     /**
  90.      * @var string
  91.      */
  92.     protected $accessKey;
  93.     /**
  94.      * @var CurrencyCollection|null
  95.      */
  96.     protected $currencies;
  97.     /**
  98.      * @var LanguageCollection|null
  99.      */
  100.     protected $languages;
  101.     /**
  102.      * @var array|null
  103.      */
  104.     protected $configuration;
  105.     /**
  106.      * @var bool
  107.      */
  108.     protected $active;
  109.     /**
  110.      * @var bool
  111.      */
  112.     protected $maintenance;
  113.     /**
  114.      * @var string
  115.      */
  116.     protected $maintenanceIpWhitelist;
  117.     /**
  118.      * @var SalesChannelTypeEntity|null
  119.      */
  120.     protected $type;
  121.     /**
  122.      * @var CurrencyEntity|null
  123.      */
  124.     protected $currency;
  125.     /**
  126.      * @var LanguageEntity|null
  127.      */
  128.     protected $language;
  129.     /**
  130.      * @var PaymentMethodEntity|null
  131.      */
  132.     protected $paymentMethod;
  133.     /**
  134.      * @var ShippingMethodEntity|null
  135.      */
  136.     protected $shippingMethod;
  137.     /**
  138.      * @var CountryEntity|null
  139.      */
  140.     protected $country;
  141.     /**
  142.      * @var OrderCollection|null
  143.      */
  144.     protected $orders;
  145.     /**
  146.      * @var CustomerCollection|null
  147.      */
  148.     protected $customers;
  149.     /**
  150.      * @var CountryCollection|null
  151.      */
  152.     protected $countries;
  153.     /**
  154.      * @var PaymentMethodCollection|null
  155.      */
  156.     protected $paymentMethods;
  157.     /**
  158.      * @var ShippingMethodCollection|null
  159.      */
  160.     protected $shippingMethods;
  161.     /**
  162.      * @var SalesChannelTranslationCollection|null
  163.      */
  164.     protected $translations;
  165.     /**
  166.      * @var SalesChannelDomainCollection|null
  167.      */
  168.     protected $domains;
  169.     /**
  170.      * @var SystemConfigCollection|null
  171.      */
  172.     protected $systemConfigs;
  173.     /**
  174.      * @var array|null
  175.      */
  176.     protected $customFields;
  177.     /**
  178.      * @var CategoryEntity|null
  179.      */
  180.     protected $navigationCategory;
  181.     /**
  182.      * @var CategoryEntity|null
  183.      */
  184.     protected $footerCategory;
  185.     /**
  186.      * @var CategoryEntity|null
  187.      */
  188.     protected $serviceCategory;
  189.     /**
  190.      * @var ProductVisibilityCollection|null
  191.      */
  192.     protected $productVisibilities;
  193.     /**
  194.      * @var MailTemplateSalesChannelCollection|null
  195.      */
  196.     protected $mailTemplates;
  197.     /**
  198.      * @var string|null
  199.      */
  200.     protected $mailHeaderFooterId;
  201.     /**
  202.      * @var NumberRangeSalesChannelCollection|null
  203.      */
  204.     protected $numberRangeSalesChannels;
  205.     /**
  206.      * @var MailHeaderFooterEntity|null
  207.      */
  208.     protected $mailHeaderFooter;
  209.     /**
  210.      * @var string
  211.      */
  212.     protected $customerGroupId;
  213.     /**
  214.      * @var CustomerGroupEntity|null
  215.      */
  216.     protected $customerGroup;
  217.     /**
  218.      * @var NewsletterRecipientCollection|null
  219.      */
  220.     protected $newsletterRecipients;
  221.     /**
  222.      * @var PromotionSalesChannelCollection|null
  223.      */
  224.     protected $promotionSalesChannels;
  225.     /**
  226.      * @var DocumentBaseConfigDefinition|null
  227.      */
  228.     protected $documentBaseConfigSalesChannels;
  229.     /**
  230.      * @var ProductReviewCollection|null
  231.      */
  232.     protected $productReviews;
  233.     /**
  234.      * @var SeoUrlCollection|null
  235.      */
  236.     protected $seoUrls;
  237.     /**
  238.      * @var SeoUrlTemplateCollection|null
  239.      */
  240.     protected $seoUrlTemplates;
  241.     /**
  242.      * @var MainCategoryCollection|null
  243.      */
  244.     protected $mainCategories;
  245.     /**
  246.      * @var string[]|null
  247.      */
  248.     protected $paymentMethodIds;
  249.     /**
  250.      * @var ProductExportCollection|null
  251.      */
  252.     protected $productExports;
  253.     /**
  254.      * @var bool
  255.      */
  256.     protected $hreflangActive;
  257.     /**
  258.      * @var string|null
  259.      */
  260.     protected $hreflangDefaultDomainId;
  261.     /**
  262.      * @var SalesChannelDomainEntity|null
  263.      */
  264.     protected $hreflangDefaultDomain;
  265.     /**
  266.      * @var string
  267.      */
  268.     protected $analyticsId;
  269.     /**
  270.      * @var SalesChannelAnalyticsEntity
  271.      */
  272.     protected $analytics;
  273.     /**
  274.      * @var GoogleShoppingAccountEntity|null
  275.      */
  276.     protected $googleShoppingAccount;
  277.     public function getMailHeaderFooter(): ?MailHeaderFooterEntity
  278.     {
  279.         return $this->mailHeaderFooter;
  280.     }
  281.     public function setMailHeaderFooter(?MailHeaderFooterEntity $mailHeaderFooter): void
  282.     {
  283.         $this->mailHeaderFooter $mailHeaderFooter;
  284.     }
  285.     public function getMailHeaderFooterId(): ?string
  286.     {
  287.         return $this->mailHeaderFooterId;
  288.     }
  289.     public function setMailHeaderFooterId(string $mailHeaderFooterId): void
  290.     {
  291.         $this->mailHeaderFooterId $mailHeaderFooterId;
  292.     }
  293.     public function getLanguageId(): string
  294.     {
  295.         return $this->languageId;
  296.     }
  297.     public function setLanguageId(string $languageId): void
  298.     {
  299.         $this->languageId $languageId;
  300.     }
  301.     public function getCurrencyId(): string
  302.     {
  303.         return $this->currencyId;
  304.     }
  305.     public function setCurrencyId(string $currencyId): void
  306.     {
  307.         $this->currencyId $currencyId;
  308.     }
  309.     public function getPaymentMethodId(): string
  310.     {
  311.         return $this->paymentMethodId;
  312.     }
  313.     public function setPaymentMethodId(string $paymentMethodId): void
  314.     {
  315.         $this->paymentMethodId $paymentMethodId;
  316.     }
  317.     public function getShippingMethodId(): string
  318.     {
  319.         return $this->shippingMethodId;
  320.     }
  321.     public function setShippingMethodId(string $shippingMethodId): void
  322.     {
  323.         $this->shippingMethodId $shippingMethodId;
  324.     }
  325.     public function getCountryId(): string
  326.     {
  327.         return $this->countryId;
  328.     }
  329.     public function setCountryId(string $countryId): void
  330.     {
  331.         $this->countryId $countryId;
  332.     }
  333.     public function getName(): ?string
  334.     {
  335.         return $this->name;
  336.     }
  337.     public function setName(?string $name): void
  338.     {
  339.         $this->name $name;
  340.     }
  341.     public function getShortName(): ?string
  342.     {
  343.         return $this->shortName;
  344.     }
  345.     public function setShortName(?string $shortName): void
  346.     {
  347.         $this->shortName $shortName;
  348.     }
  349.     public function getAccessKey(): string
  350.     {
  351.         return $this->accessKey;
  352.     }
  353.     public function setAccessKey(string $accessKey): void
  354.     {
  355.         $this->accessKey $accessKey;
  356.     }
  357.     public function getCurrencies(): ?CurrencyCollection
  358.     {
  359.         return $this->currencies;
  360.     }
  361.     public function setCurrencies(CurrencyCollection $currencies): void
  362.     {
  363.         $this->currencies $currencies;
  364.     }
  365.     public function getLanguages(): ?LanguageCollection
  366.     {
  367.         return $this->languages;
  368.     }
  369.     public function setLanguages(LanguageCollection $languages): void
  370.     {
  371.         $this->languages $languages;
  372.     }
  373.     public function getConfiguration(): ?array
  374.     {
  375.         return $this->configuration;
  376.     }
  377.     public function setConfiguration(array $configuration): void
  378.     {
  379.         $this->configuration $configuration;
  380.     }
  381.     public function getActive(): bool
  382.     {
  383.         return $this->active;
  384.     }
  385.     public function setActive(bool $active): void
  386.     {
  387.         $this->active $active;
  388.     }
  389.     public function isMaintenance(): bool
  390.     {
  391.         return $this->maintenance;
  392.     }
  393.     public function setMaintenance(bool $maintenance): void
  394.     {
  395.         $this->maintenance $maintenance;
  396.     }
  397.     public function getMaintenanceIpWhitelist(): ?string
  398.     {
  399.         return $this->maintenanceIpWhitelist;
  400.     }
  401.     public function setMaintenanceIpWhitelist(?string $maintenanceIpWhitelist): void
  402.     {
  403.         $this->maintenanceIpWhitelist $maintenanceIpWhitelist;
  404.     }
  405.     public function getCurrency(): ?CurrencyEntity
  406.     {
  407.         return $this->currency;
  408.     }
  409.     public function setCurrency(CurrencyEntity $currency): void
  410.     {
  411.         $this->currency $currency;
  412.     }
  413.     public function getLanguage(): ?LanguageEntity
  414.     {
  415.         return $this->language;
  416.     }
  417.     public function setLanguage(LanguageEntity $language): void
  418.     {
  419.         $this->language $language;
  420.     }
  421.     public function getPaymentMethod(): ?PaymentMethodEntity
  422.     {
  423.         return $this->paymentMethod;
  424.     }
  425.     public function setPaymentMethod(PaymentMethodEntity $paymentMethod): void
  426.     {
  427.         $this->paymentMethod $paymentMethod;
  428.     }
  429.     public function getShippingMethod(): ?ShippingMethodEntity
  430.     {
  431.         return $this->shippingMethod;
  432.     }
  433.     public function setShippingMethod(ShippingMethodEntity $shippingMethod): void
  434.     {
  435.         $this->shippingMethod $shippingMethod;
  436.     }
  437.     public function getCountry(): ?CountryEntity
  438.     {
  439.         return $this->country;
  440.     }
  441.     public function setCountry(CountryEntity $country): void
  442.     {
  443.         $this->country $country;
  444.     }
  445.     public function getOrders(): ?OrderCollection
  446.     {
  447.         return $this->orders;
  448.     }
  449.     public function setOrders(OrderCollection $orders): void
  450.     {
  451.         $this->orders $orders;
  452.     }
  453.     public function getCustomers(): ?CustomerCollection
  454.     {
  455.         return $this->customers;
  456.     }
  457.     public function setCustomers(CustomerCollection $customers): void
  458.     {
  459.         $this->customers $customers;
  460.     }
  461.     public function getTypeId(): string
  462.     {
  463.         return $this->typeId;
  464.     }
  465.     public function setTypeId(string $typeId): void
  466.     {
  467.         $this->typeId $typeId;
  468.     }
  469.     public function getType(): ?SalesChannelTypeEntity
  470.     {
  471.         return $this->type;
  472.     }
  473.     public function setType(SalesChannelTypeEntity $type): void
  474.     {
  475.         $this->type $type;
  476.     }
  477.     public function getCountries(): ?CountryCollection
  478.     {
  479.         return $this->countries;
  480.     }
  481.     public function setCountries(CountryCollection $countries): void
  482.     {
  483.         $this->countries $countries;
  484.     }
  485.     public function getTranslations(): ?SalesChannelTranslationCollection
  486.     {
  487.         return $this->translations;
  488.     }
  489.     public function setTranslations(SalesChannelTranslationCollection $translations): void
  490.     {
  491.         $this->translations $translations;
  492.     }
  493.     public function getPaymentMethods(): ?PaymentMethodCollection
  494.     {
  495.         return $this->paymentMethods;
  496.     }
  497.     public function setPaymentMethods(PaymentMethodCollection $paymentMethods): void
  498.     {
  499.         $this->paymentMethods $paymentMethods;
  500.     }
  501.     public function getShippingMethods(): ?ShippingMethodCollection
  502.     {
  503.         return $this->shippingMethods;
  504.     }
  505.     public function setShippingMethods(ShippingMethodCollection $shippingMethods): void
  506.     {
  507.         $this->shippingMethods $shippingMethods;
  508.     }
  509.     public function getDomains(): ?SalesChannelDomainCollection
  510.     {
  511.         return $this->domains;
  512.     }
  513.     public function setDomains(SalesChannelDomainCollection $domains): void
  514.     {
  515.         $this->domains $domains;
  516.     }
  517.     public function getSystemConfigs(): ?SystemConfigCollection
  518.     {
  519.         return $this->systemConfigs;
  520.     }
  521.     public function setSystemConfigs(SystemConfigCollection $systemConfigs): void
  522.     {
  523.         $this->systemConfigs $systemConfigs;
  524.     }
  525.     public function getCustomFields(): ?array
  526.     {
  527.         return $this->customFields;
  528.     }
  529.     public function setCustomFields(?array $customFields): void
  530.     {
  531.         $this->customFields $customFields;
  532.     }
  533.     public function getNavigationCategoryId(): string
  534.     {
  535.         return $this->navigationCategoryId;
  536.     }
  537.     public function setNavigationCategoryId(string $navigationCategoryId): void
  538.     {
  539.         $this->navigationCategoryId $navigationCategoryId;
  540.     }
  541.     public function getNavigationCategory(): ?CategoryEntity
  542.     {
  543.         return $this->navigationCategory;
  544.     }
  545.     public function setNavigationCategory(CategoryEntity $navigationCategory): void
  546.     {
  547.         $this->navigationCategory $navigationCategory;
  548.     }
  549.     public function getProductVisibilities(): ?ProductVisibilityCollection
  550.     {
  551.         return $this->productVisibilities;
  552.     }
  553.     public function setProductVisibilities(ProductVisibilityCollection $productVisibilities): void
  554.     {
  555.         $this->productVisibilities $productVisibilities;
  556.     }
  557.     public function getMailTemplates(): ?MailTemplateSalesChannelCollection
  558.     {
  559.         return $this->mailTemplates;
  560.     }
  561.     public function setMailTemplates(MailTemplateSalesChannelCollection $mailTemplates): void
  562.     {
  563.         $this->mailTemplates $mailTemplates;
  564.     }
  565.     public function getCustomerGroupId(): string
  566.     {
  567.         return $this->customerGroupId;
  568.     }
  569.     public function setCustomerGroupId(string $customerGroupId): void
  570.     {
  571.         $this->customerGroupId $customerGroupId;
  572.     }
  573.     public function getCustomerGroup(): ?CustomerGroupEntity
  574.     {
  575.         return $this->customerGroup;
  576.     }
  577.     public function setCustomerGroup(CustomerGroupEntity $customerGroup): void
  578.     {
  579.         $this->customerGroup $customerGroup;
  580.     }
  581.     public function getNewsletterRecipients(): ?NewsletterRecipientCollection
  582.     {
  583.         return $this->newsletterRecipients;
  584.     }
  585.     public function setNewsletterRecipients(NewsletterRecipientCollection $newsletterRecipients): void
  586.     {
  587.         $this->newsletterRecipients $newsletterRecipients;
  588.     }
  589.     public function getPromotionSalesChannels(): ?PromotionSalesChannelCollection
  590.     {
  591.         return $this->promotionSalesChannels;
  592.     }
  593.     public function setPromotionSalesChannels(PromotionSalesChannelCollection $promotionSalesChannels): void
  594.     {
  595.         $this->promotionSalesChannels $promotionSalesChannels;
  596.     }
  597.     public function getNumberRangeSalesChannels(): ?NumberRangeSalesChannelCollection
  598.     {
  599.         return $this->numberRangeSalesChannels;
  600.     }
  601.     public function setNumberRangeSalesChannels(NumberRangeSalesChannelCollection $numberRangeSalesChannels): void
  602.     {
  603.         $this->numberRangeSalesChannels $numberRangeSalesChannels;
  604.     }
  605.     public function getFooterCategoryId(): ?string
  606.     {
  607.         return $this->footerCategoryId;
  608.     }
  609.     public function setFooterCategoryId(string $footerCategoryId): void
  610.     {
  611.         $this->footerCategoryId $footerCategoryId;
  612.     }
  613.     public function getServiceCategoryId(): ?string
  614.     {
  615.         return $this->serviceCategoryId;
  616.     }
  617.     public function setServiceCategoryId(string $serviceCategoryId): void
  618.     {
  619.         $this->serviceCategoryId $serviceCategoryId;
  620.     }
  621.     public function getFooterCategory(): ?CategoryEntity
  622.     {
  623.         return $this->footerCategory;
  624.     }
  625.     public function setFooterCategory(CategoryEntity $footerCategory): void
  626.     {
  627.         $this->footerCategory $footerCategory;
  628.     }
  629.     public function getServiceCategory(): ?CategoryEntity
  630.     {
  631.         return $this->serviceCategory;
  632.     }
  633.     public function setServiceCategory(CategoryEntity $serviceCategory): void
  634.     {
  635.         $this->serviceCategory $serviceCategory;
  636.     }
  637.     public function getDocumentBaseConfigSalesChannels(): ?DocumentBaseConfigDefinition
  638.     {
  639.         return $this->documentBaseConfigSalesChannels;
  640.     }
  641.     public function setDocumentBaseConfigSalesChannels(DocumentBaseConfigDefinition $documentBaseConfigSalesChannels): void
  642.     {
  643.         $this->documentBaseConfigSalesChannels $documentBaseConfigSalesChannels;
  644.     }
  645.     public function getProductReviews(): ?ProductReviewCollection
  646.     {
  647.         return $this->productReviews;
  648.     }
  649.     public function setProductReviews(ProductReviewCollection $productReviews): void
  650.     {
  651.         $this->productReviews $productReviews;
  652.     }
  653.     public function getSeoUrls(): ?SeoUrlCollection
  654.     {
  655.         return $this->seoUrls;
  656.     }
  657.     public function setSeoUrls(SeoUrlCollection $seoUrls): void
  658.     {
  659.         $this->seoUrls $seoUrls;
  660.     }
  661.     public function getSeoUrlTemplates(): ?SeoUrlTemplateCollection
  662.     {
  663.         return $this->seoUrlTemplates;
  664.     }
  665.     public function setSeoUrlTemplates(SeoUrlTemplateCollection $seoUrlTemplates): void
  666.     {
  667.         $this->seoUrlTemplates $seoUrlTemplates;
  668.     }
  669.     public function getMainCategories(): ?MainCategoryCollection
  670.     {
  671.         return $this->mainCategories;
  672.     }
  673.     public function setMainCategories(MainCategoryCollection $mainCategories): void
  674.     {
  675.         $this->mainCategories $mainCategories;
  676.     }
  677.     /**
  678.      * @return string[]|null
  679.      */
  680.     public function getPaymentMethodIds(): ?array
  681.     {
  682.         return $this->paymentMethodIds;
  683.     }
  684.     /**
  685.      * @param string[] $paymentMethodIds
  686.      */
  687.     public function setPaymentMethodIds(array $paymentMethodIds): void
  688.     {
  689.         $this->paymentMethodIds $paymentMethodIds;
  690.     }
  691.     public function getProductExports(): ?ProductExportCollection
  692.     {
  693.         return $this->productExports;
  694.     }
  695.     public function setProductExports(ProductExportCollection $productExports): void
  696.     {
  697.         $this->productExports $productExports;
  698.     }
  699.     public function getNavigationCategoryDepth(): int
  700.     {
  701.         return $this->navigationCategoryDepth;
  702.     }
  703.     public function setNavigationCategoryDepth(int $navigationCategoryDepth): void
  704.     {
  705.         $this->navigationCategoryDepth $navigationCategoryDepth;
  706.     }
  707.     public function isHreflangActive(): bool
  708.     {
  709.         return $this->hreflangActive;
  710.     }
  711.     public function setHreflangActive(bool $hreflangActive): void
  712.     {
  713.         $this->hreflangActive $hreflangActive;
  714.     }
  715.     public function getHreflangDefaultDomainId(): ?string
  716.     {
  717.         return $this->hreflangDefaultDomainId;
  718.     }
  719.     public function setHreflangDefaultDomainId(?string $hreflangDefaultDomainId): void
  720.     {
  721.         $this->hreflangDefaultDomainId $hreflangDefaultDomainId;
  722.     }
  723.     public function getHreflangDefaultDomain(): ?SalesChannelDomainEntity
  724.     {
  725.         return $this->hreflangDefaultDomain;
  726.     }
  727.     public function setHreflangDefaultDomain(?SalesChannelDomainEntity $hreflangDefaultDomain): void
  728.     {
  729.         $this->hreflangDefaultDomain $hreflangDefaultDomain;
  730.     }
  731.     public function getAnalyticsId(): ?string
  732.     {
  733.         return $this->analyticsId;
  734.     }
  735.     public function setAnalyticsId(?string $analyticsId): void
  736.     {
  737.         $this->analyticsId $analyticsId;
  738.     }
  739.     public function getAnalytics(): ?SalesChannelAnalyticsEntity
  740.     {
  741.         return $this->analytics;
  742.     }
  743.     public function setAnalytics(?SalesChannelAnalyticsEntity $analytics): void
  744.     {
  745.         $this->analytics $analytics;
  746.     }
  747.     public function getGoogleShoppingAccount(): ?GoogleShoppingAccountEntity
  748.     {
  749.         return $this->googleShoppingAccount;
  750.     }
  751.     public function setGoogleShoppingAccount(?GoogleShoppingAccountEntity $googleShoppingAccount): void
  752.     {
  753.         $this->googleShoppingAccount $googleShoppingAccount;
  754.     }
  755.     public function getApiAlias(): string
  756.     {
  757.         return 'sales_channel';
  758.     }
  759. }