<?php declare(strict_types=1);
namespace Shopware\Core\Checkout\Customer\Aggregate\CustomerGroup;
use Shopware\Core\Checkout\Customer\Aggregate\CustomerGroupTranslation\CustomerGroupTranslationCollection;
use Shopware\Core\Checkout\Customer\CustomerCollection;
use Shopware\Core\Framework\DataAbstractionLayer\Entity;
use Shopware\Core\Framework\DataAbstractionLayer\EntityCustomFieldsTrait;
use Shopware\Core\Framework\DataAbstractionLayer\EntityIdTrait;
use Shopware\Core\System\SalesChannel\SalesChannelCollection;
class CustomerGroupEntity extends Entity
{
use EntityIdTrait;
use EntityCustomFieldsTrait;
/**
* @var string|null
*/
protected $name;
/**
* @var bool
*/
protected $displayGross;
/**
* @var CustomerGroupTranslationCollection|null
*/
protected $translations;
/**
* @var CustomerCollection|null
*/
protected $customers;
/**
* @var SalesChannelCollection|null
*/
protected $salesChannels;
/**
* @var bool
*/
protected $registrationActive;
/**
* @var string
*/
protected $registrationTitle;
/**
* @var string
*/
protected $registrationIntroduction;
/**
* @var bool
*/
protected $registrationOnlyCompanyRegistration;
/**
* @var string
*/
protected $registrationSeoMetaDescription;
/**
* @var SalesChannelCollection|null
*/
protected $registrationSalesChannels;
public function getName(): ?string
{
return $this->name;
}
public function setName(?string $name): void
{
$this->name = $name;
}
public function getDisplayGross(): bool
{
return $this->displayGross;
}
public function setDisplayGross(bool $displayGross): void
{
$this->displayGross = $displayGross;
}
public function getTranslations(): ?CustomerGroupTranslationCollection
{
return $this->translations;
}
public function setTranslations(CustomerGroupTranslationCollection $translations): void
{
$this->translations = $translations;
}
public function getCustomers(): ?CustomerCollection
{
return $this->customers;
}
public function setCustomers(CustomerCollection $customers): void
{
$this->customers = $customers;
}
public function getSalesChannels(): ?SalesChannelCollection
{
return $this->salesChannels;
}
public function setSalesChannels(SalesChannelCollection $salesChannels): void
{
$this->salesChannels = $salesChannels;
}
public function getRegistrationActive(): bool
{
return $this->registrationActive;
}
public function setRegistrationActive(bool $registrationActive): void
{
$this->registrationActive = $registrationActive;
}
public function getRegistrationTitle(): string
{
return $this->registrationTitle;
}
public function setRegistrationTitle(string $registrationTitle): void
{
$this->registrationTitle = $registrationTitle;
}
public function getRegistrationIntroduction(): string
{
return $this->registrationIntroduction;
}
public function setRegistrationIntroduction(string $registrationIntroduction): void
{
$this->registrationIntroduction = $registrationIntroduction;
}
public function getRegistrationOnlyCompanyRegistration(): bool
{
return $this->registrationOnlyCompanyRegistration;
}
public function setRegistrationOnlyCompanyRegistration(bool $registrationOnlyCompanyRegistration): void
{
$this->registrationOnlyCompanyRegistration = $registrationOnlyCompanyRegistration;
}
public function getRegistrationSeoMetaDescription(): string
{
return $this->registrationSeoMetaDescription;
}
public function setRegistrationSeoMetaDescription(string $registrationSeoMetaDescription): void
{
$this->registrationSeoMetaDescription = $registrationSeoMetaDescription;
}
public function getRegistrationSalesChannels(): ?SalesChannelCollection
{
return $this->registrationSalesChannels;
}
public function setRegistrationSalesChannels(SalesChannelCollection $registrationSalesChannels): void
{
$this->registrationSalesChannels = $registrationSalesChannels;
}
}