vendor/shopware/core/Checkout/Customer/Aggregate/CustomerGroup/CustomerGroupEntity.php line 14

Open in your IDE?
  1. <?php declare(strict_types=1);
  2. namespace Shopware\Core\Checkout\Customer\Aggregate\CustomerGroup;
  3. use Shopware\Core\Checkout\Customer\Aggregate\CustomerGroupTranslation\CustomerGroupTranslationCollection;
  4. use Shopware\Core\Checkout\Customer\CustomerCollection;
  5. use Shopware\Core\Framework\DataAbstractionLayer\Entity;
  6. use Shopware\Core\Framework\DataAbstractionLayer\EntityCustomFieldsTrait;
  7. use Shopware\Core\Framework\DataAbstractionLayer\EntityIdTrait;
  8. use Shopware\Core\Framework\Log\Package;
  9. use Shopware\Core\System\SalesChannel\SalesChannelCollection;
  10. #[Package('customer-order')]
  11. class CustomerGroupEntity extends Entity
  12. {
  13.     use EntityIdTrait;
  14.     use EntityCustomFieldsTrait;
  15.     /**
  16.      * @var string|null
  17.      */
  18.     protected $name;
  19.     /**
  20.      * @var bool
  21.      */
  22.     protected $displayGross;
  23.     /**
  24.      * @var CustomerGroupTranslationCollection|null
  25.      */
  26.     protected $translations;
  27.     /**
  28.      * @var CustomerCollection|null
  29.      */
  30.     protected $customers;
  31.     /**
  32.      * @var SalesChannelCollection|null
  33.      */
  34.     protected $salesChannels;
  35.     /**
  36.      * @var bool
  37.      */
  38.     protected $registrationActive;
  39.     /**
  40.      * @var string
  41.      */
  42.     protected $registrationTitle;
  43.     /**
  44.      * @var string
  45.      */
  46.     protected $registrationIntroduction;
  47.     /**
  48.      * @var bool
  49.      */
  50.     protected $registrationOnlyCompanyRegistration;
  51.     /**
  52.      * @var string
  53.      */
  54.     protected $registrationSeoMetaDescription;
  55.     /**
  56.      * @var SalesChannelCollection|null
  57.      */
  58.     protected $registrationSalesChannels;
  59.     public function getName(): ?string
  60.     {
  61.         return $this->name;
  62.     }
  63.     public function setName(?string $name): void
  64.     {
  65.         $this->name $name;
  66.     }
  67.     public function getDisplayGross(): bool
  68.     {
  69.         return $this->displayGross;
  70.     }
  71.     public function setDisplayGross(bool $displayGross): void
  72.     {
  73.         $this->displayGross $displayGross;
  74.     }
  75.     public function getTranslations(): ?CustomerGroupTranslationCollection
  76.     {
  77.         return $this->translations;
  78.     }
  79.     public function setTranslations(CustomerGroupTranslationCollection $translations): void
  80.     {
  81.         $this->translations $translations;
  82.     }
  83.     public function getCustomers(): ?CustomerCollection
  84.     {
  85.         return $this->customers;
  86.     }
  87.     public function setCustomers(CustomerCollection $customers): void
  88.     {
  89.         $this->customers $customers;
  90.     }
  91.     public function getSalesChannels(): ?SalesChannelCollection
  92.     {
  93.         return $this->salesChannels;
  94.     }
  95.     public function setSalesChannels(SalesChannelCollection $salesChannels): void
  96.     {
  97.         $this->salesChannels $salesChannels;
  98.     }
  99.     public function getRegistrationActive(): bool
  100.     {
  101.         return $this->registrationActive;
  102.     }
  103.     public function setRegistrationActive(bool $registrationActive): void
  104.     {
  105.         $this->registrationActive $registrationActive;
  106.     }
  107.     public function getRegistrationTitle(): string
  108.     {
  109.         return $this->registrationTitle;
  110.     }
  111.     public function setRegistrationTitle(string $registrationTitle): void
  112.     {
  113.         $this->registrationTitle $registrationTitle;
  114.     }
  115.     public function getRegistrationIntroduction(): string
  116.     {
  117.         return $this->registrationIntroduction;
  118.     }
  119.     public function setRegistrationIntroduction(string $registrationIntroduction): void
  120.     {
  121.         $this->registrationIntroduction $registrationIntroduction;
  122.     }
  123.     public function getRegistrationOnlyCompanyRegistration(): bool
  124.     {
  125.         return $this->registrationOnlyCompanyRegistration;
  126.     }
  127.     public function setRegistrationOnlyCompanyRegistration(bool $registrationOnlyCompanyRegistration): void
  128.     {
  129.         $this->registrationOnlyCompanyRegistration $registrationOnlyCompanyRegistration;
  130.     }
  131.     public function getRegistrationSeoMetaDescription(): string
  132.     {
  133.         return $this->registrationSeoMetaDescription;
  134.     }
  135.     public function setRegistrationSeoMetaDescription(string $registrationSeoMetaDescription): void
  136.     {
  137.         $this->registrationSeoMetaDescription $registrationSeoMetaDescription;
  138.     }
  139.     public function getRegistrationSalesChannels(): ?SalesChannelCollection
  140.     {
  141.         return $this->registrationSalesChannels;
  142.     }
  143.     public function setRegistrationSalesChannels(SalesChannelCollection $registrationSalesChannels): void
  144.     {
  145.         $this->registrationSalesChannels $registrationSalesChannels;
  146.     }
  147. }