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

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