vendor/shopware/platform/src/Core/Checkout/Customer/Aggregate/CustomerGroup/CustomerGroupEntity.php line 11

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\EntityIdTrait;
  7. use Shopware\Core\System\SalesChannel\SalesChannelCollection;
  8. class CustomerGroupEntity extends Entity
  9. {
  10.     use EntityIdTrait;
  11.     /**
  12.      * @var string|null
  13.      */
  14.     protected $name;
  15.     /**
  16.      * @var bool
  17.      */
  18.     protected $displayGross;
  19.     /**
  20.      * @var CustomerGroupTranslationCollection|null
  21.      */
  22.     protected $translations;
  23.     /**
  24.      * @var CustomerCollection|null
  25.      */
  26.     protected $customers;
  27.     /**
  28.      * @var array|null
  29.      */
  30.     protected $customFields;
  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 getCustomFields(): ?array
  92.     {
  93.         return $this->customFields;
  94.     }
  95.     public function setCustomFields(?array $attributes): void
  96.     {
  97.         $this->customFields $attributes;
  98.     }
  99.     public function getSalesChannels(): ?SalesChannelCollection
  100.     {
  101.         return $this->salesChannels;
  102.     }
  103.     public function setSalesChannels(SalesChannelCollection $salesChannels): void
  104.     {
  105.         $this->salesChannels $salesChannels;
  106.     }
  107.     public function getRegistrationActive(): bool
  108.     {
  109.         return $this->registrationActive;
  110.     }
  111.     public function setRegistrationActive(bool $registrationActive): void
  112.     {
  113.         $this->registrationActive $registrationActive;
  114.     }
  115.     public function getRegistrationTitle(): string
  116.     {
  117.         return $this->registrationTitle;
  118.     }
  119.     public function setRegistrationTitle(string $registrationTitle): void
  120.     {
  121.         $this->registrationTitle $registrationTitle;
  122.     }
  123.     public function getRegistrationIntroduction(): string
  124.     {
  125.         return $this->registrationIntroduction;
  126.     }
  127.     public function setRegistrationIntroduction(string $registrationIntroduction): void
  128.     {
  129.         $this->registrationIntroduction $registrationIntroduction;
  130.     }
  131.     public function getRegistrationOnlyCompanyRegistration(): bool
  132.     {
  133.         return $this->registrationOnlyCompanyRegistration;
  134.     }
  135.     public function setRegistrationOnlyCompanyRegistration(bool $registrationOnlyCompanyRegistration): void
  136.     {
  137.         $this->registrationOnlyCompanyRegistration $registrationOnlyCompanyRegistration;
  138.     }
  139.     public function getRegistrationSeoMetaDescription(): string
  140.     {
  141.         return $this->registrationSeoMetaDescription;
  142.     }
  143.     public function setRegistrationSeoMetaDescription(string $registrationSeoMetaDescription): void
  144.     {
  145.         $this->registrationSeoMetaDescription $registrationSeoMetaDescription;
  146.     }
  147.     public function getRegistrationSalesChannels(): ?SalesChannelCollection
  148.     {
  149.         return $this->registrationSalesChannels;
  150.     }
  151.     public function setRegistrationSalesChannels(SalesChannelCollection $registrationSalesChannels): void
  152.     {
  153.         $this->registrationSalesChannels $registrationSalesChannels;
  154.     }
  155. }