BillingExportSetting.php 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095
  1. <?php
  2. namespace AppBundle\Entity\Billing;
  3. use AppBundle\Entity\AccessAndFunction\Access;
  4. use AppBundle\Entity\Organization\Organization;
  5. use Doctrine\Common\Collections\ArrayCollection;
  6. use Doctrine\ORM\Mapping as ORM;
  7. use Dunglas\ApiBundle\Annotation\Iri;
  8. use Symfony\Component\Serializer\Annotation\Groups;
  9. use Symfony\Component\Validator\Constraints as Assert;
  10. use AppBundle\Entity\Traits\TimestampableEntity;
  11. use AppBundle\Entity\Traits\CreatorUpdaterEntity;
  12. use AppBundle\Annotation\DefaultField;
  13. /**
  14. * Paramètres généraux des exports de Bill
  15. *
  16. * @Iri("http://schema.org/BillingExportSetting")
  17. */
  18. #[ORM\Entity]
  19. class BillingExportSetting
  20. {
  21. //todo: INSERT INTO BillingExportSetting
  22. //(`id`, `organization_id`, `idPost`, `idCollTipi`, `codColl`, `codBud`, `codProd`, `libelleColBud`,
  23. //`gestionnaire`, `nameComptable`, `updateDate`, `updatedBy`)
  24. //SELECT `id`, `organization_id`, `idPost`, `idCollTipi`, `codColl`, `codBud`, `codProd`, `libelleColBud`,
  25. //`gestionnaire` , `nameComptable`, `updateDate`, `updatedBy`
  26. //FROM PesSetting
  27. use TimestampableEntity;
  28. use CreatorUpdaterEntity;
  29. /**
  30. * @var int
  31. */
  32. #[ORM\Column(type: 'integer')]
  33. #[ORM\Id]
  34. #[ORM\GeneratedValue(strategy: 'AUTO')]
  35. #[Groups(['billingexportsetting'])]
  36. private $id;
  37. /**
  38. * @var Organization
  39. *
  40. * @DefaultField
  41. */
  42. #[ORM\OneToOne(targetEntity: 'AppBundle\Entity\Organization\Organization', inversedBy: 'billingExportSetting', fetch: 'EAGER')]
  43. #[ORM\JoinColumn(nullable: false)]
  44. #[Assert\NotNull]
  45. #[Groups(['billingexportsetting'])]
  46. private $organization;
  47. /**
  48. * @var string
  49. */
  50. #[ORM\Column(type: 'string', length: 14, nullable: true)]
  51. #[Assert\Length(max: 14, maxMessage: 'invalid-max-length')]
  52. #[Assert\Type(type: 'string')]
  53. #[Groups(['billingexportsetting'])]
  54. private $idPost;
  55. /**
  56. * @var string
  57. */
  58. #[ORM\Column(type: 'string', nullable: true)]
  59. #[Assert\Type(type: 'string')]
  60. #[Groups(['billingexportsetting'])]
  61. private $idColl;
  62. /**
  63. * @var string
  64. */
  65. #[ORM\Column(type: 'string', nullable: true)]
  66. #[Assert\Type(type: 'string')]
  67. #[Groups(['billingexportsetting'])]
  68. private $idCollTipi;
  69. /**
  70. * @var string
  71. */
  72. #[ORM\Column(type: 'string', nullable: true)]
  73. #[Assert\Type(type: 'string')]
  74. #[Groups(['billingexportsetting'])]
  75. private $codColl;
  76. /**
  77. * @var string
  78. */
  79. #[ORM\Column(type: 'string', nullable: true)]
  80. #[Assert\Type(type: 'string')]
  81. #[Groups(['billingexportsetting'])]
  82. private $codBud;
  83. /**
  84. * @var string
  85. */
  86. #[ORM\Column(type: 'string', nullable: true)]
  87. #[Assert\Type(type: 'string')]
  88. #[Groups(['billingexportsetting'])]
  89. private $codProd;
  90. /**
  91. * @var string
  92. */
  93. #[ORM\Column(type: 'string', nullable: true)]
  94. #[Assert\Type(type: 'string')]
  95. #[Groups(['billingexportsetting'])]
  96. private $libelleColBud;
  97. /**
  98. * @var string
  99. */
  100. #[ORM\Column(type: 'string', nullable: true)]
  101. #[Assert\Type(type: 'string')]
  102. #[Groups(['billingexportsetting'])]
  103. private $gestionnaire;
  104. /**
  105. * @var string
  106. */
  107. #[ORM\Column(type: 'string', nullable: true)]
  108. #[Assert\Type(type: 'string')]
  109. #[Groups(['billingexportsetting'])]
  110. private $nameComptable;
  111. /**
  112. * @var string
  113. */
  114. #[ORM\Column(type: 'string', nullable: true)]
  115. #[Assert\Type(type: 'string')]
  116. #[Groups(['billingexportsetting'])]
  117. private $creditorIban;
  118. /**
  119. * @var string
  120. */
  121. #[ORM\Column(type: 'string', nullable: true)]
  122. #[Assert\Type(type: 'string')]
  123. #[Groups(['billingexportsetting'])]
  124. private $creditorBic;
  125. /**
  126. * @var string
  127. */
  128. #[ORM\Column(type: 'string', nullable: true)]
  129. #[Assert\Type(type: 'string')]
  130. #[Groups(['billingexportsetting'])]
  131. private $creditorIcs;
  132. /**
  133. * @var string
  134. */
  135. #[ORM\Column(type: 'string', nullable: true)]
  136. #[Assert\Type(type: 'string')]
  137. #[Groups(['billingexportsetting'])]
  138. private $creditorName;
  139. /**
  140. * @var string
  141. */
  142. #[ORM\Column(type: 'string', nullable: true)]
  143. #[Assert\Type(type: 'string')]
  144. #[Groups(['billingexportsetting'])]
  145. private $creditorLineOneAddress;
  146. /**
  147. * @var string
  148. */
  149. #[ORM\Column(type: 'string', nullable: true)]
  150. #[Assert\Type(type: 'string')]
  151. #[Groups(['billingexportsetting'])]
  152. private $creditorLineTwoAddress;
  153. /**
  154. * @var string
  155. */
  156. #[ORM\Column(type: 'string', nullable: true)]
  157. #[Assert\Type(type: 'string')]
  158. #[Groups(['billingexportsetting'])]
  159. private $creditorPublicInstitution;
  160. /**
  161. * @var string
  162. */
  163. #[ORM\Column(type: 'string', nullable: true)]
  164. #[Assert\Type(type: 'string')]
  165. #[Groups(['billingexportsetting'])]
  166. private $creditorType;
  167. /**
  168. * @var string
  169. */
  170. #[ORM\Column(type: 'string', nullable: true)]
  171. #[Assert\Type(type: 'string')]
  172. #[Groups(['billingexportsetting'])]
  173. private $court;
  174. /**
  175. * @var string
  176. */
  177. #[ORM\Column(type: 'string', length: 10, nullable: true)]
  178. #[Assert\Length(max: 10, maxMessage: 'invalid-max-length')]
  179. #[Assert\Type(type: 'string')]
  180. #[Groups(['billingexportsetting'])]
  181. private $budgetaryArticleCode;
  182. /**
  183. * @var string
  184. */
  185. #[ORM\Column(type: 'string', length: 10, nullable: true)]
  186. #[Assert\Length(max: 10, maxMessage: 'invalid-max-length')]
  187. #[Assert\Type(type: 'string')]
  188. #[Groups(['billingexportsetting'])]
  189. private $rentalBudgetaryArticleCode;
  190. /**
  191. * @var string
  192. */
  193. #[ORM\Column(type: 'string', length: 15, nullable: true)]
  194. #[Assert\Length(max: 15, maxMessage: 'invalid-max-length')]
  195. #[Assert\Type(type: 'string')]
  196. #[Groups(['billingexportsetting'])]
  197. private $serviceCode;
  198. /**
  199. * @var string
  200. */
  201. #[ORM\Column(type: 'string', length: 10, nullable: true)]
  202. #[Assert\Length(max: 10, maxMessage: 'invalid-max-length')]
  203. #[Assert\Type(type: 'string')]
  204. #[Groups(['billingexportsetting'])]
  205. private $codFunction;
  206. /**
  207. * @var string
  208. */
  209. #[ORM\Column(type: 'string', length: 6, nullable: true)]
  210. #[Assert\Length(max: 6, maxMessage: 'invalid-max-length')]
  211. #[Assert\Type(type: 'string')]
  212. #[Groups(['billingexportsetting'])]
  213. private $payfipCustomerNumber;
  214. /**
  215. * @var string
  216. */
  217. #[ORM\Column(type: 'string', options: ['default' => 'TEST'])]
  218. #[Assert\Type(type: 'string')]
  219. #[Assert\Choice(callback: ['\AppBundle\Enum\Billing\PayfipStatusEnum', 'toArray'])]
  220. #[Groups(['billingexportsetting'])]
  221. private $payfipStatus = "TEST";
  222. /**
  223. * @var string
  224. */
  225. #[ORM\Column(type: 'string', length: 250, nullable: true)]
  226. #[Assert\Length(max: 250, maxMessage: 'invalid-max-length')]
  227. #[Assert\Type(type: 'string')]
  228. #[Groups(['billingexportsetting'])]
  229. private $bergerLevraultSamplingMethod;
  230. /**
  231. * @var string
  232. */
  233. #[ORM\Column(type: 'string', length: 3, nullable: true)]
  234. #[Assert\Length(max: 3, maxMessage: 'invalid-max-length')]
  235. #[Assert\Type(type: 'string')]
  236. #[Groups(['billingexportsetting'])]
  237. private $establishmentCode;
  238. /**
  239. * @var Access
  240. */
  241. #[ORM\ManyToMany(targetEntity: 'AppBundle\Entity\AccessAndFunction\Access')]
  242. #[Groups(['billingexportsetting'])]
  243. private $stageManagers;
  244. /**
  245. * @var bool
  246. */
  247. #[ORM\Column(type: 'boolean', options: ['default' => true])]
  248. #[Assert\Type(type: 'boolean')]
  249. #[Groups(['billingexportsetting'])]
  250. #[Assert\NotNull]
  251. private $payfipSeveralPayments = true;
  252. /**
  253. * @var string
  254. */
  255. #[ORM\Column(type: 'string', length: 4, nullable: true)]
  256. #[Assert\Length(max: 4, maxMessage: 'invalid-max-length')]
  257. #[Assert\Type(type: 'string')]
  258. #[Groups(['billingexportsetting'])]
  259. private $lotReference;
  260. /**
  261. * @var string
  262. */
  263. #[ORM\Column(type: 'string', length: 2, nullable: true)]
  264. #[Assert\Length(max: 2, maxMessage: 'invalid-max-length')]
  265. #[Assert\Type(type: 'string')]
  266. #[Groups(['billingexportsetting'])]
  267. private $directDebitCode;
  268. /**
  269. * @var string
  270. */
  271. #[ORM\Column(type: 'string', length: 10, nullable: true)]
  272. #[Assert\Length(max: 10, maxMessage: 'invalid-max-length')]
  273. #[Assert\Type(type: 'string')]
  274. #[Groups(['billingexportsetting'])]
  275. private $functionalCode;
  276. /**
  277. * @var string
  278. */
  279. #[ORM\Column(type: 'string', length: 10, nullable: true)]
  280. #[Assert\Length(max: 10, maxMessage: 'invalid-max-length')]
  281. #[Assert\Type(type: 'string')]
  282. #[Groups(['billingexportsetting'])]
  283. private $antenna;
  284. /**
  285. * @var string
  286. */
  287. #[ORM\Column(type: 'string', nullable: true)]
  288. #[Assert\Type(type: 'string')]
  289. #[Groups(['billingexportsetting'])]
  290. private $teneurName;
  291. /**
  292. * @var Bill
  293. */
  294. #[ORM\ManyToOne(targetEntity: 'AppBundle\Entity\Billing\SddTeneur')]
  295. #[ORM\JoinColumn(nullable: true)]
  296. #[Groups(['billingexportsetting'])]
  297. private $teneur;
  298. /**
  299. * Constructor
  300. */
  301. public function __construct()
  302. {
  303. $this->stageManagers = new ArrayCollection();
  304. }
  305. /**
  306. * Get id
  307. *
  308. * @return integer
  309. */
  310. public function getId()
  311. {
  312. return $this->id;
  313. }
  314. /**
  315. * Set organization
  316. *
  317. * @param \AppBundle\Entity\Organization\Organization $organization
  318. *
  319. * @return BillingExportSetting
  320. */
  321. public function setOrganization(\AppBundle\Entity\Organization\Organization $organization)
  322. {
  323. $this->organization = $organization;
  324. return $this;
  325. }
  326. /**
  327. * Get organization
  328. *
  329. * @return \AppBundle\Entity\Organization\Organization
  330. */
  331. public function getOrganization()
  332. {
  333. return $this->organization;
  334. }
  335. /**
  336. * Set idPost
  337. *
  338. * @param string $idPost
  339. *
  340. * @return BillingExportSetting
  341. */
  342. public function setIdPost($idPost)
  343. {
  344. $this->idPost = $idPost;
  345. return $this;
  346. }
  347. /**
  348. * Get idPost
  349. *
  350. * @return string
  351. */
  352. public function getIdPost()
  353. {
  354. return $this->idPost;
  355. }
  356. /**
  357. * Set idColl
  358. *
  359. * @param string $idColl
  360. *
  361. * @return BillingExportSetting
  362. */
  363. public function setIdColl($idColl)
  364. {
  365. $this->idColl = $idColl;
  366. return $this;
  367. }
  368. /**
  369. * Get idColl
  370. *
  371. * @return string
  372. */
  373. public function getIdColl()
  374. {
  375. return $this->idColl;
  376. }
  377. /**
  378. * Set idCollTipi
  379. *
  380. * @param string $idCollTipi
  381. *
  382. * @return BillingExportSetting
  383. */
  384. public function setIdCollTipi($idCollTipi)
  385. {
  386. $this->idCollTipi = $idCollTipi;
  387. return $this;
  388. }
  389. /**
  390. * Get idCollTipi
  391. *
  392. * @return string
  393. */
  394. public function getIdCollTipi()
  395. {
  396. return $this->idCollTipi;
  397. }
  398. /**
  399. * Set codColl
  400. *
  401. * @param string $codColl
  402. *
  403. * @return BillingExportSetting
  404. */
  405. public function setCodColl($codColl)
  406. {
  407. $this->codColl = $codColl;
  408. return $this;
  409. }
  410. /**
  411. * Get codColl
  412. *
  413. * @return string
  414. */
  415. public function getCodColl()
  416. {
  417. return $this->codColl;
  418. }
  419. /**
  420. * Set codBud
  421. *
  422. * @param string $codBud
  423. *
  424. * @return BillingExportSetting
  425. */
  426. public function setCodBud($codBud)
  427. {
  428. $this->codBud = $codBud;
  429. return $this;
  430. }
  431. /**
  432. * Get codBud
  433. *
  434. * @return string
  435. */
  436. public function getCodBud()
  437. {
  438. return $this->codBud;
  439. }
  440. /**
  441. * Set codProd
  442. *
  443. * @param string $codProd
  444. *
  445. * @return BillingExportSetting
  446. */
  447. public function setCodProd($codProd)
  448. {
  449. $this->codProd = $codProd;
  450. return $this;
  451. }
  452. /**
  453. * Get codProd
  454. *
  455. * @return string
  456. */
  457. public function getCodProd()
  458. {
  459. return $this->codProd;
  460. }
  461. /**
  462. * Get codProdPayFip
  463. *
  464. * @return string
  465. */
  466. public function getCodProdPayFip()
  467. {
  468. return mb_substr($this->codProd, 0, 2);
  469. }
  470. /**
  471. * Set libelleColBud
  472. *
  473. * @param string $libelleColBud
  474. *
  475. * @return BillingExportSetting
  476. */
  477. public function setLibelleColBud($libelleColBud)
  478. {
  479. $this->libelleColBud = $libelleColBud;
  480. return $this;
  481. }
  482. /**
  483. * Get libelleColBud
  484. *
  485. * @return string
  486. */
  487. public function getLibelleColBud()
  488. {
  489. return $this->libelleColBud;
  490. }
  491. /**
  492. * Set gestionnaire
  493. *
  494. * @param string $gestionnaire
  495. *
  496. * @return BillingExportSetting
  497. */
  498. public function setGestionnaire($gestionnaire)
  499. {
  500. $this->gestionnaire = $gestionnaire;
  501. return $this;
  502. }
  503. /**
  504. * Get gestionnaire
  505. *
  506. * @return string
  507. */
  508. public function getGestionnaire()
  509. {
  510. return $this->gestionnaire;
  511. }
  512. /**
  513. * Set nameComptable
  514. *
  515. * @param string $nameComptable
  516. *
  517. * @return BillingExportSetting
  518. */
  519. public function setNameComptable($nameComptable)
  520. {
  521. $this->nameComptable = $nameComptable;
  522. return $this;
  523. }
  524. /**
  525. * Get nameComptable
  526. *
  527. * @return string
  528. */
  529. public function getNameComptable()
  530. {
  531. return $this->nameComptable;
  532. }
  533. /**
  534. * Set creditorIban
  535. *
  536. * @param string $creditorIban
  537. *
  538. * @return BillingExportSetting
  539. */
  540. public function setCreditorIban($creditorIban)
  541. {
  542. $this->creditorIban = $creditorIban;
  543. return $this;
  544. }
  545. /**
  546. * Get creditorIban
  547. *
  548. * @return string
  549. */
  550. public function getCreditorIban()
  551. {
  552. return $this->creditorIban;
  553. }
  554. /**
  555. * Set creditorBic
  556. *
  557. * @param string $creditorBic
  558. *
  559. * @return BillingExportSetting
  560. */
  561. public function setCreditorBic($creditorBic)
  562. {
  563. $this->creditorBic = $creditorBic;
  564. return $this;
  565. }
  566. /**
  567. * Get creditorBic
  568. *
  569. * @return string
  570. */
  571. public function getCreditorBic()
  572. {
  573. return $this->creditorBic;
  574. }
  575. /**
  576. * Set creditorIcs
  577. *
  578. * @param string $creditorIcs
  579. *
  580. * @return BillingExportSetting
  581. */
  582. public function setCreditorIcs($creditorIcs)
  583. {
  584. $this->creditorIcs = $creditorIcs;
  585. return $this;
  586. }
  587. /**
  588. * Get creditorIcs
  589. *
  590. * @return string
  591. */
  592. public function getCreditorIcs()
  593. {
  594. return $this->creditorIcs;
  595. }
  596. /**
  597. * Set creditorLineOneAddress
  598. *
  599. * @param string $creditorLineOneAddress
  600. *
  601. * @return BillingExportSetting
  602. */
  603. public function setCreditorLineOneAddress($creditorLineOneAddress)
  604. {
  605. $this->creditorLineOneAddress = $creditorLineOneAddress;
  606. return $this;
  607. }
  608. /**
  609. * Get creditorLineOneAddress
  610. *
  611. * @return string
  612. */
  613. public function getCreditorLineOneAddress()
  614. {
  615. return $this->creditorLineOneAddress;
  616. }
  617. /**
  618. * Set creditorLineTwoAddress
  619. *
  620. * @param string $creditorLineTwoAddress
  621. *
  622. * @return BillingExportSetting
  623. */
  624. public function setCreditorLineTwoAddress($creditorLineTwoAddress)
  625. {
  626. $this->creditorLineTwoAddress = $creditorLineTwoAddress;
  627. return $this;
  628. }
  629. /**
  630. * Get creditorLineTwoAddress
  631. *
  632. * @return string
  633. */
  634. public function getCreditorLineTwoAddress()
  635. {
  636. return $this->creditorLineTwoAddress;
  637. }
  638. /**
  639. * Set creditorPublicInstitution
  640. *
  641. * @param string $creditorPublicInstitution
  642. *
  643. * @return BillingExportSetting
  644. */
  645. public function setCreditorPublicInstitution($creditorPublicInstitution)
  646. {
  647. $this->creditorPublicInstitution = $creditorPublicInstitution;
  648. return $this;
  649. }
  650. /**
  651. * Get creditorPublicInstitution
  652. *
  653. * @return string
  654. */
  655. public function getCreditorPublicInstitution()
  656. {
  657. return $this->creditorPublicInstitution;
  658. }
  659. /**
  660. * Set creditorType
  661. *
  662. * @param string $creditorType
  663. *
  664. * @return BillingExportSetting
  665. */
  666. public function setCreditorType($creditorType)
  667. {
  668. $this->creditorType = $creditorType;
  669. return $this;
  670. }
  671. /**
  672. * Get creditorType
  673. *
  674. * @return string
  675. */
  676. public function getCreditorType()
  677. {
  678. return $this->creditorType;
  679. }
  680. /**
  681. * Set creditorName
  682. *
  683. * @param string $creditorName
  684. *
  685. * @return BillingExportSetting
  686. */
  687. public function setCreditorName($creditorName)
  688. {
  689. $this->creditorName = $creditorName;
  690. return $this;
  691. }
  692. /**
  693. * Get creditorName
  694. *
  695. * @return string
  696. */
  697. public function getCreditorName()
  698. {
  699. return $this->creditorName;
  700. }
  701. /**
  702. * Set court
  703. *
  704. * @param string $court
  705. *
  706. * @return BillingExportSetting
  707. */
  708. public function setCourt($court)
  709. {
  710. $this->court = $court;
  711. return $this;
  712. }
  713. /**
  714. * Get court
  715. *
  716. * @return string
  717. */
  718. public function getCourt()
  719. {
  720. return $this->court;
  721. }
  722. /**
  723. * Set budgetaryArticleCode
  724. *
  725. * @param string $budgetaryArticleCode
  726. *
  727. * @return BillingExportSetting
  728. */
  729. public function setBudgetaryArticleCode($budgetaryArticleCode)
  730. {
  731. $this->budgetaryArticleCode = $budgetaryArticleCode;
  732. return $this;
  733. }
  734. /**
  735. * Get budgetaryArticleCode
  736. *
  737. * @return string
  738. */
  739. public function getBudgetaryArticleCode()
  740. {
  741. return $this->budgetaryArticleCode;
  742. }
  743. /**
  744. * Set serviceCode
  745. *
  746. * @param string $serviceCode
  747. *
  748. * @return BillingExportSetting
  749. */
  750. public function setServiceCode($serviceCode)
  751. {
  752. $this->serviceCode = $serviceCode;
  753. return $this;
  754. }
  755. /**
  756. * Get serviceCode
  757. *
  758. * @return string
  759. */
  760. public function getServiceCode()
  761. {
  762. return $this->serviceCode;
  763. }
  764. /**
  765. * Set codFunction
  766. *
  767. * @param string $codFunction
  768. *
  769. * @return BillingExportSetting
  770. */
  771. public function setCodFunction($codFunction)
  772. {
  773. $this->codFunction = $codFunction;
  774. return $this;
  775. }
  776. /**
  777. * Get codFunction
  778. *
  779. * @return string
  780. */
  781. public function getCodFunction()
  782. {
  783. return $this->codFunction;
  784. }
  785. /**
  786. * Set payfipCustomerNumber
  787. *
  788. * @param string $payfipCustomerNumber
  789. *
  790. * @return BillingExportSetting
  791. */
  792. public function setPayfipCustomerNumber($payfipCustomerNumber)
  793. {
  794. $this->payfipCustomerNumber = $payfipCustomerNumber;
  795. return $this;
  796. }
  797. /**
  798. * Get payfipCustomerNumber
  799. *
  800. * @return string
  801. */
  802. public function getPayfipCustomerNumber()
  803. {
  804. return $this->payfipCustomerNumber;
  805. }
  806. /**
  807. * @return string
  808. */
  809. public function getBergerLevraultSamplingMethod()
  810. {
  811. return $this->bergerLevraultSamplingMethod;
  812. }
  813. /**
  814. * @param string $bergerLevraultSamplingMethod
  815. */
  816. public function setBergerLevraultSamplingMethod($bergerLevraultSamplingMethod)
  817. {
  818. $this->bergerLevraultSamplingMethod = $bergerLevraultSamplingMethod;
  819. }
  820. /**
  821. * Set establishmentCode
  822. *
  823. * @param string $establishmentCode
  824. *
  825. * @return BillingExportSetting
  826. */
  827. public function setEstablishmentCode($establishmentCode)
  828. {
  829. $this->establishmentCode = $establishmentCode;
  830. return $this;
  831. }
  832. /**
  833. * Get establishmentCode
  834. *
  835. * @return string
  836. */
  837. public function getEstablishmentCode()
  838. {
  839. return $this->establishmentCode;
  840. }
  841. /**
  842. * Set payfipStatus
  843. *
  844. * @param string $payfipStatus
  845. *
  846. * @return BillingExportSetting
  847. */
  848. public function setPayfipStatus($payfipStatus)
  849. {
  850. $this->payfipStatus = $payfipStatus;
  851. return $this;
  852. }
  853. /**
  854. * Get payfipStatus
  855. *
  856. * @return string
  857. */
  858. public function getPayfipStatus()
  859. {
  860. return $this->payfipStatus;
  861. }
  862. /**
  863. * Add stageManager
  864. *
  865. * @param \AppBundle\Entity\AccessAndFunction\Access $stageManager
  866. *
  867. * @return BillingExportSetting
  868. */
  869. public function addStageManager(\AppBundle\Entity\AccessAndFunction\Access $stageManager)
  870. {
  871. $this->stageManagers[] = $stageManager;
  872. return $this;
  873. }
  874. /**
  875. * Remove stageManager
  876. *
  877. * @param \AppBundle\Entity\AccessAndFunction\Access $stageManager
  878. */
  879. public function removeStageManager(\AppBundle\Entity\AccessAndFunction\Access $stageManager)
  880. {
  881. $this->stageManagers->removeElement($stageManager);
  882. }
  883. /**
  884. * Get stageManagers
  885. *
  886. * @return \Doctrine\Common\Collections\Collection
  887. */
  888. public function getStageManagers()
  889. {
  890. return $this->stageManagers;
  891. }
  892. /**
  893. * Set rentalBudgetaryArticleCode
  894. *
  895. * @param string $rentalBudgetaryArticleCode
  896. *
  897. * @return BillingExportSetting
  898. */
  899. public function setRentalBudgetaryArticleCode($rentalBudgetaryArticleCode)
  900. {
  901. $this->rentalBudgetaryArticleCode = $rentalBudgetaryArticleCode;
  902. return $this;
  903. }
  904. /**
  905. * Get rentalBudgetaryArticleCode
  906. *
  907. * @return string
  908. */
  909. public function getRentalBudgetaryArticleCode()
  910. {
  911. return $this->rentalBudgetaryArticleCode;
  912. }
  913. /**
  914. * Set payfipSeveralPayments
  915. *
  916. * @param boolean $payfipSeveralPayments
  917. *
  918. * @return BillingExportSetting
  919. */
  920. public function setPayfipSeveralPayments($payfipSeveralPayments)
  921. {
  922. $this->payfipSeveralPayments = $payfipSeveralPayments;
  923. return $this;
  924. }
  925. /**
  926. * Get payfipSeveralPayments
  927. *
  928. * @return boolean
  929. */
  930. public function getPayfipSeveralPayments()
  931. {
  932. return $this->payfipSeveralPayments;
  933. }
  934. /**
  935. * Set lotReference
  936. *
  937. * @param string $lotReference
  938. *
  939. * @return BillingExportSetting
  940. */
  941. public function setLotReference($lotReference)
  942. {
  943. $this->lotReference = $lotReference;
  944. return $this;
  945. }
  946. /**
  947. * Get lotReference
  948. *
  949. * @return string
  950. */
  951. public function getLotReference()
  952. {
  953. return $this->lotReference;
  954. }
  955. /**
  956. * Set directDebitCode
  957. *
  958. * @param string $directDebitCode
  959. *
  960. * @return BillingExportSetting
  961. */
  962. public function setDirectDebitCode($directDebitCode)
  963. {
  964. $this->directDebitCode = $directDebitCode;
  965. return $this;
  966. }
  967. /**
  968. * Get directDebitCode
  969. *
  970. * @return string
  971. */
  972. public function getDirectDebitCode()
  973. {
  974. return $this->directDebitCode;
  975. }
  976. /**
  977. * Set functionalCode
  978. *
  979. * @param string $functionalCode
  980. *
  981. * @return BillingExportSetting
  982. */
  983. public function setFunctionalCode($functionalCode)
  984. {
  985. $this->functionalCode = $functionalCode;
  986. return $this;
  987. }
  988. /**
  989. * Get functionalCode
  990. *
  991. * @return string
  992. */
  993. public function getFunctionalCode()
  994. {
  995. return $this->functionalCode;
  996. }
  997. /**
  998. * Set antenna
  999. *
  1000. * @param string $antenna
  1001. *
  1002. * @return BillingExportSetting
  1003. */
  1004. public function setAntenna($antenna)
  1005. {
  1006. $this->antenna = $antenna;
  1007. return $this;
  1008. }
  1009. /**
  1010. * Get antenna
  1011. *
  1012. * @return string
  1013. */
  1014. public function getAntenna()
  1015. {
  1016. return $this->antenna;
  1017. }
  1018. /**
  1019. * Set teneurName
  1020. *
  1021. * @param string $teneurName
  1022. *
  1023. * @return BillingExportSetting
  1024. */
  1025. public function setTeneurName($teneurName)
  1026. {
  1027. $this->teneurName = $teneurName;
  1028. return $this;
  1029. }
  1030. /**
  1031. * Get teneurName
  1032. *
  1033. * @return string
  1034. */
  1035. public function getTeneurName()
  1036. {
  1037. return $this->teneurName;
  1038. }
  1039. /**
  1040. * Set teneur
  1041. *
  1042. * @param $teneur
  1043. */
  1044. public function setTeneur($teneur)
  1045. {
  1046. $this->teneur = $teneur;
  1047. return $this;
  1048. }
  1049. /**
  1050. * Get teneur
  1051. *
  1052. * @return
  1053. */
  1054. public function getTeneur()
  1055. {
  1056. return $this->teneur;
  1057. }
  1058. }