src/V4/Model/Prospect/ProspectSearch.php line 19

Open in your IDE?
  1. <?php
  2. namespace App\V4\Model\Prospect;
  3. use App\Model\Compare\DateCompare;
  4. use App\Model\Compare\NumberCompare;
  5. use App\Model\ProspectSpecificField\ProspectSpecificField;
  6. use App\Model\SpecificField\SpecificField;
  7. use App\Model\SpecificFieldsAwareInterface;
  8. use App\Model\Traits\BlamableTrait;
  9. use App\Model\Traits\ImportableObjectTrait;
  10. use App\Model\Traits\TimeStampableCompare;
  11. use App\V4\Model\IdSearchTrait;
  12. use Doctrine\Common\Collections\ArrayCollection;
  13. use Doctrine\Common\Collections\Collection;
  14. use Symfony\Component\Serializer\Annotation\Groups;
  15. use Symfony\Component\Serializer\Annotation\SerializedName;
  16. class ProspectSearch implements SpecificFieldsAwareInterface
  17. {
  18.     public const SPECIFIC_FIELD_CLASS_NAME ProspectSpecificField::class;
  19.     use ImportableObjectTrait;
  20.     use BlamableTrait;
  21.     use TimeStampableCompare;
  22.     use IdSearchTrait;
  23.     /**
  24.      * Raison sociale.
  25.      *
  26.      * @var string|null
  27.      *
  28.      * @Groups({"prospect:search"})
  29.      */
  30.     private $name;
  31.     /**
  32.      * @var bool|null
  33.      *
  34.      * @Groups({"prospect:search"})
  35.      */
  36.     private $tasksLinked;
  37.     /**
  38.      * @var string|null
  39.      *
  40.      * @Groups({"prospect:search"})
  41.      */
  42.     private $customerCode;
  43.     /**
  44.      * @todo refacto ce devrait etre section tout court
  45.      *
  46.      * @var array|null
  47.      *
  48.      * @Groups({"prospect:search"})
  49.      */
  50.     private $sectionName;
  51.     /**
  52.      * @var string|null
  53.      *
  54.      * @Groups({"prospect:search"})
  55.      */
  56.     private $groupName;
  57.     /**
  58.      * @var string|null
  59.      *
  60.      * @Groups({"prospect:search"})
  61.      */
  62.     private $companyMail;
  63.     /**
  64.      * @var array|null
  65.      *
  66.      * @Groups({"prospect:search"})
  67.      */
  68.     private $workforce;
  69.     /**
  70.      * Type de prospect.
  71.      *
  72.      * @var array|null
  73.      *
  74.      * @Groups({"prospect:search"})
  75.      */
  76.     private $type;
  77.     /**
  78.      * @var array|null
  79.      *
  80.      * @Groups({"prospect:search"})
  81.      */
  82.     private $sheetType;
  83.     /**
  84.      * @var array|null
  85.      *
  86.      * @Groups({"prospect:search"})
  87.      */
  88.     private $origin;
  89.     /**
  90.      * @var array|null
  91.      *
  92.      * @Groups({"prospect:search"})
  93.      */
  94.     private $potential;
  95.     /**
  96.      * @var array|null
  97.      *
  98.      * @Groups({"prospect:search"})
  99.      */
  100.     private $naf;
  101.     /**
  102.      * @var array|null
  103.      *
  104.      * @Groups({"prospect:search"})
  105.      */
  106.     private $tva;
  107.     /**
  108.      * @var array|null
  109.      *
  110.      * @Groups({"prospect:search"})
  111.      */
  112.     private $structureType;
  113.     /**
  114.      * @var array|null
  115.      *
  116.      * @SerializedName("company.legalForm.id")
  117.      *
  118.      * @Groups({"prospect:search"})
  119.      */
  120.     private $legalForm;
  121.     /**
  122.      * @var string|null
  123.      *
  124.      * @Groups({"prospect:search"})
  125.      */
  126.     private $siret;
  127.     /**
  128.      * @var string|null
  129.      *
  130.      * @Groups({"prospect:search"})
  131.      */
  132.     private $webSite;
  133.     /**
  134.      * @var NumberCompare|null
  135.      *
  136.      * @Groups({"prospect:search"})
  137.      */
  138.     private $socialCapital;
  139.     /**
  140.      * @var string|null
  141.      *
  142.      * @Groups({"prospect:search"})
  143.      */
  144.     private $fax;
  145.     /**
  146.      * @var array|null
  147.      *
  148.      * @Groups({"prospect:search"})
  149.      */
  150.     private $managedBy;
  151.     /**
  152.      * @var string|null
  153.      *
  154.      * @Groups({"prospect:search"})
  155.      */
  156.     private $myAccounts;
  157.     /**
  158.      * @var string|null
  159.      *
  160.      * @Groups({"prospect:search"})
  161.      */
  162.     private $phone;
  163.     /**
  164.      * @var string|null
  165.      *
  166.      * @Groups({"prospect:search"})
  167.      */
  168.     private $nameComplement;
  169.     /**
  170.      * @var string|null
  171.      *
  172.      * @Groups({"prospect:search"})
  173.      */
  174.     private $addressComplement;
  175.     /**
  176.      * @var string|null
  177.      *
  178.      * @Groups({"prospect:search"})
  179.      */
  180.     private $cedex;
  181.     /**
  182.      * @var string|null
  183.      *
  184.      * @Groups({"prospect:search"})
  185.      */
  186.     private $address;
  187.     /**
  188.      * @var string[]|null
  189.      *
  190.      * @Groups({"prospect:search"})
  191.      */
  192.     private $departments;
  193.     /**
  194.      * @var string|null
  195.      *
  196.      * @Groups({"prospect:search"})
  197.      */
  198.     private $zip;
  199.     /**
  200.      * @var string|null
  201.      *
  202.      * @Groups({"prospect:search"})
  203.      */
  204.     private $city;
  205.     /**
  206.      * @var array|null
  207.      *
  208.      * @Groups({"prospect:search"})
  209.      */
  210.     private $country;
  211.     /**
  212.      * @todo refacto non fonctionnel
  213.      *
  214.      * @var array|null
  215.      *
  216.      * @Groups({"prospect:search"})
  217.      */
  218.     private $devisState;
  219.     /**
  220.      * @var DateCompare|null
  221.      *
  222.      * @Groups({"prospect:search"})
  223.      */
  224.     private $creationYear;
  225.     /**
  226.      * @var string|null
  227.      *
  228.      * @Groups({"prospect:search"})
  229.      */
  230.     private $lat;
  231.     /**
  232.      * @var string|null
  233.      *
  234.      * @Groups({"prospect:search"})
  235.      */
  236.     private $lng;
  237.     /**
  238.      * @var string|null
  239.      *
  240.      * @Groups({"prospect:search"})
  241.      */
  242.     private $distance;
  243.     /**
  244.      * @var NumberCompare|null
  245.      *
  246.      * @Groups({"prospect:search"})
  247.      */
  248.     private $turnOver;
  249.     /**
  250.      * @var array|null
  251.      *
  252.      * @Groups({"prospect:search"})
  253.      */
  254.     private $taskIds = [];
  255.     /**
  256.      * @var array|null
  257.      *
  258.      * @Groups({"prospect:search"})
  259.      */
  260.     private $quoteIds = [];
  261.     /**
  262.      * @var bool|null
  263.      *
  264.      * @Groups({"prospect:search"})
  265.      */
  266.     private $isReverse false;
  267.     /**
  268.      * @var bool|null
  269.      *
  270.      * @Groups({"prospect:search"})
  271.      */
  272.     private $justLabelAndId false;
  273.     /**
  274.      * @var SpecificField[]|Collection
  275.      *
  276.      * @Groups({"prospect:search"})
  277.      */
  278.     private $specificFields;
  279.     /**
  280.      * @var bool|null
  281.      *
  282.      * @Groups({"prospect:search"})
  283.      */
  284.     private $hasSubscription null;
  285.     /**
  286.      * @var string|null
  287.      *
  288.      * @Groups({"prospect:search"})
  289.      */
  290.     private $fileLabel;
  291.     public function __construct()
  292.     {
  293.         $this->specificFields = new ArrayCollection();
  294.     }
  295.     /**
  296.      * @todo refacto voir si on laisse name et fullname ou si on change les viewOrder
  297.      *
  298.      * @Groups({"prospect:search"})
  299.      *
  300.      * @return string|null
  301.      */
  302.     public function getFullname(): ?string
  303.     {
  304.         return $this->name;
  305.     }
  306.     /**
  307.      * {@inheritdoc}
  308.      */
  309.     public function getSpecificFields(): Collection
  310.     {
  311.         return $this->specificFields;
  312.     }
  313.     /**
  314.      * {@inheritdoc}
  315.      */
  316.     public function getSpecificFieldByFieldId(string $id): ?SpecificField
  317.     {
  318.         foreach ($this->specificFields as $specificField) {
  319.             if ($specificField->getFieldId() === $id) {
  320.                 return $specificField;
  321.             }
  322.         }
  323.         return null;
  324.     }
  325.     /**
  326.      * @see ImportableObjectTrait::class
  327.      *
  328.      * @param ProspectSpecificField $specificField
  329.      *
  330.      * @return $this
  331.      */
  332.     public function addProspectSpecificField(ProspectSpecificField $specificField): self
  333.     {
  334.         return $this->addSpecificField($specificField);
  335.     }
  336.     /**
  337.      * {@inheritdoc}
  338.      */
  339.     public function addSpecificField($specificField): SpecificFieldsAwareInterface
  340.     {
  341.         $this->specificFields[] = $specificField;
  342.         return $this;
  343.     }
  344.     /**
  345.      * {@inheritdoc}
  346.      */
  347.     public function setSpecificFields(Collection $specificFields): self
  348.     {
  349.         $this->specificFields $specificFields;
  350.         return $this;
  351.     }
  352.     /**
  353.      * @return string|null
  354.      */
  355.     public function getName(): ?string
  356.     {
  357.         return $this->name;
  358.     }
  359.     /**
  360.      * @param string|null $name
  361.      *
  362.      * @return ProspectSearch
  363.      */
  364.     public function setName(?string $name): ProspectSearch
  365.     {
  366.         $this->name $name;
  367.         return $this;
  368.     }
  369.     /**
  370.      * @return bool
  371.      */
  372.     public function isTasksLinked(): ?bool
  373.     {
  374.         return $this->tasksLinked;
  375.     }
  376.     /**
  377.      * @param bool|null $tasksLinked
  378.      *
  379.      * @return ProspectSearch
  380.      */
  381.     public function setTasksLinked(?bool $tasksLinked): ProspectSearch
  382.     {
  383.         $this->tasksLinked $tasksLinked;
  384.         return $this;
  385.     }
  386.     /**
  387.      * @return string|null
  388.      */
  389.     public function getCustomerCode(): ?string
  390.     {
  391.         return $this->customerCode;
  392.     }
  393.     /**
  394.      * @param string|null $customerCode
  395.      *
  396.      * @return ProspectSearch
  397.      */
  398.     public function setCustomerCode(?string $customerCode): ProspectSearch
  399.     {
  400.         $this->customerCode $customerCode;
  401.         return $this;
  402.     }
  403.     /**
  404.      * @return array|null
  405.      */
  406.     public function getSectionName(): ?array
  407.     {
  408.         return $this->sectionName;
  409.     }
  410.     /**
  411.      * @param array|null $sectionName
  412.      *
  413.      * @return ProspectSearch
  414.      */
  415.     public function setSectionName(?array $sectionName): self
  416.     {
  417.         $this->sectionName $sectionName;
  418.         return $this;
  419.     }
  420.     /**
  421.      * @return string|null
  422.      */
  423.     public function getGroupName(): ?string
  424.     {
  425.         return $this->groupName;
  426.     }
  427.     /**
  428.      * @param string|null $groupName
  429.      *
  430.      * @return ProspectSearch
  431.      */
  432.     public function setGroupName(?string $groupName): ProspectSearch
  433.     {
  434.         $this->groupName $groupName;
  435.         return $this;
  436.     }
  437.     /**
  438.      * @return string|null
  439.      */
  440.     public function getCompanyMail(): ?string
  441.     {
  442.         return $this->companyMail;
  443.     }
  444.     /**
  445.      * @param string|null $companyMail
  446.      *
  447.      * @return ProspectSearch
  448.      */
  449.     public function setCompanyMail(?string $companyMail): ProspectSearch
  450.     {
  451.         $this->companyMail $companyMail;
  452.         return $this;
  453.     }
  454.     /**
  455.      * @return array|null
  456.      */
  457.     public function getType(): ?array
  458.     {
  459.         return $this->type;
  460.     }
  461.     /**
  462.      * @param array|null $type
  463.      *
  464.      * @return ProspectSearch
  465.      */
  466.     public function setType(?array $type): ProspectSearch
  467.     {
  468.         $this->type $type;
  469.         return $this;
  470.     }
  471.     /**
  472.      * @return array|null
  473.      */
  474.     public function getOrigin(): ?array
  475.     {
  476.         return $this->origin;
  477.     }
  478.     /**
  479.      * @param array|null $origin
  480.      *
  481.      * @return ProspectSearch
  482.      */
  483.     public function setOrigin(?array $origin): ProspectSearch
  484.     {
  485.         $this->origin $origin;
  486.         return $this;
  487.     }
  488.     /**
  489.      * @return array|null
  490.      */
  491.     public function getNaf(): ?array
  492.     {
  493.         return $this->naf;
  494.     }
  495.     /**
  496.      * @param array|null $naf
  497.      *
  498.      * @return ProspectSearch
  499.      */
  500.     public function setNaf(?array $naf): ProspectSearch
  501.     {
  502.         $this->naf $naf;
  503.         return $this;
  504.     }
  505.     /**
  506.      * @return array|null
  507.      */
  508.     public function getStructureType(): ?array
  509.     {
  510.         return $this->structureType;
  511.     }
  512.     /**
  513.      * @param array|null $structureType
  514.      *
  515.      * @return ProspectSearch
  516.      */
  517.     public function setStructureType(?array $structureType): ProspectSearch
  518.     {
  519.         $this->structureType $structureType;
  520.         return $this;
  521.     }
  522.     /**
  523.      * @return array|null
  524.      */
  525.     public function getLegalForm(): ?array
  526.     {
  527.         return $this->legalForm;
  528.     }
  529.     /**
  530.      * @param array|null $legalForm
  531.      *
  532.      * @return ProspectSearch
  533.      */
  534.     public function setLegalForm(?array $legalForm): ProspectSearch
  535.     {
  536.         $this->legalForm $legalForm;
  537.         return $this;
  538.     }
  539.     /**
  540.      * @return array|null
  541.      */
  542.     public function getManagedBy(): ?array
  543.     {
  544.         return $this->managedBy;
  545.     }
  546.     /**
  547.      * @param array|null $managedBy
  548.      *
  549.      * @return ProspectSearch
  550.      */
  551.     public function setManagedBy(?array $managedBy): ProspectSearch
  552.     {
  553.         $this->managedBy $managedBy;
  554.         return $this;
  555.     }
  556.     /**
  557.      * @return string|null
  558.      */
  559.     public function getMyAccounts(): ?string
  560.     {
  561.         return $this->myAccounts;
  562.     }
  563.     /**
  564.      * @param string|null $myAccounts
  565.      *
  566.      * @return ProspectSearch
  567.      */
  568.     public function setMyAccounts(?string $myAccounts): ProspectSearch
  569.     {
  570.         $this->myAccounts $myAccounts;
  571.         return $this;
  572.     }
  573.     /**
  574.      * @return string|null
  575.      */
  576.     public function getPhone(): ?string
  577.     {
  578.         return $this->phone;
  579.     }
  580.     /**
  581.      * @param string|null $phone
  582.      *
  583.      * @return ProspectSearch
  584.      */
  585.     public function setPhone(?string $phone): ProspectSearch
  586.     {
  587.         $this->phone $phone;
  588.         return $this;
  589.     }
  590.     /**
  591.      * @return string|null
  592.      */
  593.     public function getNameComplement(): ?string
  594.     {
  595.         return $this->nameComplement;
  596.     }
  597.     /**
  598.      * @param string|null $nameComplement
  599.      *
  600.      * @return ProspectSearch
  601.      */
  602.     public function setNameComplement(?string $nameComplement): ProspectSearch
  603.     {
  604.         $this->nameComplement $nameComplement;
  605.         return $this;
  606.     }
  607.     /**
  608.      * @return string[]|null
  609.      */
  610.     public function getDepartments(): ?array
  611.     {
  612.         return $this->departments;
  613.     }
  614.     /**
  615.      * @param string[]|null $departments
  616.      *
  617.      * @return ProspectSearch
  618.      */
  619.     public function setDepartments(?array $departments): ProspectSearch
  620.     {
  621.         $this->departments $departments;
  622.         return $this;
  623.     }
  624.     /**
  625.      * @return string|null
  626.      */
  627.     public function getZip(): ?string
  628.     {
  629.         return $this->zip;
  630.     }
  631.     /**
  632.      * @param string|null $zip
  633.      *
  634.      * @return ProspectSearch
  635.      */
  636.     public function setZip(?string $zip): ProspectSearch
  637.     {
  638.         $this->zip $zip;
  639.         return $this;
  640.     }
  641.     /**
  642.      * @return string|null
  643.      */
  644.     public function getCity(): ?string
  645.     {
  646.         return $this->city;
  647.     }
  648.     /**
  649.      * @param string|null $city
  650.      *
  651.      * @return ProspectSearch
  652.      */
  653.     public function setCity(?string $city): ProspectSearch
  654.     {
  655.         $this->city $city;
  656.         return $this;
  657.     }
  658.     /**
  659.      * @return array|null
  660.      */
  661.     public function getCountry(): ?array
  662.     {
  663.         return $this->country;
  664.     }
  665.     /**
  666.      * @param array|null $country
  667.      *
  668.      * @return ProspectSearch
  669.      */
  670.     public function setCountry(?array $country): ProspectSearch
  671.     {
  672.         $this->country $country;
  673.         return $this;
  674.     }
  675.     /**
  676.      * @return array|null
  677.      */
  678.     public function getDevisState(): ?array
  679.     {
  680.         return $this->devisState;
  681.     }
  682.     /**
  683.      * @param array|null $devisState
  684.      *
  685.      * @return ProspectSearch
  686.      */
  687.     public function setDevisState(?array $devisState): ProspectSearch
  688.     {
  689.         $this->devisState $devisState;
  690.         return $this;
  691.     }
  692.     /**
  693.      * @return DateCompare|null
  694.      */
  695.     public function getCreationYear(): ?DateCompare
  696.     {
  697.         return $this->creationYear;
  698.     }
  699.     /**
  700.      * @param DateCompare|null $creationYear
  701.      *
  702.      * @return ProspectSearch
  703.      */
  704.     public function setCreationYear(?DateCompare $creationYear): ProspectSearch
  705.     {
  706.         $this->creationYear $creationYear;
  707.         return $this;
  708.     }
  709.     /**
  710.      * @return string|null
  711.      */
  712.     public function getLat(): ?string
  713.     {
  714.         return $this->lat;
  715.     }
  716.     /**
  717.      * @param string|null $lat
  718.      *
  719.      * @return ProspectSearch
  720.      */
  721.     public function setLat(?string $lat): ProspectSearch
  722.     {
  723.         $this->lat $lat;
  724.         return $this;
  725.     }
  726.     /**
  727.      * @return string|null
  728.      */
  729.     public function getLng(): ?string
  730.     {
  731.         return $this->lng;
  732.     }
  733.     /**
  734.      * @param string|null $lng
  735.      *
  736.      * @return ProspectSearch
  737.      */
  738.     public function setLng(?string $lng): ProspectSearch
  739.     {
  740.         $this->lng $lng;
  741.         return $this;
  742.     }
  743.     /**
  744.      * @return string|null
  745.      */
  746.     public function getDistance(): ?string
  747.     {
  748.         return $this->distance;
  749.     }
  750.     /**
  751.      * @param string|null $distance
  752.      *
  753.      * @return ProspectSearch
  754.      */
  755.     public function setDistance(?string $distance): ProspectSearch
  756.     {
  757.         $this->distance $distance;
  758.         return $this;
  759.     }
  760.     /**
  761.      * @return NumberCompare|null
  762.      */
  763.     public function getTurnOver(): ?NumberCompare
  764.     {
  765.         return $this->turnOver;
  766.     }
  767.     /**
  768.      * @param NumberCompare|null $turnOver
  769.      *
  770.      * @return ProspectSearch
  771.      */
  772.     public function setTurnOver(?NumberCompare $turnOver): ProspectSearch
  773.     {
  774.         $this->turnOver $turnOver;
  775.         return $this;
  776.     }
  777.     /**
  778.      * @return array|null
  779.      */
  780.     public function getTaskIds(): ?array
  781.     {
  782.         return $this->taskIds;
  783.     }
  784.     /**
  785.      * @param array|null $taskIds
  786.      *
  787.      * @return ProspectSearch
  788.      */
  789.     public function setTaskIds(?array $taskIds): ProspectSearch
  790.     {
  791.         $this->taskIds $taskIds;
  792.         return $this;
  793.     }
  794.     /**
  795.      * @return array|null
  796.      */
  797.     public function getQuoteIds(): ?array
  798.     {
  799.         return $this->quoteIds;
  800.     }
  801.     /**
  802.      * @param array|null $quoteIds
  803.      *
  804.      * @return ProspectSearch
  805.      */
  806.     public function setQuoteIds(?array $quoteIds): ProspectSearch
  807.     {
  808.         $this->quoteIds $quoteIds;
  809.         return $this;
  810.     }
  811.     /**
  812.      * @return bool|null
  813.      */
  814.     public function getIsReverse(): ?bool
  815.     {
  816.         return $this->isReverse;
  817.     }
  818.     /**
  819.      * @param bool|null $isReverse
  820.      *
  821.      * @return ProspectSearch
  822.      */
  823.     public function setIsReverse(?bool $isReverse): ProspectSearch
  824.     {
  825.         $this->isReverse $isReverse;
  826.         return $this;
  827.     }
  828.     /**
  829.      * @return DateCompare|null
  830.      */
  831.     public function getCreatedAt(): ?DateCompare
  832.     {
  833.         return $this->createdAt;
  834.     }
  835.     /**
  836.      * @param DateCompare|null $createdAt
  837.      *
  838.      * @return ProspectSearch
  839.      */
  840.     public function setCreatedAt(?DateCompare $createdAt): ProspectSearch
  841.     {
  842.         $this->createdAt $createdAt;
  843.         return $this;
  844.     }
  845.     /**
  846.      * @return DateCompare|null
  847.      */
  848.     public function getUpdatedAt(): ?DateCompare
  849.     {
  850.         return $this->updatedAt;
  851.     }
  852.     /**
  853.      * @param DateCompare|null $updatedAt
  854.      *
  855.      * @return ProspectSearch
  856.      */
  857.     public function setUpdatedAt(?DateCompare $updatedAt): ProspectSearch
  858.     {
  859.         $this->updatedAt $updatedAt;
  860.         return $this;
  861.     }
  862.     /**
  863.      * @return string
  864.      */
  865.     public function getSiret(): ?string
  866.     {
  867.         return $this->siret;
  868.     }
  869.     /**
  870.      * @param string|null $siret
  871.      *
  872.      * @return ProspectSearch
  873.      */
  874.     public function setSiret(?string $siret): ProspectSearch
  875.     {
  876.         $this->siret $siret;
  877.         return $this;
  878.     }
  879.     /**
  880.      * @return string|null
  881.      */
  882.     public function getFax(): ?string
  883.     {
  884.         return $this->fax;
  885.     }
  886.     /**
  887.      * @param string|null $fax
  888.      *
  889.      * @return ProspectSearch
  890.      */
  891.     public function setFax(?string $fax): ProspectSearch
  892.     {
  893.         $this->fax $fax;
  894.         return $this;
  895.     }
  896.     /**
  897.      * @return string|null
  898.      */
  899.     public function getWebSite(): ?string
  900.     {
  901.         return $this->webSite;
  902.     }
  903.     /**
  904.      * @param string|null $webSite
  905.      *
  906.      * @return ProspectSearch
  907.      */
  908.     public function setWebSite(?string $webSite): ProspectSearch
  909.     {
  910.         $this->webSite $webSite;
  911.         return $this;
  912.     }
  913.     /**
  914.      * @return NumberCompare|null
  915.      */
  916.     public function getSocialCapital(): ?NumberCompare
  917.     {
  918.         return $this->socialCapital;
  919.     }
  920.     /**
  921.      * @param NumberCompare|null $socialCapital
  922.      *
  923.      * @return ProspectSearch
  924.      */
  925.     public function setSocialCapital(?NumberCompare $socialCapital): ProspectSearch
  926.     {
  927.         $this->socialCapital $socialCapital;
  928.         return $this;
  929.     }
  930.     /**
  931.      * @return string|null
  932.      */
  933.     public function getCedex(): ?string
  934.     {
  935.         return $this->cedex;
  936.     }
  937.     /**
  938.      * @param string|null $cedex
  939.      *
  940.      * @return ProspectSearch
  941.      */
  942.     public function setCedex(?string $cedex): ProspectSearch
  943.     {
  944.         $this->cedex $cedex;
  945.         return $this;
  946.     }
  947.     /**
  948.      * @return string|null
  949.      */
  950.     public function getAddress(): ?string
  951.     {
  952.         return $this->address;
  953.     }
  954.     /**
  955.      * @param string|null $address
  956.      *
  957.      * @return ProspectSearch
  958.      */
  959.     public function setAddress(?string $address): ProspectSearch
  960.     {
  961.         $this->address $address;
  962.         return $this;
  963.     }
  964.     /**
  965.      * @return array|null
  966.      */
  967.     public function getTva(): ?array
  968.     {
  969.         return $this->tva;
  970.     }
  971.     /**
  972.      * @param array|null $tva
  973.      *
  974.      * @return ProspectSearch
  975.      */
  976.     public function setTva(?array $tva): ProspectSearch
  977.     {
  978.         $this->tva $tva;
  979.         return $this;
  980.     }
  981.     /**
  982.      * @return array|null
  983.      */
  984.     public function getWorkforce(): ?array
  985.     {
  986.         return $this->workforce;
  987.     }
  988.     /**
  989.      * @param array|null $workforce
  990.      *
  991.      * @return ProspectSearch
  992.      */
  993.     public function setWorkforce(?array $workforce): ProspectSearch
  994.     {
  995.         $this->workforce $workforce;
  996.         return $this;
  997.     }
  998.     /**
  999.      * @return string|null
  1000.      */
  1001.     public function getAddressComplement(): ?string
  1002.     {
  1003.         return $this->addressComplement;
  1004.     }
  1005.     /**
  1006.      * @param string|null $addressComplement
  1007.      *
  1008.      * @return ProspectSearch
  1009.      */
  1010.     public function setAddressComplement(?string $addressComplement): ProspectSearch
  1011.     {
  1012.         $this->addressComplement $addressComplement;
  1013.         return $this;
  1014.     }
  1015.     /**
  1016.      * @return array|null
  1017.      */
  1018.     public function getSheetType(): ?array
  1019.     {
  1020.         return $this->sheetType;
  1021.     }
  1022.     /**
  1023.      * @param array|null $sheetType
  1024.      *
  1025.      * @return ProspectSearch
  1026.      */
  1027.     public function setSheetType(?array $sheetType): ProspectSearch
  1028.     {
  1029.         $this->sheetType $sheetType;
  1030.         return $this;
  1031.     }
  1032.     /**
  1033.      * @return bool|null
  1034.      */
  1035.     public function getJustLabelAndId(): ?bool
  1036.     {
  1037.         return $this->justLabelAndId;
  1038.     }
  1039.     /**
  1040.      * @param bool|null $justLabelAndId
  1041.      *
  1042.      * @return ProspectSearch
  1043.      */
  1044.     public function setJustLabelAndId(?bool $justLabelAndId): ProspectSearch
  1045.     {
  1046.         $this->justLabelAndId $justLabelAndId;
  1047.         return $this;
  1048.     }
  1049.     /**
  1050.      * @return array|null
  1051.      */
  1052.     public function getPotential(): ?array
  1053.     {
  1054.         return $this->potential;
  1055.     }
  1056.     /**
  1057.      * @param array|null $potential
  1058.      *
  1059.      * @return ProspectSearch
  1060.      */
  1061.     public function setPotential(?array $potential): ProspectSearch
  1062.     {
  1063.         $this->potential $potential;
  1064.         return $this;
  1065.     }
  1066.     /**
  1067.      * @return bool|null
  1068.      */
  1069.     public function getHasSubscription(): ?bool
  1070.     {
  1071.         return $this->hasSubscription;
  1072.     }
  1073.     /**
  1074.      * @param bool|null $hasSubscription
  1075.      *
  1076.      * @return self
  1077.      */
  1078.     public function setHasSubscription(?bool $hasSubscription): self
  1079.     {
  1080.         $this->hasSubscription $hasSubscription;
  1081.         return $this;
  1082.     }
  1083.     public function getFileLabel(): ?string
  1084.     {
  1085.         return $this->fileLabel;
  1086.     }
  1087.     public function setFileLabel(?string $fileLabel): self
  1088.     {
  1089.         $this->fileLabel $fileLabel;
  1090.         return $this;
  1091.     }
  1092. }