<?php
namespace App\Entity;
use ApiPlatform\Core\Annotation\ApiResource;
use App\Repository\AccountingFirmRepository;
use DateTime;
use DateTimeInterface;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\ORM\Mapping as ORM;
use LogicException;
use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity;
use Symfony\Component\HttpFoundation\File\File;
use Symfony\Component\HttpFoundation\File\UploadedFile;
use Symfony\Component\Serializer\Annotation\Groups;
use Vich\UploaderBundle\Mapping\Annotation as Vich;
/**
* Cabinet
*
*
* @ApiResource(
* normalizationContext={"groups"={"user:read"}},
* denormalizationContext={"groups"={"user:write"}},
* collectionOperations={
* "get"={}
* },
* itemOperations={
* "get"={}
* }
* )
*
* @Vich\Uploadable
*/
#[ORM\Table(name: 'cabinet')]
#[ORM\Entity(repositoryClass: AccountingFirmRepository::class)]
#[UniqueEntity(fields: ['host'], message: 'Ce site existe deja !', errorPath: 'host')]
class AccountingFirm
{
const ACCEPTED_VERSION = [
'Non abonné', "v1", "v2"
];
/**
* @var int
*
*/
#[ORM\Column(name: 'id', type: 'bigint', nullable: false)]
#[ORM\Id]
#[ORM\GeneratedValue(strategy: 'IDENTITY')]
#[Groups(['user:read', 'user:write'])]
private $id;
/**
* @var string
*
*/
#[ORM\Column(name: 'nom', type: 'string', nullable: true)]
private $name;
/**
* @var string
*
*/
#[ORM\Column(name: 'mail', type: 'string', nullable: true)]
private $email;
/**
* @var string
*
*/
#[ORM\Column(name: 'url', type: 'string', nullable: true)]
private $url;
/**
* @var string
*
*/
#[ORM\Column(name: 'adresse', type: 'string', nullable: true)]
private $address;
/**
* @var string
*
*/
#[ORM\Column(name: 'cp', type: 'string', nullable: true)]
private $zipCode;
/**
* @var string
*
*/
#[ORM\Column(name: 'ville', type: 'string', nullable: true)]
private $city;
/**
* @var string
*
*/
#[ORM\Column(name: 'telephone', type: 'string', nullable: true)]
private $phone = null;
/**
* @var bool
*/
#[ORM\Column(name: 'domain_activate', type: 'boolean', options: ['default' => false])]
private $domainActivate = false;
/**
* @var bool
*
*/
#[ORM\Column(name: 'bAbonnementCalendrier', type: 'boolean', options: ['default' => true])]
private $babonnementcalendrier = true;
/**
* @var string
*
*/
#[ORM\Column(name: 'newsletterCouleur', type: 'string', nullable: true, options: ['comment' => 'Couleur au format héxadécimal'])]
private $newslettercouleur = null;
/**
* @var DateTime|null
*
*/
#[ORM\Column(name: 'dateCreation', type: 'date', nullable: true)]
private $createdAt = null;
/**
* @var string
*
*/
#[ORM\Column(name: 'version', type: 'string', length: 255, nullable: false, options: ['default' => 'Non abonné'])]
private $version = 'Non abonné';
/**
* @var string
*
*/
#[ORM\Column(name: 'actuv2_token', type: 'string', length: 40, nullable: true)]
private $actuv2Token = null;
/**
* @var string
*
*/
#[ORM\Column(name: 'actuv2_referer', type: 'string', nullable: true, options: ['comment' => 'Format : www.site.tld'])]
private $actuv2Referer = null;
/**
* @var string
*
*/
#[ORM\Column(name: 'actuv2_widgetUrl', type: 'string', length: 255, nullable: true, options: ['comment' => 'Format : https://www.site.tld/nom-page-widget.php'])]
private $actuv2Widgeturl = null;
/**
* @var string
*
*/
#[ORM\Column(name: 'actuv2_colorPrimary', type: 'string', length: 50, nullable: true)]
private $actuv2Colorprimary = null;
/**
* @var string
*
*/
#[ORM\Column(name: 'actuv2_colorSecondary', type: 'string', length: 50, nullable: true)]
private $actuv2Colorsecondary = null;
/**
* @var string
*
*/
#[ORM\Column(name: 'actuv2_urlContact', type: 'string', length: 255, nullable: true)]
private $actuv2UrlContact = null;
#[ORM\OneToMany(targetEntity: User::class, mappedBy: 'accountingFirm', cascade: ['persist'], orphanRemoval: true)]
private $users;
#[ORM\OneToMany(targetEntity: Emailing::class, mappedBy: 'accountingFirm', cascade: ['persist'], orphanRemoval: true)]
private $emailings;
#[ORM\OneToMany(targetEntity: EmailingCollab::class, mappedBy: 'accountingFirm', cascade: ['persist'], orphanRemoval: true)]
private $emailingscollab;
#[ORM\OneToMany(targetEntity: Actualitecabinet::class, mappedBy: 'accountingFirm', cascade: ['persist'], orphanRemoval: true)]
private $actualitecabinets;
#[ORM\OneToMany(targetEntity: Announcement::class, mappedBy: 'accountingFirm', orphanRemoval: true)]
private $announcements;
#[ORM\OneToMany(targetEntity: UsefulLink::class, mappedBy: 'accountingFirm', orphanRemoval: true)]
private $usefulLinks;
#[ORM\OneToOne(targetEntity: PrimaryNews::class, mappedBy: 'accountingFirm', cascade: ['persist', 'remove'])]
private $primaryNews;
#[ORM\OneToMany(targetEntity: Ebook::class, mappedBy: 'accountingFirm', orphanRemoval: true)]
private $ebooks;
#[ORM\OneToMany(targetEntity: WebsiteNews::class, mappedBy: 'accountingFirm', orphanRemoval: true)]
#[ORM\OrderBy(['dateadd' => 'DESC'])]
private $websiteNews;
#[ORM\OneToOne(targetEntity: Parameters::class, mappedBy: 'accountingFirm', cascade: ['persist', 'remove'])]
private $parameters;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $host;
#[ORM\Column(type: 'datetime', nullable: true)]
private $websiteCreatedAt;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $idsellsy;
#[ORM\OneToMany(targetEntity: Partner::class, mappedBy: 'accountingFirm')]
private $partner;
#[ORM\OneToMany(targetEntity: Actualiters::class, mappedBy: 'accountingFirm', orphanRemoval: true)]
private $actualiters;
#[ORM\OneToMany(targetEntity: Contact::class, mappedBy: 'accountingFirm')]
private $contacts;
#[ORM\OneToMany(targetEntity: ContactProfession::class, mappedBy: 'accountingFirm')]
private $contactsProfession;
#[ORM\OneToMany(targetEntity: ContactCustom::class, mappedBy: 'accountingFirm')]
private $contactsCustom;
#[ORM\OneToMany(targetEntity: DemandeCompany::class, mappedBy: 'accounting_firm', orphanRemoval: true)]
private $demandeCompanies;
#[ORM\OneToMany(targetEntity: DemandeNewsletter::class, mappedBy: 'accountingFirm', orphanRemoval: true)]
private $demandeNewsletters;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $simulateurToken;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $simulateurWidgetUrl;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $rgpdToken;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $rgpdWidgetUrl;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $ceToken;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $ceWidgetUrl;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $tousEnLigneToken;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $tousEnLigneWidgetUrl;
#[ORM\Column(length: 255, nullable: true)]
private ?string $rgpd_sender = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $rgpd_sender_name = null;
#[ORM\Column]
private ?bool $rgpd_expert_externe_use = false;
#[ORM\Column(length: 255, nullable: true)]
private ?string $ce_sender = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $ce_sender_name = null;
#[ORM\Column]
private ?bool $ce_expert_externe_use = false;
#[ORM\Column(length: 255, nullable: true)]
private ?string $cir_sender = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $cir_sender_name = null;
#[ORM\Column]
private ?bool $cir_expert_externe_use = false;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $cirToken;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $cirWidgetUrl;
#[ORM\OneToMany(targetEntity: AuthorizedDomain::class, mappedBy: 'accountingFirm', orphanRemoval: true, cascade: ['persist', 'remove'])]
private $authorizedDomains;
#[ORM\OneToOne(targetEntity: IdentiteVisuelle::class, mappedBy: 'accountingFirm', cascade: ['persist', 'remove'])]
private $identiteVisuelle = null;
#[ORM\OneToMany(mappedBy: 'accountingFirm', targetEntity: MailingTask::class)]
private $mailingTasks;
#[ORM\ManyToOne(inversedBy: 'accountingFirms')]
private ?MailjetApi $mailing_api = null;
#[ORM\Column]
private ?bool $mailing_module = false;
#[ORM\Column(length: 255, nullable: true)]
private ?string $mailing_sender = null;
#[ORM\Column(name: 'mailing_header', nullable: true, type: 'string', length: 255, options: ['comment' => 'Header newsletter'])]
private $mailingHeader = "";
#[ORM\OneToMany(targetEntity: VCards::class, mappedBy: 'accountingFirm')]
private $vcards;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $logoCabinet;
#[ORM\Column(type: 'boolean')]
private $vcardAccess = false;
/**
* @Vich\UploadableField(mapping="accountingfirm", fileNameProperty="mailingHeader")
* @var File|null
*/
private $tmpMailingHeader = null;
#[ORM\Column(type: 'datetime', nullable: true)]
private $lastUpdate;
#[ORM\OneToMany(mappedBy: 'AccountingFirm', targetEntity: RgpdContact::class, cascade: ['persist', 'remove'])]
private $rgpdContacts;
#[ORM\ManyToOne(targetEntity: RgpdExpert::class, inversedBy: 'accountingFirms')]
private $RgpdExpert;
#[ORM\ManyToOne(targetEntity: CeExpert::class, inversedBy: 'accountingFirms')]
private $CeExpert;
#[ORM\OneToMany(mappedBy: 'accountingFirm', targetEntity: ContactParticipationPlaceExpert::class, orphanRemoval: true)]
private $contactParticipationPlaceExperts;
#[ORM\Column(type: 'boolean')]
private $darkTheme;
#[ORM\OneToMany(mappedBy: 'accountingFirm', targetEntity: ContactEtreRappele::class)]
private $contactEtreRappeles;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $appelleTonEcToken;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $appelleTonEcWidgetUrl;
#[ORM\Column(type: 'boolean')]
private $gmbEnable;
#[ORM\ManyToMany(targetEntity: VideoAppelleTonEc::class, mappedBy: 'accountingFirms', cascade: ['persist'])]
private $videoAppelleTonEcs;
#[ORM\OneToMany(mappedBy: 'accountingFirm', targetEntity: CeContact::class)]
private $ceContacts;
#[ORM\ManyToOne(targetEntity: CirExpert::class, inversedBy: 'accountingFirm')]
private $cirExpert;
#[ORM\OneToMany(mappedBy: 'accountingFirm', targetEntity: CirContact::class)]
private $cirContacts;
#[ORM\OneToMany(mappedBy: 'cabinet', targetEntity: TousEnLigneContact::class)]
private $tousEnLigneContacts;
#[ORM\ManyToMany(targetEntity: ModuleType::class, inversedBy: 'accountingFirms')]
#[ORM\JoinTable(name: "accounting_firm_module_type")]
private $moduleTypes;
#[ORM\OneToMany(mappedBy: 'accountingFirm', targetEntity: ModuleTypeValue::class)]
private $moduleTypeValues;
#[ORM\Column(type: 'boolean', nullable: true)]
private $actuv2NotEc;
#[ORM\Column(type: 'boolean', nullable: true)]
private $actuv2OnlyPodcast;
#[ORM\Column(type: 'text', nullable: true)]
private $gmbUrl;
#[ORM\Column(type: 'text', nullable: true)]
private $gmbName;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $calendlyUrl;
#[ORM\Column(type: 'boolean', nullable: false, options: ['default' => false])]
private $surveyClientRequested = false;
#[ORM\Column(type: 'boolean', nullable: false, options: ['default' => false])]
private $surveyClientActivate = false;
#[ORM\OneToMany(mappedBy: 'Cabinet', targetEntity: RepportingTrimestrielle::class)]
private $repportingTrimestrielles;
#[ORM\OneToMany(mappedBy: 'Cabinet', targetEntity: StatEcoutePodcast::class)]
private $statEcoutePodcast;
// NOTE: This is not a mapped field of entity metadata, just a simple property.
/**
* @Vich\UploadableField(mapping="podcast_intro_file", fileNameProperty="podcastIntroFilename")
* @var File|null
*/
private ?File $podcastIntroFile = null;
#[ORM\Column(nullable: true)]
private ?string $podcastIntroFilename = null;
#[ORM\Column(type: 'boolean', nullable: true)]
private $enablePodcastPrivate;
#[ORM\Column(type: 'boolean', nullable: true)]
private $podcastPrivateStudent;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $podcastPrivateToken;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $podcastPrivateWidgetUrl;
#[ORM\OneToMany(mappedBy: 'accountingFirm', targetEntity: PodcastPrivateAccountingFirm::class)]
private $podcastPrivateAccountingFirms;
#[ORM\Column(type: 'boolean', nullable: true)]
private $subscriberPodcastPrivate;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $logoPalPath;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $googleAnalyticsId;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $emailNlActuTest;
#[ORM\OneToMany(mappedBy: 'accountingFirm', targetEntity: PodcastPrivateTask::class)]
private $podcastPrivateTasks;
#[ORM\OneToMany(mappedBy: 'accountingFirm', targetEntity: ModuleVideo::class)]
private $moduleVideos;
#[ORM\OneToMany(mappedBy: 'accountingFirm', targetEntity: AffiliateClient::class)]
private $affiliateClients;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $helpersFirmsToken;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $helpersFirmsWidgetUrl;
#[ORM\Column(type: 'boolean', nullable: true)]
private $emailingClientActivate;
#[ORM\Column(type: 'integer', nullable: true)]
private $emailingClientTokenMax;
#[ORM\OneToMany(mappedBy: 'accountingFirm', targetEntity: EmailingClientList::class)]
private $emailingClientLists;
#[ORM\OneToMany(mappedBy: 'accountingFirm', targetEntity: EmailingClientCampaign::class)]
private $emailingClientCampaigns;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $emailingClientSender;
#[ORM\ManyToOne(targetEntity: MailjetApi::class, inversedBy: 'accountingFirmsEmailingClient')]
private $emailingClientApi = null;
#[ORM\OneToMany(mappedBy: 'accountingFirm', targetEntity: EmailingClientDesabonnement::class)]
private $emailingClientDesabonnements;
#[ORM\Column(type: 'boolean', nullable: true, options: ['default' => false])]
private $smsClientActivate;
#[ORM\Column(type: 'integer', nullable: true, options: ['default' => 50])]
private $smsClientCreditMax;
#[ORM\OneToMany(mappedBy: 'accountingFirm', targetEntity: SmsClientList::class)]
private $smsClientLists;
#[ORM\OneToMany(mappedBy: 'accountingFirm', targetEntity: SmsClientCampaign::class)]
private $smsClientCampaigns;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $smsClientSender;
#[ORM\Column(type: 'string', length: 11, nullable: true)]
private ?string $smsClientSenderLabel = null;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $anniversaireClientSender;
#[ORM\Column(type: 'boolean', nullable: true, options: ['default' => false])]
private $anniversaireClientActivate;
#[ORM\OneToMany(mappedBy: 'accountingFirm', targetEntity: PipelineMailjet::class)]
private $pipelineMailjets;
#[ORM\OneToMany(mappedBy: 'accountingFirm', targetEntity: PipelineIdentiteVisuelle::class)]
private $pipelineIdentiteVisuelles;
#[ORM\OneToMany(mappedBy: 'accountingFirm', targetEntity: PipelineGmb::class)]
private $pipelineGmbs;
#[ORM\OneToMany(mappedBy: 'cabinet', targetEntity: ContactCreationSociete::class)]
private $contactCreationSocietes;
#[ORM\OneToMany(mappedBy: 'accountingFirm', targetEntity: ContactInvestissementImmo::class)]
private $contactInvestissementImmos;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $eventToken;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $eventWidgetUrl;
#[ORM\Column(type: 'boolean', nullable: false, options: ['default' => false])]
private $eventClientRequested = false;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $sponsorshipToken;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $sponsorshipWidgetUrl;
#[ORM\Column(type: 'boolean', nullable: false, options: ['default' => false])]
private $sponsorshipClientRequested = false;
#[ORM\Column(type: 'boolean', nullable: false, options: ['default' => false])]
private $sponsorshipClientActivate = false;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $recommendationToken;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $recommendationWidgetUrl;
#[ORM\Column(type: 'boolean', nullable: false, options: ['default' => false])]
private $recommendationClientRequested = false;
#[ORM\Column(type: 'boolean', nullable: false, options: ['default' => false])]
private $recommendationClientActivate = false;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $surveyToken;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $surveyWidgetUrl;
#[ORM\OneToMany(mappedBy: 'accountingFirm', targetEntity: Prescriber::class)]
private $prescribers;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $satisfactionToken;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $satisfactionWidgetUrl;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $electronicInvoiceToken;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $electronicInvoiceWidgetUrl;
#[ORM\Column(type: 'boolean', length: 255, nullable: true)]
private $satisfactionClientActivate;
#[ORM\OneToMany(mappedBy: 'accountingFirm', targetEntity: SatisfactionClientSurvey::class)]
private Collection $satisfactionClientSurveys;
#[ORM\OneToMany(mappedBy: 'accountingFirm', targetEntity: Collaborator::class)]
private Collection $collaborators;
#[ORM\OneToMany(mappedBy: 'accountingFirm', targetEntity: IdentiteVisuelleCategory::class, cascade: ['persist', 'remove'], orphanRemoval: true)]
private $identiteVisuelleCategories;
#[ORM\Column(type: 'boolean', nullable: true)]
private $cardTrelloEventCreate;
#[ORM\Column(type: 'boolean', nullable: true)]
private $cardTrelloSatisfactionCreate;
#[ORM\OneToMany(mappedBy: 'accountingFirm', targetEntity: PipelineLinkedin::class)]
private $pipelineLinkedins;
#[ORM\OneToMany(targetEntity: AnniversaireClient::class, cascade: ['persist', 'remove'], mappedBy: 'accountingFirm')]
private $anniversaireClients;
#[ORM\Column(type: 'boolean', nullable: true)]
private $platformEnabled;
#[ORM\OneToMany(mappedBy: 'accountingFirm', targetEntity: ElectronicInvoiceContact::class)]
private $electronicInvoiceContacts;
#[ORM\Column(type: 'datetime', nullable: true)]
private ?DateTimeInterface $sepaPrelevementDate = null;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private ?string $onboardingReplayUrl = null;
#[ORM\Column(type: 'datetime', nullable: true)]
private ?\DateTimeInterface $onboardingReplayNotifiedAt = null;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $onboardingReplayCode;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private ?string $linkedinUsername = null;
#[ORM\Column(type: 'text', nullable: true)]
private ?string $linkedinPassword = null;
#[ORM\Column(type: 'datetime_immutable', nullable: true)]
private ?\DateTimeImmutable $linkedinPasswordUpdatedAt = null;
public function __construct()
{
$this->users = new ArrayCollection();
$this->emailings = new ArrayCollection();
$this->emailingscollab = new ArrayCollection();
$this->actualitecabinets = new ArrayCollection();
$this->announcements = new ArrayCollection();
$this->usefulLinks = new ArrayCollection();
$this->ebooks = new ArrayCollection();
$this->websiteNews = new ArrayCollection();
$this->partner = new ArrayCollection();
$this->actualiters = new ArrayCollection();
$this->contacts = new ArrayCollection();
$this->demandeCompanies = new ArrayCollection();
$this->demandeNewsletters = new ArrayCollection();
$this->authorizedDomains = new ArrayCollection();
$this->mailingTasks = new ArrayCollection();
$this->rgpdContacts = new ArrayCollection();
$this->contactParticipationPlaceExperts = new ArrayCollection();
$this->contactEtreRappeles = new ArrayCollection();
$this->videoAppelleTonEcs = new ArrayCollection();
$this->ceContacts = new ArrayCollection();
$this->cirContacts = new ArrayCollection();
$this->tousEnLigneContacts = new ArrayCollection();
$this->repportingTrimestrielles = new ArrayCollection();
$this->statEcoutePodcast = new ArrayCollection();
$this->moduleTypes = new ArrayCollection();
$this->moduleTypeValues = new ArrayCollection();
$this->podcastPrivateAccountingFirms = new ArrayCollection();
$this->podcastPrivateTasks = new ArrayCollection();
$this->moduleVideos = new ArrayCollection();
$this->affiliateClients = new ArrayCollection();
$this->emailingClientLists = new ArrayCollection();
$this->emailingClientCampaigns = new ArrayCollection();
$this->emailingClientDesabonnements = new ArrayCollection();
$this->smsClientLists = new ArrayCollection();
$this->smsClientCampaigns = new ArrayCollection();
$this->pipelineMailjets = new ArrayCollection();
$this->pipelineIdentiteVisuelles = new ArrayCollection();
$this->pipelineGmbs = new ArrayCollection();
$this->contactCreationSocietes = new ArrayCollection();
$this->contactInvestissementImmos = new ArrayCollection();
$this->prescribers = new ArrayCollection();
$this->identiteVisuelleCategories = new ArrayCollection();
$this->pipelineLinkedins = new ArrayCollection();
$this->collaborators = new ArrayCollection();
$this->anniversaireClients = new ArrayCollection();
$this->electronicInvoiceContacts = new ArrayCollection();
}
/**
* @return int
*/
public function getId(): ?int
{
return $this->id;
}
/**
* @return Collection|User[]
*/
public function getUsers(): Collection
{
return $this->users;
}
public function addUser(User $user): self
{
if (!$this->users->contains($user)) {
$this->users[] = $user;
$user->setAccountingFirm($this);
}
return $this;
}
public function removeUser(User $user): self
{
if ($this->users->removeElement($user)) {
// set the owning side to null (unless already changed)
if ($user->getAccountingFirm() === $this) {
$user->setAccountingFirm(null);
}
}
return $this;
}
/**
* @return Collection|Emailing[]
*/
public function getEmailings(): Collection
{
return $this->emailings;
}
public function addEmailing(Emailing $emailing): self
{
if (!$this->emailings->contains($emailing)) {
$this->emailings[] = $emailing;
$emailing->setAccountingFirm($this);
}
return $this;
}
public function removeEmailing(Emailing $emailing): self
{
if ($this->emailings->removeElement($emailing)) {
// set the owning side to null (unless already changed)
if ($emailing->getAccountingFirm() === $this) {
$emailing->setAccountingFirm(null);
}
}
return $this;
}
/**
* @return Collection|EmailingCollab[]
*/
public function getEmailingsCollab(): Collection
{
return $this->emailingscollab;
}
public function addEmailingCollab(EmailingCollab $emailingcollab): self
{
if (!$this->emailingscollab->contains($emailingcollab)) {
$this->emailingscollab[] = $emailingcollab;
$emailingcollab->setAccountingFirm($this);
}
return $this;
}
public function removeEmailingCollab(EmailingCollab $emailingcollab): self
{
if ($this->emailingscollab->removeElement($emailingcollab)) {
// set the owning side to null (unless already changed)
if ($emailingcollab->getAccountingFirm() === $this) {
$emailingcollab->setAccountingFirm(null);
}
}
return $this;
}
/**
* @return Collection
*/
public function getActualitecabinets(): Collection
{
return $this->actualitecabinets;
}
public function addAcualitecabinet(Actualitecabinet $actualitecabinet): self
{
if (!$this->actualitecabinets->contains($actualitecabinet)) {
$this->actualitecabinets[] = $actualitecabinet;
$actualitecabinet->setAccountingFirm($this);
}
return $this;
}
public function removeAcualitecabinet(Actualitecabinet $actualitecabinet): self
{
if ($this->actualitecabinets->removeElement($actualitecabinet)) {
// set the owning side to null (unless already changed)
if ($actualitecabinet->getAccountingFirm() === $this) {
$actualitecabinet->setAccountingFirm(null);
}
}
return $this;
}
/**
* @return string
*/
public function getEmail(): ?string
{
return $this->email;
}
/**
* @param string $email
* @return AccountingFirm
*/
public function setEmail(?string $email): AccountingFirm
{
$this->email = $email;
return $this;
}
/**
* @return string
*/
public function getUrl(): ?string
{
return $this->url;
}
/**
* @param string $url
* @return AccountingFirm
*/
public function setUrl(?string $url): AccountingFirm
{
$this->url = $url;
return $this;
}
/**
* @return string
*/
public function getVersion(): ?string
{
return $this->version;
}
/**
* @param string $version
* @return AccountingFirm
*/
public function setVersion(?string $version): AccountingFirm
{
if (!in_array($version, self::ACCEPTED_VERSION, true)) {
throw new LogicException("Erreur $version non acceptée. Versions acceptées : " . implode(', ', self::ACCEPTED_VERSION));
}
$this->version = $version;
return $this;
}
/**
* @return DateTime|null
*/
public function getCreatedAt(): ?DateTime
{
return $this->createdAt;
}
/**
* @param DateTime|null $createdAt
* @return AccountingFirm
*/
public function setCreatedAt(?DateTime $createdAt): AccountingFirm
{
$this->createdAt = $createdAt;
return $this;
}
/**
* @return Collection|Announcement[]
*/
public function getAnnouncements(): Collection
{
return $this->announcements;
}
public function addAnnouncement(Announcement $announcement): self
{
if (!$this->announcements->contains($announcement)) {
$this->announcements[] = $announcement;
$announcement->setAccountingFirm($this);
}
return $this;
}
public function removeAnnouncement(Announcement $announcement): self
{
if ($this->announcements->removeElement($announcement)) {
// set the owning side to null (unless already changed)
if ($announcement->getAccountingFirm() === $this) {
$announcement->setAccountingFirm(null);
}
}
return $this;
}
/**
* @return Collection|UsefulLink[]
*/
public function getUsefulLinks(): Collection
{
return $this->usefulLinks;
}
public function addUsefulLink(UsefulLink $usefulLink): self
{
if (!$this->usefulLinks->contains($usefulLink)) {
$this->usefulLinks[] = $usefulLink;
$usefulLink->setAccountingFirm($this);
}
return $this;
}
public function removeUsefulLink(UsefulLink $usefulLink): self
{
if ($this->usefulLinks->removeElement($usefulLink)) {
// set the owning side to null (unless already changed)
if ($usefulLink->getAccountingFirm() === $this) {
$usefulLink->setAccountingFirm(null);
}
}
return $this;
}
public function getPrimaryNews(): ?PrimaryNews
{
return $this->primaryNews;
}
public function setPrimaryNews(PrimaryNews $primaryNews): self
{
// set the owning side of the relation if necessary
if ($primaryNews->getAccountingFirm() !== $this) {
$primaryNews->setAccountingFirm($this);
}
$this->primaryNews = $primaryNews;
return $this;
}
/**
* @return Collection|Ebook[]
*/
public function getEbooks(): Collection
{
return $this->ebooks;
}
public function addEbook(Ebook $ebook): self
{
if (!$this->ebooks->contains($ebook)) {
$this->ebooks[] = $ebook;
$ebook->setAccountingFirm($this);
}
return $this;
}
public function removeEbook(Ebook $ebook): self
{
if ($this->ebooks->removeElement($ebook)) {
// set the owning side to null (unless already changed)
if ($ebook->getAccountingFirm() === $this) {
$ebook->setAccountingFirm(null);
}
}
return $this;
}
/**
* @return Collection|WebsiteNews[]
*/
public function getWebsiteNews(): Collection
{
return $this->websiteNews;
}
public function addWebsiteNews(WebsiteNews $websiteNews): self
{
if (!$this->websiteNews->contains($websiteNews)) {
$this->websiteNews[] = $websiteNews;
$websiteNews->setAccountingFirm($this);
}
return $this;
}
public function removeWebsiteNews(WebsiteNews $websiteNews): self
{
if ($this->websiteNews->removeElement($websiteNews)) {
// set the owning side to null (unless already changed)
if ($websiteNews->getAccountingFirm() === $this) {
$websiteNews->setAccountingFirm(null);
}
}
return $this;
}
public function getParameters(): ?Parameters
{
if (null === $this->parameters) {
$this->setParameters(
(new Parameters())->setAccountingFirm($this)
);
}
// var_dump($this->parameters->getModules());exit;
return $this->parameters;
}
public function setParameters(Parameters $parameters): self
{
// set the owning side of the relation if necessary
if ($parameters->getAccountingFirm() !== $this) {
$parameters->setAccountingFirm($this);
}
$this->parameters = $parameters;
return $this;
}
public function getHost(): ?string
{
return $this->host;
}
public function setHost(?string $host): self
{
$this->host = $host;
return $this;
}
/**
* @return string
*/
public function getAddress(): ?string
{
return $this->address;
}
/**
* @param string $address
* @return AccountingFirm
*/
public function setAddress(?string $address): AccountingFirm
{
$this->address = $address;
return $this;
}
/**
* @return string
*/
public function getZipCode(): ?string
{
return $this->zipCode;
}
/**
* @param string $zipCode
* @return AccountingFirm
*/
public function setZipCode(?string $zipCode): AccountingFirm
{
$this->zipCode = $zipCode;
return $this;
}
/**
* @return string
*/
public function getCity(): ?string
{
return $this->city;
}
/**
* @param string $city
* @return AccountingFirm
*/
public function setCity(?string $city): AccountingFirm
{
$this->city = $city;
return $this;
}
/**
* @return string
*/
public function getPhone(): ?string
{
return $this->phone;
}
/**
* @param string $phone
* @return AccountingFirm
*/
public function setPhone(?string $phone): AccountingFirm
{
$this->phone = $phone;
return $this;
}
/**
* @return bool
*/
public function isBabonnementcalendrier(): bool
{
return $this->babonnementcalendrier;
}
/**
* @param bool $babonnementcalendrier
* @return AccountingFirm
*/
public function setBabonnementcalendrier(bool $babonnementcalendrier): AccountingFirm
{
$this->babonnementcalendrier = $babonnementcalendrier;
return $this;
}
/**
* @return string
*/
public function getNewslettercouleur(): ?string
{
return $this->newslettercouleur;
}
/**
* @param string $newslettercouleur
* @return AccountingFirm
*/
public function setNewslettercouleur(?string $newslettercouleur): AccountingFirm
{
$this->newslettercouleur = $newslettercouleur;
return $this;
}
/**
* @return string
*/
public function getActuv2Token(): ?string
{
return $this->actuv2Token;
}
/**
* @param string $actuv2Token
* @return AccountingFirm
*/
public function setActuv2Token(?string $actuv2Token): AccountingFirm
{
$this->actuv2Token = $actuv2Token;
return $this;
}
/**
* @return string
*/
public function getActuv2Referer(): ?string
{
return $this->actuv2Referer;
}
/**
* @param string $actuv2Referer
* @return AccountingFirm
*/
public function setActuv2Referer(?string $actuv2Referer): AccountingFirm
{
$this->actuv2Referer = $actuv2Referer;
return $this;
}
/**
* @return string
*/
public function getActuv2Widgeturl(): ?string
{
return $this->actuv2Widgeturl;
}
/**
* @param string $actuv2Widgeturl
* @return AccountingFirm
*/
public function setActuv2Widgeturl(?string $actuv2Widgeturl): AccountingFirm
{
$this->actuv2Widgeturl = $actuv2Widgeturl;
return $this;
}
/**
* @return string
*/
public function getActuv2Colorprimary(): ?string
{
return $this->actuv2Colorprimary;
}
/**
* @param string $actuv2Colorprimary
* @return AccountingFirm
*/
public function setActuv2Colorprimary(?string $actuv2Colorprimary): AccountingFirm
{
$this->actuv2Colorprimary = $actuv2Colorprimary;
return $this;
}
/**
* @return string
*/
public function getActuv2Colorsecondary(): ?string
{
return $this->actuv2Colorsecondary;
}
/**
* @param string $actuv2Colorsecondary
* @return AccountingFirm
*/
public function setActuv2Colorsecondary(?string $actuv2Colorsecondary): AccountingFirm
{
$this->actuv2Colorsecondary = $actuv2Colorsecondary;
return $this;
}
/**
* @return string
*/
public function getActuv2UrlContact(): ?string
{
return $this->actuv2UrlContact;
}
/**
* @param string $actuv2UrlContact
* @return AccountingFirm
*/
public function setActuv2UrlContact(?string $actuv2UrlContact): AccountingFirm
{
$this->actuv2UrlContact = $actuv2UrlContact;
return $this;
}
public function getWebsiteCreatedAt(): ?DateTimeInterface
{
return $this->websiteCreatedAt;
}
public function setWebsiteCreatedAt(?DateTimeInterface $websiteCreatedAt): self
{
$this->websiteCreatedAt = $websiteCreatedAt;
return $this;
}
public function getIdsellsy(): ?string
{
return $this->idsellsy;
}
public function setIdsellsy(?string $idsellsy): self
{
$this->idsellsy = $idsellsy;
return $this;
}
/**
* @return Collection|Partner[]
*/
public function getPartner(): Collection
{
return $this->partner;
}
public function addPartner(Partner $partner): self
{
if (!$this->partner->contains($partner)) {
$this->partner[] = $partner;
$partner->setAccountingFirm($this);
}
return $this;
}
public function removePartner(Partner $partner): self
{
if ($this->partner->removeElement($partner)) {
// set the owning side to null (unless already changed)
if ($partner->getAccountingFirm() === $this) {
$partner->setAccountingFirm(null);
}
}
return $this;
}
/**
* @return Collection|Actualiters[]
*/
public function getActualiters(): Collection
{
return $this->actualiters;
}
public function addActualiter(Actualiters $actualiter): self
{
if (!$this->actualiters->contains($actualiter)) {
$this->actualiters[] = $actualiter;
$actualiter->setAccountingFirm($this);
}
return $this;
}
public function removeActualiter(Actualiters $actualiter): self
{
if ($this->actualiters->removeElement($actualiter)) {
// set the owning side to null (unless already changed)
if ($actualiter->getAccountingFirm() === $this) {
$actualiter->setAccountingFirm(null);
}
}
return $this;
}
/**
* @return Collection|Contact[]
*/
public function getContacts(): Collection
{
return $this->contacts;
}
public function addContact(Contact $contact): self
{
if (!$this->contacts->contains($contact)) {
$this->contacts[] = $contact;
$contact->setAccountingFirm($this);
}
return $this;
}
public function removeContact(Contact $contact): self
{
if ($this->contacts->removeElement($contact)) {
// set the owning side to null (unless already changed)
if ($contact->getAccountingFirm() === $this) {
$contact->setAccountingFirm(null);
}
}
return $this;
}
/**
* @return Collection|ContactCustom[]
*/
public function getContactsCustom(): Collection
{
return $this->contactsCustom;
}
public function addContactCustom(ContactCustom $contact): self
{
if (!$this->contactsCustom->contains($contact)) {
$this->contactsCustom[] = $contact;
$contact->setAccountingFirm($this);
}
return $this;
}
public function removeContactCustom(ContactCustom $contact): self
{
if ($this->contactsCustom->removeElement($contact)) {
// set the owning side to null (unless already changed)
if ($contact->getAccountingFirm() === $this) {
$contact->setAccountingFirm(null);
}
}
return $this;
}
/**
* @return Collection|DemandeCompany[]
*/
public function getDemandeCompanies(): Collection
{
return $this->demandeCompanies;
}
public function addDemandeCompany(DemandeCompany $demandeCompany): self
{
if (!$this->demandeCompanies->contains($demandeCompany)) {
$this->demandeCompanies[] = $demandeCompany;
$demandeCompany->setAccountingFirm($this);
}
return $this;
}
public function removeDemandeCompany(DemandeCompany $demandeCompany): self
{
if ($this->demandeCompanies->removeElement($demandeCompany)) {
// set the owning side to null (unless already changed)
if ($demandeCompany->getAccountingFirm() === $this) {
$demandeCompany->setAccountingFirm(null);
}
}
return $this;
}
/**
* @return Collection|ContactProfession[]
*/
public function getContactsProfession(): Collection
{
return $this->contactsProfession;
}
public function addContactProfession(ContactProfession $contact): self
{
if (!$this->contactsProfession->contains($contact)) {
$this->contactsProfession[] = $contact;
$contact->setAccountingFirm($this);
}
return $this;
}
public function removeContactProfession(ContactProfession $contact): self
{
if ($this->contactsProfession->removeElement($contact)) {
// set the owning side to null (unless already changed)
if ($contact->getAccountingFirm() === $this) {
$contact->setAccountingFirm(null);
}
}
return $this;
}
/**
* @return Collection|DemandeNewsletter[]
*/
public function getDemandeNewsletters(): Collection
{
return $this->demandeNewsletters;
}
public function addDemandeNewsletter(DemandeNewsletter $demandeNewsletter): self
{
if (!$this->demandeNewsletters->contains($demandeNewsletter)) {
$this->demandeNewsletters[] = $demandeNewsletter;
$demandeNewsletter->setAccountingFirm($this);
}
return $this;
}
public function removeDemandeNewsletter(DemandeNewsletter $demandeNewsletter): self
{
if ($this->demandeNewsletters->removeElement($demandeNewsletter)) {
// set the owning side to null (unless already changed)
if ($demandeNewsletter->getAccountingFirm() === $this) {
$demandeNewsletter->setAccountingFirm(null);
}
}
return $this;
}
public function getSimulateurToken(): ?string
{
return $this->simulateurToken;
}
public function setSimulateurToken(?string $simulateurToken): self
{
$this->simulateurToken = $simulateurToken;
return $this;
}
public function getSimulateurWidgetUrl(): ?string
{
return $this->simulateurWidgetUrl;
}
public function setSimulateurWidgetUrl(?string $simulateurWidgetUrl): self
{
$this->simulateurWidgetUrl = $simulateurWidgetUrl;
return $this;
}
public function getRgpdToken(): ?string
{
return $this->rgpdToken;
}
public function setRgpdToken(?string $rgpdToken): self
{
$this->rgpdToken = $rgpdToken;
return $this;
}
public function getRgpdWidgetUrl(): ?string
{
return $this->rgpdWidgetUrl;
}
public function setRgpdWidgetUrl(?string $rgpdWidgetUrl): self
{
$this->rgpdWidgetUrl = $rgpdWidgetUrl;
return $this;
}
public function getCeToken(): ?string
{
return $this->ceToken;
}
public function setCeToken(?string $ceToken): self
{
$this->ceToken = $ceToken;
return $this;
}
public function getCirToken(): ?string
{
return $this->cirToken;
}
public function setCirToken(?string $cirToken): self
{
$this->cirToken = $cirToken;
return $this;
}
public function getCalendlyUrl(): ?string
{
return $this->calendlyUrl;
}
public function setCalendlyUrl(?string $calendlyUrl): self
{
$this->calendlyUrl = $calendlyUrl;
return $this;
}
public function getSurveyClientActivate(): bool
{
return $this->surveyClientActivate;
}
public function setSurveyClientActivate(bool $surveyClientActivate): self
{
$this->surveyClientActivate = $surveyClientActivate;
return $this;
}
public function getCeWidgetUrl(): ?string
{
return $this->ceWidgetUrl;
}
public function setCeWidgetUrl(?string $ceWidgetUrl): self
{
$this->ceWidgetUrl = $ceWidgetUrl;
return $this;
}
public function getCirWidgetUrl(): ?string
{
return $this->cirWidgetUrl;
}
public function setCirWidgetUrl(?string $cirWidgetUrl): self
{
$this->cirWidgetUrl = $cirWidgetUrl;
return $this;
}
public function getCirSender(): ?string
{
return $this->cir_sender;
}
public function setCirSender(?string $cir_sender): self
{
$this->cir_sender = $cir_sender;
return $this;
}
public function getCirSenderName(): ?string
{
return $this->cir_sender_name;
}
public function setCirSenderName(?string $cir_sender_name): self
{
$this->cir_sender_name = $cir_sender_name;
return $this;
}
public function isCirExpertExterneUse(): ?bool
{
return $this->cir_expert_externe_use;
}
public function setCirExpertExterneUse(bool $cir_expert_externe_use): self
{
$this->cir_expert_externe_use = $cir_expert_externe_use;
return $this;
}
/**
* @return Collection<int, AuthorizedDomain>
*/
public function getAuthorizedDomains(): Collection
{
return $this->authorizedDomains;
}
public function addAuthorizedDomain(AuthorizedDomain $authorizedDomain): self
{
if (!$this->authorizedDomains->contains($authorizedDomain)) {
$this->authorizedDomains[] = $authorizedDomain;
$authorizedDomain->setAccountingFirm($this);
}
return $this;
}
public function removeAuthorizedDomain(AuthorizedDomain $authorizedDomain): self
{
if ($this->authorizedDomains->removeElement($authorizedDomain)) {
// set the owning side to null (unless already changed)
if ($authorizedDomain->getAccountingFirm() === $this) {
$authorizedDomain->setAccountingFirm(null);
}
}
return $this;
}
public function getListAuthorizedDomains(): array
{
$result = [];
/** @var AuthorizedDomain $domain */
foreach ($this->authorizedDomains as $domain) {
$result[] = $domain->getName();
}
return $result;
}
/**
* @return string
*/
public function getName(): ?string
{
return $this->name;
}
/**
* @param string $name
* @return AccountingFirm
*/
public function setName(?string $name): AccountingFirm
{
$this->name = $name;
return $this;
}
public function __toString()
{
return $this->name;
}
public function getIdentiteVisuelle(): ?IdentiteVisuelle
{
return $this->identiteVisuelle;
}
public function setIdentiteVisuelle(?IdentiteVisuelle $identiteVisuelle): self
{
// unset the owning side of the relation if necessary
if ($identiteVisuelle === null && $this->identiteVisuelle !== null) {
$this->identiteVisuelle->setAccountingFirm(null);
}
// set the owning side of the relation if necessary
if ($identiteVisuelle !== null && $identiteVisuelle->getAccountingFirm() !== $this) {
$identiteVisuelle->setAccountingFirm($this);
}
$this->identiteVisuelle = $identiteVisuelle;
return $this;
}
/**
* @return Collection<int, MailingTask>
*/
public function getMailingTasks(): Collection
{
return $this->mailingTasks;
}
public function addMailingTask(MailingTask $mailingTask): self
{
if (!$this->mailingTasks->contains($mailingTask)) {
$this->mailingTasks[] = $mailingTask;
$mailingTask->setAccountingFirm($this);
}
return $this;
}
public function removeMailingTask(MailingTask $mailingTask): self
{
if ($this->mailingTasks->removeElement($mailingTask)) {
// set the owning side to null (unless already changed)
if ($mailingTask->getAccountingFirm() === $this) {
$mailingTask->setAccountingFirm(null);
}
}
return $this;
}
public function getMailingApi(): ?MailjetApi
{
return $this->mailing_api;
}
public function setMailingApi(?MailjetApi $mailing_api): self
{
$this->mailing_api = $mailing_api;
return $this;
}
public function isMailingModule(): ?bool
{
return $this->mailing_module;
}
public function setMailingModule(bool $mailing_module): self
{
$this->mailing_module = $mailing_module;
return $this;
}
public function getMailingSender(): ?string
{
return $this->mailing_sender;
}
public function setMailingSender(?string $mailing_sender): self
{
$this->mailing_sender = $mailing_sender;
return $this;
}
public function getRgpdSender(): ?string
{
return $this->rgpd_sender;
}
public function setRgpdSender(?string $rgpd_sender): self
{
$this->rgpd_sender = $rgpd_sender;
return $this;
}
public function getRgpdSenderName(): ?string
{
return $this->rgpd_sender_name;
}
public function setRgpdSenderName(?string $rgpd_sender_name): self
{
$this->rgpd_sender_name = $rgpd_sender_name;
return $this;
}
public function isRgpdExpertExterneUse(): ?bool
{
return $this->rgpd_expert_externe_use;
}
public function setRgpdExpertExterneUse(bool $rgpd_expert_externe_use): self
{
$this->rgpd_expert_externe_use = $rgpd_expert_externe_use;
return $this;
}
public function getCeSender(): ?string
{
return $this->ce_sender;
}
public function setCeSender(?string $ce_sender): self
{
$this->ce_sender = $ce_sender;
return $this;
}
public function getTousEnLigneToken(): ?string
{
return $this->tousEnLigneToken;
}
public function setTousEnLigneToken(?string $tousEnLigneToken): self
{
$this->tousEnLigneToken = $tousEnLigneToken;
return $this;
}
public function getCeSenderName(): ?string
{
return $this->ce_sender_name;
}
public function setCeSenderName(?string $ce_sender_name): self
{
$this->ce_sender_name = $ce_sender_name;
return $this;
}
public function isCeExpertExterneUse(): ?bool
{
return $this->ce_expert_externe_use;
}
public function setCeExpertExterneUse(bool $ce_expert_externe_use): self
{
$this->ce_expert_externe_use = $ce_expert_externe_use;
return $this;
}
public function getTousEnLigneWidgetUrl(): ?string
{
return $this->tousEnLigneWidgetUrl;
}
public function setTousEnLigneWidgetUrl(?string $tousEnLigneWidgetUrl): self
{
$this->tousEnLigneWidgetUrl = $tousEnLigneWidgetUrl;
return $this;
}
public function getMailingHeader(): ?string
{
return $this->mailingHeader;
}
public function setMailingHeader(?string $mailingHeader): self
{
$this->mailingHeader = is_null($mailingHeader) ? "" : $mailingHeader;
return $this;
}
public function getTmpMailingHeader(): ?File
{
return $this->tmpMailingHeader;
}
public function setTmpMailingHeader(?File $tmpMailingHeader = null): void
{
$this->tmpMailingHeader = $tmpMailingHeader;
}
public function getLastUpdate(): ?DateTimeInterface
{
return $this->lastUpdate;
}
public function setLastUpdate(?DateTimeInterface $lastUpdate): self
{
$this->lastUpdate = $lastUpdate;
return $this;
}
/**
* @return Collection|VCards[]
*/
public function getVCards(): Collection
{
return $this->vcards;
}
public function addVCards(VCards $vcards): self
{
if (!$this->vcards->contains($vcards)) {
$this->vcards[] = $vcards;
$vcards->setAccountingFirm($this);
}
return $this;
}
/**
* @return Collection<int, RgpdContact>
*/
public function getRgpdContacts(): Collection
{
return $this->rgpdContacts;
}
public function addRgpdContact(RgpdContact $rgpdContact): self
{
if (!$this->rgpdContacts->contains($rgpdContact)) {
$this->rgpdContacts[] = $rgpdContact;
$rgpdContact->setAccountingFirm($this);
}
return $this;
}
public function removeVCards(VCards $vcards): self
{
if ($this->vcards->removeElement($vcards)) {
// set the owning side to null (unless already changed)
if ($vcards->getAccountingFirm() === $this) {
$vcards->setAccountingFirm(null);
}
}
return $this;
}
public function removeRgpdContact(RgpdContact $rgpdContact): self
{
if ($this->rgpdContacts->removeElement($rgpdContact)) {
// set the owning side to null (unless already changed)
if ($rgpdContact->getAccountingFirm() === $this) {
$rgpdContact->setAccountingFirm(null);
}
}
return $this;
}
public function getlogoCabinet(): ?string
{
return $this->logoCabinet;
}
public function setlogoCabinet(?string $logoCabinet): self
{
$this->logoCabinet = $logoCabinet;
return $this;
}
public function getVcardAccess(): ?bool
{
return $this->vcardAccess;
}
public function setVcardAccess(bool $vcardAccess): self
{
$this->vcardAccess = $vcardAccess;
return $this;
}
public function getRgpdExpert(): ?RgpdExpert
{
return $this->RgpdExpert;
}
public function setRgpdExpert(?RgpdExpert $RgpdExpert): self
{
$this->RgpdExpert = $RgpdExpert;
return $this;
}
public function getCeExpert(): ?CeExpert
{
return $this->CeExpert;
}
public function setCeExpert(?CeExpert $CeExpert): self
{
$this->CeExpert = $CeExpert;
return $this;
}
/**
* @return Collection<int, ContactParticipationPlaceExpert>
*/
public function getContactParticipationPlaceExperts(): Collection
{
return $this->contactParticipationPlaceExperts;
}
public function addContactParticipationPlaceExpert(ContactParticipationPlaceExpert $contactParticipationPlaceExpert): self
{
if (!$this->contactParticipationPlaceExperts->contains($contactParticipationPlaceExpert)) {
$this->contactParticipationPlaceExperts[] = $contactParticipationPlaceExpert;
$contactParticipationPlaceExpert->setAccountingFirm($this);
}
return $this;
}
public function removeContactParticipationPlaceExpert(ContactParticipationPlaceExpert $contactParticipationPlaceExpert): self
{
if ($this->contactParticipationPlaceExperts->removeElement($contactParticipationPlaceExpert)) {
// set the owning side to null (unless already changed)
if ($contactParticipationPlaceExpert->getAccountingFirm() === $this) {
$contactParticipationPlaceExpert->setAccountingFirm(null);
}
}
return $this;
}
public function isDarkTheme(): ?bool
{
return $this->darkTheme;
}
public function setDarkTheme(bool $darkTheme): self
{
$this->darkTheme = $darkTheme;
return $this;
}
public function isGmbEnable(): ?bool
{
return $this->gmbEnable;
}
public function setGmbEnable(bool $gmbEnable): self
{
$this->gmbEnable = $gmbEnable;
return $this;
}
public function getAppelleTonEcToken(): ?string
{
return $this->appelleTonEcToken;
}
public function setAppelleTonEcToken(?string $appelleTonEcToken): self
{
$this->appelleTonEcToken = $appelleTonEcToken;
return $this;
}
public function getAppelleTonEcWidgetUrl(): ?string
{
return $this->appelleTonEcWidgetUrl;
}
public function setAppelleTonEcWidgetUrl(?string $appelleTonEcWidgetUrl): self
{
$this->appelleTonEcWidgetUrl = $appelleTonEcWidgetUrl;
return $this;
}
/**
* @return Collection<int, ContactEtreRappele>
*/
public function getContactEtreRappeles(): Collection
{
return $this->contactEtreRappeles;
}
public function addContactEtreRappele(ContactEtreRappele $contactEtreRappele): self
{
if (!$this->contactEtreRappeles->contains($contactEtreRappele)) {
$this->contactEtreRappeles[] = $contactEtreRappele;
$contactEtreRappele->setAccountingFirm($this);
}
return $this;
}
/**
* @return Collection<int, TousEnLigneContact>
*/
public function getTousEnLigneContacts(): Collection
{
return $this->tousEnLigneContacts;
}
public function addTousEnLigneContact(TousEnLigneContact $tousEnLigneContact): self
{
if (!$this->tousEnLigneContacts->contains($tousEnLigneContact)) {
$this->tousEnLigneContacts[] = $tousEnLigneContact;
$tousEnLigneContact->setCabinet($this);
}
return $this;
}
public function removeContactEtreRappele(ContactEtreRappele $contactEtreRappele): self
{
if ($this->contactEtreRappeles->removeElement($contactEtreRappele)) {
// set the owning side to null (unless already changed)
if ($contactEtreRappele->getAccountingFirm() === $this) {
$contactEtreRappele->setAccountingFirm(null);
}
}
return $this;
}
/**
* @return Collection<int, VideoAppelleTonEc>
*/
public function getVideoAppelleTonEcs(): Collection
{
return $this->videoAppelleTonEcs;
}
public function addVideoAppelleTonEc(VideoAppelleTonEc $videoAppelleTonEc): self
{
if (!$this->videoAppelleTonEcs->contains($videoAppelleTonEc)) {
$this->videoAppelleTonEcs[] = $videoAppelleTonEc;
$videoAppelleTonEc->addAccountingFirm($this);
}
return $this;
}
public function removeVideoAppelleTonEc(VideoAppelleTonEc $videoAppelleTonEc): self
{
if ($this->videoAppelleTonEcs->removeElement($videoAppelleTonEc)) {
$videoAppelleTonEc->removeAccountingFirm($this);
}
return $this;
}
public function getCirExpert(): ?CirExpert
{
return $this->cirExpert;
}
public function setCirExpert(?CirExpert $cirExpert): self
{
$this->cirExpert = $cirExpert;
return $this;
}
/**
* @return Collection<int, CeContact>
*/
public function getCeContacts(): Collection
{
return $this->ceContacts;
}
public function addCeContact(CeContact $ceContact): self
{
if (!$this->ceContacts->contains($ceContact)) {
$this->ceContacts[] = $ceContact;
$ceContact->setAccountingFirm($this);
}
return $this;
}
/**
* @return Collection<int, CirContact>
*/
public function getCirContacts(): Collection
{
return $this->cirContacts;
}
public function addCirContact(CirContact $cirContact): self
{
if (!$this->cirContacts->contains($cirContact)) {
$this->cirContacts[] = $cirContact;
$cirContact->setAccountingFirm($this);
}
return $this;
}
public function removeCeContact(CeContact $ceContact): self
{
if ($this->ceContacts->removeElement($ceContact)) {
// set the owning side to null (unless already changed)
if ($ceContact->getAccountingFirm() === $this) {
$ceContact->setAccountingFirm(null);
}
}
return $this;
}
public function removeCirContact(CirContact $cirContact): self
{
if ($this->cirContacts->removeElement($cirContact)) {
// set the owning side to null (unless already changed)
if ($cirContact->getAccountingFirm() === $this) {
$cirContact->setAccountingFirm(null);
}
}
return $this;
}
public function removeTousEnLigneContact(TousEnLigneContact $tousEnLigneContact): self
{
if ($this->tousEnLigneContacts->removeElement($tousEnLigneContact)) {
// set the owning side to null (unless already changed)
if ($tousEnLigneContact->getCabinet() === $this) {
$tousEnLigneContact->setCabinet(null);
}
}
return $this;
}
/**
* @return Collection<int, ModuleType>
*/
public function getModuleTypes(): Collection
{
return $this->moduleTypes;
}
public function addModuleType(ModuleType $moduleType): self
{
if (!$this->moduleTypes->contains($moduleType)) {
$this->moduleTypes[] = $moduleType;
}
return $this;
}
public function isActuv2NotEc(): ?bool
{
return $this->actuv2NotEc;
}
public function setActuv2NotEc(bool $actuv2NotEc): self
{
$this->actuv2NotEc = $actuv2NotEc;
return $this;
}
public function isActuv2OnlyPodcast(): ?bool
{
return $this->actuv2OnlyPodcast;
}
public function setActuv2OnlyPodcast(bool $actuv2OnlyPodcast): self
{
$this->actuv2OnlyPodcast = $actuv2OnlyPodcast;
return $this;
}
public function removeModuleType(ModuleType $moduleType): self
{
$this->moduleTypes->removeElement($moduleType);
return $this;
}
/**
* @return Collection<int, ModuleTypeValue>
*/
public function getModuleTypeValues(): Collection
{
return $this->moduleTypeValues;
}
public function addModuleTypeValue(ModuleTypeValue $moduleTypeValue): self
{
if (!$this->moduleTypeValues->contains($moduleTypeValue)) {
$this->moduleTypeValues[] = $moduleTypeValue;
$moduleTypeValue->setAccountingFirm($this);
}
return $this;
}
public function removeModuleTypeValue(ModuleTypeValue $moduleTypeValue): self
{
if ($this->moduleTypeValues->removeElement($moduleTypeValue)) {
// set the owning side to null (unless already changed)
if ($moduleTypeValue->getAccountingFirm() === $this) {
$moduleTypeValue->setAccountingFirm(null);
}
}
return $this;
}
public function getGmbUrl(): ?string
{
return $this->gmbUrl;
}
public function setGmbUrl(string $gmbUrl): self
{
$this->gmbUrl = $gmbUrl;
return $this;
}
public function getGmbName(): ?string
{
return $this->gmbName;
}
public function setGmbName(string $gmbName): self
{
$this->gmbName = $gmbName;
return $this;
}
public function removeRepportingTrimestrielle(RepportingTrimestrielle $repportingTrimestrielle): self
{
if ($this->repportingTrimestrielles->removeElement($repportingTrimestrielle)) {
// set the owning side to null (unless already changed)
if ($repportingTrimestrielle->getCabinet() === $this) {
$repportingTrimestrielle->setCabinet(null);
}
}
return $this;
}
/**
* @return Collection<int, RepportingTrimestrielle>
*/
public function getRepportingTrimestrielles(): Collection
{
return $this->repportingTrimestrielles;
}
public function addRepportingTrimestrielle(RepportingTrimestrielle $repportingTrimestrielle): self
{
if (!$this->repportingTrimestrielles->contains($repportingTrimestrielle)) {
$this->repportingTrimestrielles[] = $repportingTrimestrielle;
$repportingTrimestrielle->setCabinet($this);
}
return $this;
}
/**
* @return Collection<int, statEcoutePodcast>
*/
public function getStatEcoutePodcast(): Collection
{
return $this->statEcoutePodcast;
}
public function addStatEcoutePodcast(StatEcoutePodcast $statEcoutePodcast): self
{
if (!$this->statEcoutePodcast->contains($statEcoutePodcast)) {
$this->statEcoutePodcast[] = $statEcoutePodcast;
$statEcoutePodcast->setCabinet($this);
}
return $this;
}
public function removeStatEcoutePodcast(StatEcoutePodcast $statEcoutePodcast): self
{
if ($this->statEcoutePodcast->removeElement($statEcoutePodcast)) {
// set the owning side to null (unless already changed)
if ($statEcoutePodcast->getCabinet() === $this) {
$statEcoutePodcast->setCabinet(null);
}
}
return $this;
}
public function getPodcastIntroFile(): ?File
{
return $this->podcastIntroFile;
}
/**
* If manually uploading a file (i.e. not using Symfony Form) ensure an instance
* of 'UploadedFile' is injected into this setter to trigger the update. If this
* bundle's configuration parameter 'inject_on_load' is set to 'true' this setter
* must be able to accept an instance of 'File' as the bundle will inject one here
* during Doctrine hydration.
*
* @param File|UploadedFile|null $imageFile
*/
public function setPodcastIntroFile(?File $podcastIntroFile = null): void
{
$this->podcastIntroFile = $podcastIntroFile;
if (null !== $podcastIntroFile) {
// It is required that at least one field changes if you are using doctrine
// otherwise the event listeners won't be called and the file is lost
$this->lastUpdate = new DateTime();
}
}
public function getPodcastIntroFileName(): ?string
{
return $this->podcastIntroFilename;
}
public function setPodcastIntroFileName(?string $podcastIntroFilename): void
{
$this->podcastIntroFilename = $podcastIntroFilename;
}
public function isEnablePodcastPrivate(): ?bool
{
return $this->enablePodcastPrivate;
}
public function setEnablePodcastPrivate(?bool $enablePodcastPrivate): self
{
$this->enablePodcastPrivate = $enablePodcastPrivate;
return $this;
}
public function isPodcastPrivateStudent(): ?bool
{
return $this->podcastPrivateStudent;
}
public function setPodcastPrivateStudent(?bool $podcastPrivateStudent): self
{
$this->podcastPrivateStudent = $podcastPrivateStudent;
return $this;
}
/**
* @return Collection<int, PodcastPrivateAccountingFirm>
*/
public function getPodcastPrivateAccountingFirms(): Collection
{
return $this->podcastPrivateAccountingFirms;
}
public function addPodcastPrivateAccountingFirm(PodcastPrivateAccountingFirm $podcastPrivateAccountingFirm): self
{
if (!$this->podcastPrivateAccountingFirms->contains($podcastPrivateAccountingFirm)) {
$this->podcastPrivateAccountingFirms[] = $podcastPrivateAccountingFirm;
$podcastPrivateAccountingFirm->setAccountingFirm($this);
}
return $this;
}
public function removePodcastPrivateAccountingFirm(PodcastPrivateAccountingFirm $podcastPrivateAccountingFirm): self
{
if ($this->podcastPrivateAccountingFirms->removeElement($podcastPrivateAccountingFirm)) {
// set the owning side to null (unless already changed)
if ($podcastPrivateAccountingFirm->getAccountingFirm() === $this) {
$podcastPrivateAccountingFirm->setAccountingFirm(null);
}
}
return $this;
}
public function getPodcastPrivateToken(): ?string
{
return $this->podcastPrivateToken;
}
public function setPodcastPrivateToken(?string $podcastPrivateToken): self
{
$this->podcastPrivateToken = $podcastPrivateToken;
return $this;
}
public function getPodcastPrivateWidgetUrl(): ?string
{
return $this->podcastPrivateWidgetUrl;
}
public function setPodcastPrivateWidgetUrl(?string $podcastPrivateWidgetUrl): self
{
$this->podcastPrivateWidgetUrl = $podcastPrivateWidgetUrl;
return $this;
}
public function isSubscriberPodcastPrivate(): ?bool
{
return $this->subscriberPodcastPrivate;
}
public function setSubscriberPodcastPrivate(?bool $subscriberPodcastPrivate): self
{
$this->subscriberPodcastPrivate = $subscriberPodcastPrivate;
return $this;
}
public function getLogoPalPath(): ?string
{
return $this->logoPalPath;
}
public function setLogoPalPath(?string $logoPalPath): self
{
$this->logoPalPath = $logoPalPath;
return $this;
}
public function getGoogleAnalyticsId(): ?string
{
return $this->googleAnalyticsId;
}
public function setGoogleAnalyticsId(?string $googleAnalyticsId): self
{
$this->googleAnalyticsId = $googleAnalyticsId;
return $this;
}
public function getEmailNlActuTest(): ?string
{
return $this->emailNlActuTest;
}
public function setEmailNlActuTest(?string $emailNlActuTest): self
{
$this->emailNlActuTest = $emailNlActuTest;
return $this;
}
/**
* @return Collection<int, PodcastPrivateTask>
*/
public function getPodcastPrivateTasks(): Collection
{
return $this->podcastPrivateTasks;
}
public function addPodcastPrivateTask(PodcastPrivateTask $podcastPrivateTask): self
{
if (!$this->podcastPrivateTasks->contains($podcastPrivateTask)) {
$this->podcastPrivateTasks[] = $podcastPrivateTask;
$podcastPrivateTask->setAccountingFirm($this);
}
return $this;
}
public function removePodcastPrivateTask(PodcastPrivateTask $podcastPrivateTask): self
{
if ($this->podcastPrivateTasks->removeElement($podcastPrivateTask)) {
// set the owning side to null (unless already changed)
if ($podcastPrivateTask->getAccountingFirm() === $this) {
$podcastPrivateTask->setAccountingFirm(null);
}
}
return $this;
}
/**
* @return Collection<int, ModuleVideo>
*/
public function getModuleVideos(): Collection
{
return $this->moduleVideos;
}
public function addModuleVideo(ModuleVideo $moduleVideo): self
{
if (!$this->moduleVideos->contains($moduleVideo)) {
$this->moduleVideos[] = $moduleVideo;
$moduleVideo->setAccountingFirm($this);
}
return $this;
}
public function removeModuleVideo(ModuleVideo $moduleVideo): self
{
if ($this->moduleVideos->removeElement($moduleVideo)) {
// set the owning side to null (unless already changed)
if ($moduleVideo->getAccountingFirm() === $this) {
$moduleVideo->setAccountingFirm(null);
}
}
return $this;
}
/**
* @return Collection<int, AffiliateClient>
*/
public function getAffiliateClients(): Collection
{
return $this->affiliateClients;
}
public function addAffiliateClient(AffiliateClient $affiliateClient): self
{
if (!$this->affiliateClients->contains($affiliateClient)) {
$this->affiliateClients[] = $affiliateClient;
$affiliateClient->setAccountingFirm($this);
}
return $this;
}
public function removeAffiliateClient(AffiliateClient $affiliateClient): self
{
if ($this->affiliateClients->removeElement($affiliateClient)) {
// set the owning side to null (unless already changed)
if ($affiliateClient->getAccountingFirm() === $this) {
$affiliateClient->setAccountingFirm(null);
}
}
return $this;
}
public function getHelpersFirmsToken(): ?string
{
return $this->helpersFirmsToken;
}
public function setHelpersFirmsToken(?string $helpersFirmsToken): self
{
$this->helpersFirmsToken = $helpersFirmsToken;
return $this;
}
public function getHelpersFirmsWidgetUrl(): ?string
{
return $this->helpersFirmsWidgetUrl;
}
public function setHelpersFirmsWidgetUrl(?string $helpersFirmsWidgetUrl): self
{
$this->helpersFirmsWidgetUrl = $helpersFirmsWidgetUrl;
return $this;
}
public function isEmailingClientActivate(): ?bool
{
return $this->emailingClientActivate;
}
public function setEmailingClientActivate(?bool $emailingClientActivate): self
{
$this->emailingClientActivate = $emailingClientActivate;
return $this;
}
public function getEmailingClientTokenMax(): ?int
{
return $this->emailingClientTokenMax;
}
public function setEmailingClientTokenMax(?int $emailingClientTokenMax): self
{
$this->emailingClientTokenMax = $emailingClientTokenMax;
return $this;
}
/**
* @return Collection<int, EmailingClientList>
*/
public function getEmailingClientLists(): Collection
{
return $this->emailingClientLists;
}
public function addEmailingClientList(EmailingClientList $emailingClientList): self
{
if (!$this->emailingClientLists->contains($emailingClientList)) {
$this->emailingClientLists[] = $emailingClientList;
$emailingClientList->setAccountingFirm($this);
}
return $this;
}
public function removeEmailingClientList(EmailingClientList $emailingClientList): self
{
if ($this->emailingClientLists->removeElement($emailingClientList)) {
// set the owning side to null (unless already changed)
if ($emailingClientList->getAccountingFirm() === $this) {
$emailingClientList->setAccountingFirm(null);
}
}
return $this;
}
/**
* @return Collection<int, EmailingClientCampaign>
*/
public function getEmailingClientCampaigns(): Collection
{
return $this->emailingClientCampaigns;
}
public function addEmailingClientCampaign(EmailingClientCampaign $emailingClientCampaign): self
{
if (!$this->emailingClientCampaigns->contains($emailingClientCampaign)) {
$this->emailingClientCampaigns[] = $emailingClientCampaign;
$emailingClientCampaign->setAccountingFirm($this);
}
return $this;
}
public function removeEmailingClientCampaign(EmailingClientCampaign $emailingClientCampaign): self
{
if ($this->emailingClientCampaigns->removeElement($emailingClientCampaign)) {
// set the owning side to null (unless already changed)
if ($emailingClientCampaign->getAccountingFirm() === $this) {
$emailingClientCampaign->setAccountingFirm(null);
}
}
return $this;
}
public function getEmailingClientSender(): ?string
{
return $this->emailingClientSender;
}
public function setEmailingClientSender(?string $emailingClientSender): self
{
$this->emailingClientSender = $emailingClientSender;
return $this;
}
public function getEmailingClientApi(): ?MailjetApi
{
return $this->emailingClientApi;
}
public function setEmailingClientApi(?MailjetApi $emailingClientApi): self
{
$this->emailingClientApi = $emailingClientApi;
return $this;
}
public function getDomainActivate(): bool
{
return $this->domainActivate;
}
public function setDomainActivate(bool $domainActivate): self
{
$this->domainActivate = $domainActivate;
return $this;
}
/**
* @return Collection<int, EmailingClientDesabonnement>
*/
public function getEmailingClientDesabonnements(): Collection
{
return $this->emailingClientDesabonnements;
}
public function addEmailingClientDesabonnement(EmailingClientDesabonnement $emailingClientDesabonnement): self
{
if (!$this->emailingClientDesabonnements->contains($emailingClientDesabonnement)) {
$this->emailingClientDesabonnements[] = $emailingClientDesabonnement;
$emailingClientDesabonnement->setAccountingFirm($this);
}
return $this;
}
public function removeEmailingClientDesabonnement(EmailingClientDesabonnement $emailingClientDesabonnement): self
{
if ($this->emailingClientDesabonnements->removeElement($emailingClientDesabonnement)) {
// set the owning side to null (unless already changed)
if ($emailingClientDesabonnement->getAccountingFirm() === $this) {
$emailingClientDesabonnement->setAccountingFirm(null);
}
}
return $this;
}
public function isSmsClientActivate(): ?bool
{
return $this->smsClientActivate;
}
public function setSmsClientActivate(?bool $smsClientActivate): self
{
$this->smsClientActivate = $smsClientActivate;
return $this;
}
public function getSmsClientCreditMax(): ?int
{
return $this->smsClientCreditMax;
}
public function setSmsClientCreditMax(?int $smsClientCreditMax): self
{
$this->smsClientCreditMax = $smsClientCreditMax;
return $this;
}
/**
* @return Collection<int, SmsClientList>
*/
public function getSmsClientLists(): Collection
{
return $this->smsClientLists;
}
public function addSmsClientList(SmsClientList $smsClientList): self
{
if (!$this->smsClientLists->contains($smsClientList)) {
$this->smsClientLists[] = $smsClientList;
$smsClientList->setAccountingFirm($this);
}
return $this;
}
public function removeSmsClientList(SmsClientList $smsClientList): self
{
if ($this->smsClientLists->removeElement($smsClientList)) {
// set the owning side to null (unless already changed)
if ($smsClientList->getAccountingFirm() === $this) {
$smsClientList->setAccountingFirm(null);
}
}
return $this;
}
/**
* @return Collection<int, SmsClientCampaign>
*/
public function getSmsClientCampaigns(): Collection
{
return $this->smsClientCampaigns;
}
public function addSmsClientCampaign(SmsClientCampaign $smsClientCampaign): self
{
if (!$this->smsClientCampaigns->contains($smsClientCampaign)) {
$this->smsClientCampaigns[] = $smsClientCampaign;
$smsClientCampaign->setAccountingFirm($this);
}
return $this;
}
public function removeSmsClientCampaign(SmsClientCampaign $smsClientCampaign): self
{
if ($this->smsClientCampaigns->removeElement($smsClientCampaign)) {
// set the owning side to null (unless already changed)
if ($smsClientCampaign->getAccountingFirm() === $this) {
$smsClientCampaign->setAccountingFirm(null);
}
}
return $this;
}
public function getSmsClientSender(): ?string
{
return $this->smsClientSender;
}
public function setSmsClientSender(?string $smsClientSender): self
{
$this->smsClientSender = $smsClientSender;
return $this;
}
public function getSmsClientSenderLabel(): ?string
{
return $this->smsClientSenderLabel;
}
public function setSmsClientSenderLabel(?string $smsClientSenderLabel): self
{
$this->smsClientSenderLabel = $smsClientSenderLabel;
return $this;
}
/**
* @return Collection<int, PipelineMailjet>
*/
public function getPipelineMailjets(): Collection
{
return $this->pipelineMailjets;
}
public function addPipelineMailjet(PipelineMailjet $pipelineMailjet): self
{
if (!$this->pipelineMailjets->contains($pipelineMailjet)) {
$this->pipelineMailjets[] = $pipelineMailjet;
$pipelineMailjet->setAccountingFirm($this);
}
return $this;
}
public function removePipelineMailjet(PipelineMailjet $pipelineMailjet): self
{
if ($this->pipelineMailjets->removeElement($pipelineMailjet)) {
// set the owning side to null (unless already changed)
if ($pipelineMailjet->getAccountingFirm() === $this) {
$pipelineMailjet->setAccountingFirm(null);
}
}
return $this;
}
/**
* @return Collection<int, PipelineIdentiteVisuelle>
*/
public function getPipelineIdentiteVisuelles(): Collection
{
return $this->pipelineIdentiteVisuelles;
}
public function addPipelineIdentiteVisuelle(PipelineIdentiteVisuelle $pipelineIdentiteVisuelle): self
{
if (!$this->pipelineIdentiteVisuelles->contains($pipelineIdentiteVisuelle)) {
$this->pipelineIdentiteVisuelles[] = $pipelineIdentiteVisuelle;
$pipelineIdentiteVisuelle->setAccountingFirm($this);
}
return $this;
}
public function removePipelineIdentiteVisuelle(PipelineIdentiteVisuelle $pipelineIdentiteVisuelle): self
{
if ($this->pipelineIdentiteVisuelles->removeElement($pipelineIdentiteVisuelle)) {
// set the owning side to null (unless already changed)
if ($pipelineIdentiteVisuelle->getAccountingFirm() === $this) {
$pipelineIdentiteVisuelle->setAccountingFirm(null);
}
}
return $this;
}
/**
* @return Collection<int, PipelineGmb>
*/
public function getPipelineGmbs(): Collection
{
return $this->pipelineGmbs;
}
public function addPipelineGmb(PipelineGmb $pipelineGmb): self
{
if (!$this->pipelineGmbs->contains($pipelineGmb)) {
$this->pipelineGmbs[] = $pipelineGmb;
$pipelineGmb->setAccountingFirm($this);
}
return $this;
}
public function removePipelineGmb(PipelineGmb $pipelineGmb): self
{
if ($this->pipelineGmbs->removeElement($pipelineGmb)) {
// set the owning side to null (unless already changed)
if ($pipelineGmb->getAccountingFirm() === $this) {
$pipelineGmb->setAccountingFirm(null);
}
}
return $this;
}
/**
* @return Collection<int, IdentiteVisuelleCategory>
*/
public function getIdentiteVisuelleCategories(): Collection
{
return $this->identiteVisuelleCategories;
}
public function addIdentiteVisuelleCategory(IdentiteVisuelleCategory $identiteVisuelleCategory): self
{
if (!$this->identiteVisuelleCategories->contains($identiteVisuelleCategory)) {
$this->identiteVisuelleCategories[] = $identiteVisuelleCategory;
$identiteVisuelleCategory->setAccountingFirm($this);
}
return $this;
}
public function removeIdentiteVisuelleCategory(IdentiteVisuelleCategory $identiteVisuelleCategory): self
{
if ($this->identiteVisuelleCategories->removeElement($identiteVisuelleCategory)) {
// set the owning side to null (unless already changed)
if ($identiteVisuelleCategory->getAccountingFirm() === $this) {
$identiteVisuelleCategory->setAccountingFirm(null);
}
}
return $this;
}
/**
* @return Collection<int, ContactCreationSociete>
*/
public function getContactCreationSocietes(): Collection
{
return $this->contactCreationSocietes;
}
public function addContactCreationSociete(ContactCreationSociete $contactCreationSociete): self
{
if (!$this->contactCreationSocietes->contains($contactCreationSociete)) {
$this->contactCreationSocietes[] = $contactCreationSociete;
$contactCreationSociete->setCabinet($this);
}
return $this;
}
public function removeContactCreationSociete(ContactCreationSociete $contactCreationSociete): self
{
if ($this->contactCreationSocietes->removeElement($contactCreationSociete)) {
// set the owning side to null (unless already changed)
if ($contactCreationSociete->getCabinet() === $this) {
$contactCreationSociete->setCabinet(null);
}
}
return $this;
}
/**
* @return Collection<int, ContactInvestissementImmo>
*/
public function getContactInvestissementImmos(): Collection
{
return $this->contactInvestissementImmos;
}
public function addContactInvestissementImmo(ContactInvestissementImmo $contactInvestissementImmo): self
{
if (!$this->contactInvestissementImmos->contains($contactInvestissementImmo)) {
$this->contactInvestissementImmos[] = $contactInvestissementImmo;
$contactInvestissementImmo->setAccountingFirm($this);
}
return $this;
}
public function removeContactInvestissementImmo(ContactInvestissementImmo $contactInvestissementImmo): self
{
if ($this->contactInvestissementImmos->removeElement($contactInvestissementImmo)) {
// set the owning side to null (unless already changed)
if ($contactInvestissementImmo->getAccountingFirm() === $this) {
$contactInvestissementImmo->setAccountingFirm(null);
}
}
return $this;
}
/**
* @return Collection<int, Prescriber>
*/
public function getPrescribers(): Collection
{
return $this->prescribers;
}
public function addPrescriber(Prescriber $prescriber): self
{
if (!$this->prescribers->contains($prescriber)) {
$this->prescribers[] = $prescriber;
$prescriber->setAccountingFirm($this);
}
return $this;
}
public function removePrescriber(Prescriber $prescriber): self
{
if ($this->prescribers->removeElement($prescriber)) {
// set the owning side to null (unless already changed)
if ($prescriber->getAccountingFirm() === $this) {
$prescriber->setAccountingFirm(null);
}
}
return $this;
}
public function getAnniversaireClient(): Collection
{
return $this->anniversaireClients;
}
public function addAnniversaireClient(AnniversaireClient $anniversaireClient): self
{
if (!$this->anniversaireClients->contains($anniversaireClient)) {
$this->anniversaireClients[] = $anniversaireClient;
$anniversaireClient->setAccountingFirm($this);
}
return $this;
}
public function removeAnniversaireClient(AnniversaireClient $anniversaireClient): self
{
if ($this->anniversaireClients->removeElement($anniversaireClient)) {
// set the owning side to null (unless already changed)
if ($anniversaireClient->getAccountingFirm() === $this) {
$anniversaireClient->setAccountingFirm(null);
}
}
return $this;
}
public function geteventToken(): ?string
{
return $this->eventToken;
}
public function seteventToken(?string $eventToken): self
{
$this->eventToken = $eventToken;
return $this;
}
public function geteventWidgetUrl(): ?string
{
return $this->eventWidgetUrl;
}
public function seteventWidgetUrl(?string $eventWidgetUrl): self
{
$this->eventWidgetUrl = $eventWidgetUrl;
return $this;
}
public function getSponsorshipToken(): ?string
{
return $this->sponsorshipToken;
}
public function setSponsorshipToken(?string $sponsorshipToken): self
{
$this->sponsorshipToken = $sponsorshipToken;
return $this;
}
public function getSponsorshipWidgetUrl(): ?string
{
return $this->sponsorshipWidgetUrl;
}
public function setSponsorshipWidgetUrl(?string $sponsorshipWidgetUrl): self
{
$this->sponsorshipWidgetUrl = $sponsorshipWidgetUrl;
return $this;
}
public function getSponsorshipClientRequested(): ?bool
{
return $this->sponsorshipClientRequested;
}
public function setSponsorshipClientRequested(bool $sponsorshipClientRequested): self
{
$this->sponsorshipClientRequested = $sponsorshipClientRequested;
return $this;
}
public function getSponsorshipClientActivate(): bool
{
return $this->sponsorshipClientActivate;
}
public function setSponsorshipClientActivate(bool $sponsorshipClientActivate): self
{
$this->sponsorshipClientActivate = $sponsorshipClientActivate;
return $this;
}
public function getRecommendationToken(): ?string
{
return $this->recommendationToken;
}
public function setRecommendationToken(?string $recommendationToken): self
{
$this->recommendationToken = $recommendationToken;
return $this;
}
public function getRecommendationWidgetUrl(): ?string
{
return $this->recommendationWidgetUrl;
}
public function setRecommendationWidgetUrl(?string $recommendationWidgetUrl): self
{
$this->recommendationWidgetUrl = $recommendationWidgetUrl;
return $this;
}
public function getRecommendationClientRequested(): ?bool
{
return $this->recommendationClientRequested;
}
public function setRecommendationClientRequested(bool $recommendationClientRequested): self
{
$this->recommendationClientRequested = $recommendationClientRequested;
return $this;
}
public function getEventClientRequested(): ?bool
{
return $this->eventClientRequested;
}
public function setEventClientRequested(bool $eventClientRequested): self
{
$this->eventClientRequested = $eventClientRequested;
return $this;
}
public function getRecommendationClientActivate(): bool
{
return $this->recommendationClientActivate;
}
public function setRecommendationClientActivate(bool $recommendationClientActivate): self
{
$this->recommendationClientActivate = $recommendationClientActivate;
return $this;
}
public function getSatisfactionToken(): ?string
{
return $this->satisfactionToken;
}
public function setSatisfactionToken(?string $satisfactionToken): self
{
$this->satisfactionToken = $satisfactionToken;
return $this;
}
public function isSatisfactionClientActivate(): ?bool
{
return $this->satisfactionClientActivate;
}
public function setSatisfactionClientActivate(?bool $satisfactionClientActivate): self
{
$this->satisfactionClientActivate = $satisfactionClientActivate;
return $this;
}
public function getSatisfactionWidgetUrl(): ?string
{
return $this->satisfactionWidgetUrl;
}
public function setSatisfactionWidgetUrl(?string $satisfactionWidgetUrl): self
{
$this->satisfactionWidgetUrl = $satisfactionWidgetUrl;
return $this;
}
public function getElectronicInvoiceToken(): ?string
{
return $this->electronicInvoiceToken;
}
public function setElectronicInvoiceToken(?string $electronicInvoiceToken): self
{
$this->electronicInvoiceToken = $electronicInvoiceToken;
return $this;
}
public function getElectronicInvoiceWidgetUrl(): ?string
{
return $this->electronicInvoiceWidgetUrl;
}
public function setElectronicInvoiceWidgetUrl(?string $electronicInvoiceWidgetUrl): self
{
$this->electronicInvoiceWidgetUrl = $electronicInvoiceWidgetUrl;
return $this;
}
public function getSatisfactionClientSurveys(): Collection
{
return $this->satisfactionClientSurveys;
}
public function addSatisfactionClientSurvey(SatisfactionClientSurvey $survey): self
{
if (!$this->satisfactionClientSurveys->contains($survey)) {
$this->satisfactionClientSurveys->add($survey);
$survey->setAccountingFirm($this);
}
return $this;
}
public function addCollaborator(Collaborator $collaborator): self
{
if (!$this->collaborators->contains($collaborator)) {
$this->collaborators->add($collaborator);
$collaborator->setAccountingFirm($this);
}
return $this;
}
public function removeCollaborator(Collaborator $collaborator): self
{
if ($this->collaborators->contains($collaborator)) {
$this->collaborators->removeElement($collaborator);
$collaborator->setAccountingFirm($this);
}
return $this;
}
public function getCollaborators(): Collection
{
return $this->collaborators;
}
public function setCollaborators(Collection $collaborators): self
{
$this->collaborators = $collaborators;
return $this;
}
public function isCardTrelloEventCreate(): ?bool
{
return $this->cardTrelloEventCreate;
}
public function setCardTrelloEventCreate(?bool $cardTrelloEventCreate): self
{
$this->cardTrelloEventCreate = $cardTrelloEventCreate;
return $this;
}
/**
* @return Collection<int, PipelineLinkedin>
*/
public function getPipelineLinkedins(): Collection
{
return $this->pipelineLinkedins;
}
public function addPipelineLinkedin(PipelineLinkedin $pipelineLinkedin): self
{
if (!$this->pipelineLinkedins->contains($pipelineLinkedin)) {
$this->pipelineLinkedins[] = $pipelineLinkedin;
$pipelineLinkedin->setAccountingFirm($this);
}
return $this;
}
public function removePipelineLinkedin(PipelineLinkedin $pipelineLinkedin): self
{
if ($this->pipelineLinkedins->removeElement($pipelineLinkedin)) {
// set the owning side to null (unless already changed)
if ($pipelineLinkedin->getAccountingFirm() === $this) {
$pipelineLinkedin->setAccountingFirm(null);
}
}
return $this;
}
public function getSurveyToken(): ?string
{
return $this->surveyToken;
}
public function setSurveyToken(?string $surveyToken): self
{
$this->surveyToken = $surveyToken;
return $this;
}
public function getSurveyWidgetUrl(): ?string
{
return $this->surveyWidgetUrl;
}
public function setSurveyWidgetUrl(?string $surveyWidgetUrl): self
{
$this->surveyWidgetUrl = $surveyWidgetUrl;
return $this;
}
public function getSurveyClientRequested(): ?bool
{
return $this->surveyClientRequested;
}
public function setSurveyClientRequested(bool $surveyClientRequested): self
{
$this->surveyClientRequested = $surveyClientRequested;
return $this;
}
public function getAnniversaireClientSender(): ?string
{
return $this->anniversaireClientSender;
}
public function setAnniversaireClientSender(?string $anniversaireClientSender): self
{
$this->anniversaireClientSender = $anniversaireClientSender;
return $this;
}
public function isAnniversaireClientActivate(): ?bool
{
return $this->anniversaireClientActivate;
}
public function setAnniversaireClientActivate(?bool $anniversaireClientActivate): self
{
$this->anniversaireClientActivate = $anniversaireClientActivate;
return $this;
}
public function isCardTrelloSatisfactionCreate(): ?bool
{
return $this->cardTrelloSatisfactionCreate;
}
public function setCardTrelloSatisfactionCreate(?bool $cardTrelloSatisfactionCreate): self
{
$this->cardTrelloSatisfactionCreate = $cardTrelloSatisfactionCreate;
return $this;
}
public function isPlatformEnabled(): ?bool
{
return $this->platformEnabled;
}
public function setPlatformEnabled(?bool $platformEnabled): self
{
$this->platformEnabled = $platformEnabled;
return $this;
}
/**
* @return Collection<int, ElectronicInvoiceContact>
*/
public function getElectronicInvoiceContacts(): Collection
{
return $this->electronicInvoiceContacts;
}
public function addElectronicInvoiceContact(ElectronicInvoiceContact $electronicInvoiceContact): self
{
if (!$this->electronicInvoiceContacts->contains($electronicInvoiceContact)) {
$this->electronicInvoiceContacts[] = $electronicInvoiceContact;
$electronicInvoiceContact->setAccountingFirm($this);
}
return $this;
}
public function removeElectronicInvoiceContact(ElectronicInvoiceContact $electronicInvoiceContact): self
{
if ($this->electronicInvoiceContacts->removeElement($electronicInvoiceContact)) {
// set the owning side to null (unless already changed)
if ($electronicInvoiceContact->getAccountingFirm() === $this) {
$electronicInvoiceContact->setAccountingFirm(null);
}
}
return $this;
}
public function getSepaPrelevementDate(): ?DateTimeInterface
{
return $this->sepaPrelevementDate;
}
public function setSepaPrelevementDate(?DateTimeInterface $sepaPrelevementDate): self
{
$this->sepaPrelevementDate = $sepaPrelevementDate;
return $this;
}
public function getOnboardingReplayUrl(): ?string
{
return $this->onboardingReplayUrl;
}
public function setOnboardingReplayUrl(?string $onboardingReplayUrl): self
{
$this->onboardingReplayUrl = $onboardingReplayUrl;
return $this;
}
public function getOnboardingReplayNotifiedAt(): ?\DateTimeInterface
{
return $this->onboardingReplayNotifiedAt;
}
public function setOnboardingReplayNotifiedAt(?\DateTimeInterface $onboardingReplayNotifiedAt): self
{
$this->onboardingReplayNotifiedAt = $onboardingReplayNotifiedAt;
return $this;
}
public function getOnboardingReplayCode(): ?string
{
return $this->onboardingReplayCode;
}
public function setOnboardingReplayCode(?string $onboardingReplayCode): self
{
$this->onboardingReplayCode = $onboardingReplayCode;
return $this;
}
public function getLinkedinUsername(): ?string
{
return $this->linkedinUsername;
}
public function setLinkedinUsername(?string $linkedinUsername): self
{
$this->linkedinUsername = $linkedinUsername;
return $this;
}
public function getLinkedinPassword(): ?string
{
return $this->linkedinPassword;
}
public function setLinkedinPassword(?string $linkedinPassword): self
{
$this->linkedinPassword = $linkedinPassword;
return $this;
}
public function getLinkedinPasswordUpdatedAt(): ?\DateTimeImmutable
{
return $this->linkedinPasswordUpdatedAt;
}
public function setLinkedinPasswordUpdatedAt(?\DateTimeImmutable $date): self
{
$this->linkedinPasswordUpdatedAt = $date;
return $this;
}
}