PayfipPaymentReturn.php 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471
  1. <?php
  2. namespace AppBundle\Entity\Billing;
  3. use AppBundle\Entity\AccessAndFunction\Access;
  4. use AppBundle\Entity\Booking\EducationalProject;
  5. use AppBundle\Entity\Core\File;
  6. use AppBundle\Entity\Product\EquipmentLoan;
  7. use Doctrine\ORM\Mapping as ORM;
  8. use Dunglas\ApiBundle\Annotation\Iri;
  9. use Symfony\Component\Serializer\Annotation\Groups;
  10. use Symfony\Component\Validator\Constraints as Assert;
  11. use AppBundle\Entity\Traits\TimestampableEntity;
  12. use AppBundle\Entity\Traits\CreatorUpdaterEntity;
  13. use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity;
  14. use Doctrine\Common\Collections\ArrayCollection;
  15. /**
  16. * PayfipReturn
  17. *
  18. * @see http://schema.org/PayfipPaymentReturn Documentation on Schema.org
  19. *
  20. * @Iri("http://schema.org/PayfipPaymentReturn")
  21. */
  22. #[ORM\Entity]
  23. class PayfipPaymentReturn
  24. {
  25. use TimestampableEntity;
  26. use CreatorUpdaterEntity;
  27. /**
  28. * @var int
  29. */
  30. #[ORM\Column(type: 'integer')]
  31. #[ORM\Id]
  32. #[ORM\GeneratedValue(strategy: 'AUTO')]
  33. #[Groups(['pes', 'pes_list', 'billaccounting_list'])]
  34. private $id;
  35. /**
  36. * @var Bill
  37. */
  38. #[ORM\ManyToOne(targetEntity: 'AppBundle\Entity\Billing\Bill', cascade: ['persist'])]
  39. #[ORM\JoinColumn(nullable: false)]
  40. #[Assert\NotNull]
  41. #[Groups(['payfipreturn'])]
  42. private $bill;
  43. /**
  44. * @var int
  45. */
  46. #[ORM\Column(type: 'integer', nullable: true)]
  47. #[Groups(['payfipreturn'])]
  48. private $numcli;
  49. /**
  50. * @var int
  51. */
  52. #[ORM\Column(type: 'integer', nullable: true)]
  53. #[Groups(['payfipreturn'])]
  54. private $exerc;
  55. /**
  56. * @var string
  57. */
  58. #[ORM\Column(type: 'string', nullable: true)]
  59. #[Assert\Type(type: 'string')]
  60. #[Groups(['payfipreturn'])]
  61. private $refdet;
  62. /**
  63. * @var string
  64. */
  65. #[ORM\Column(type: 'string', nullable: true)]
  66. #[Assert\Type(type: 'string')]
  67. #[Groups(['payfipreturn'])]
  68. private $object;
  69. /**
  70. * @var int
  71. */
  72. #[ORM\Column(type: 'integer', nullable: true)]
  73. #[Groups(['payfipreturn'])]
  74. private $montant;
  75. /**
  76. * @var string
  77. */
  78. #[ORM\Column(type: 'string', nullable: true)]
  79. #[Assert\Type(type: 'string')]
  80. #[Groups(['payfipreturn'])]
  81. private $mel;
  82. /**
  83. * @var string
  84. */
  85. #[ORM\Column(type: 'string', nullable: true)]
  86. #[Assert\Type(type: 'string')]
  87. #[Groups(['payfipreturn'])]
  88. private $urlcl;
  89. /**
  90. * @var string
  91. */
  92. #[ORM\Column(type: 'string', nullable: true)]
  93. #[Assert\Type(type: 'string')]
  94. #[Groups(['payfipreturn'])]
  95. private $saisie;
  96. /**
  97. * @var string
  98. */
  99. #[ORM\Column(type: 'string', nullable: true)]
  100. #[Assert\Type(type: 'string')]
  101. #[Groups(['payfipreturn'])]
  102. private $resultrans;
  103. /**
  104. * @var string
  105. */
  106. #[ORM\Column(type: 'string', nullable: true)]
  107. #[Assert\Type(type: 'string')]
  108. #[Groups(['payfipreturn'])]
  109. private $numautoCb;
  110. /**
  111. * @var string
  112. */
  113. #[ORM\Column(type: 'string', nullable: true)]
  114. #[Assert\Type(type: 'string')]
  115. #[Groups(['payfipreturn'])]
  116. private $numautoPrel;
  117. /**
  118. * @var \DateTime
  119. */
  120. #[ORM\Column(type: 'date', nullable: true)]
  121. #[Assert\Date]
  122. #[Groups(['pes', 'pes_list'])]
  123. private $dattrans;
  124. /**
  125. * @var \DateTime
  126. */
  127. #[ORM\Column(type: 'date', nullable: true)]
  128. #[Assert\Date]
  129. #[Groups(['pes', 'pes_list'])]
  130. private $heurtrans;
  131. /**
  132. * The constructor
  133. */
  134. public function __construct() {
  135. $this->bills = new ArrayCollection();
  136. }
  137. /**
  138. * Sets id.
  139. *
  140. * @param int $id
  141. *
  142. * @return $this
  143. */
  144. public function setId($id)
  145. {
  146. $this->id = $id;
  147. return $this;
  148. }
  149. /**
  150. * Gets id.
  151. *
  152. * @return int
  153. */
  154. public function getId()
  155. {
  156. return $this->id;
  157. }
  158. /**
  159. * Set numcli
  160. *
  161. * @param integer $numcli
  162. *
  163. * @return PayfipReturn
  164. */
  165. public function setNumcli($numcli)
  166. {
  167. $this->numcli = $numcli;
  168. return $this;
  169. }
  170. /**
  171. * Get numcli
  172. *
  173. * @return integer
  174. */
  175. public function getNumcli()
  176. {
  177. return $this->numcli;
  178. }
  179. /**
  180. * Set exerc
  181. *
  182. * @param integer $exerc
  183. *
  184. * @return PayfipReturn
  185. */
  186. public function setExerc($exerc)
  187. {
  188. $this->exerc = $exerc;
  189. return $this;
  190. }
  191. /**
  192. * Get exerc
  193. *
  194. * @return integer
  195. */
  196. public function getExerc()
  197. {
  198. return $this->exerc;
  199. }
  200. /**
  201. * Set refdet
  202. *
  203. * @param string $refdet
  204. *
  205. * @return PayfipReturn
  206. */
  207. public function setRefdet($refdet)
  208. {
  209. $this->refdet = $refdet;
  210. return $this;
  211. }
  212. /**
  213. * Get refdet
  214. *
  215. * @return string
  216. */
  217. public function getRefdet()
  218. {
  219. return $this->refdet;
  220. }
  221. /**
  222. * Set object
  223. *
  224. * @param string $object
  225. *
  226. * @return PayfipReturn
  227. */
  228. public function setObject($object)
  229. {
  230. $this->object = $object;
  231. return $this;
  232. }
  233. /**
  234. * Get object
  235. *
  236. * @return string
  237. */
  238. public function getObject()
  239. {
  240. return $this->object;
  241. }
  242. /**
  243. * Set montant
  244. *
  245. * @param integer $montant
  246. *
  247. * @return PayfipReturn
  248. */
  249. public function setMontant($montant)
  250. {
  251. $this->montant = $montant;
  252. return $this;
  253. }
  254. /**
  255. * Get montant
  256. *
  257. * @return integer
  258. */
  259. public function getMontant()
  260. {
  261. return $this->montant;
  262. }
  263. /**
  264. * Set mel
  265. *
  266. * @param string $mel
  267. *
  268. * @return PayfipReturn
  269. */
  270. public function setMel($mel)
  271. {
  272. $this->mel = $mel;
  273. return $this;
  274. }
  275. /**
  276. * Get mel
  277. *
  278. * @return string
  279. */
  280. public function getMel()
  281. {
  282. return $this->mel;
  283. }
  284. /**
  285. * Set urlcl
  286. *
  287. * @param string $urlcl
  288. *
  289. * @return PayfipReturn
  290. */
  291. public function setUrlcl($urlcl)
  292. {
  293. $this->urlcl = $urlcl;
  294. return $this;
  295. }
  296. /**
  297. * Get urlcl
  298. *
  299. * @return string
  300. */
  301. public function getUrlcl()
  302. {
  303. return $this->urlcl;
  304. }
  305. /**
  306. * Set saisie
  307. *
  308. * @param string $saisie
  309. *
  310. * @return PayfipReturn
  311. */
  312. public function setSaisie($saisie)
  313. {
  314. $this->saisie = $saisie;
  315. return $this;
  316. }
  317. /**
  318. * Get saisie
  319. *
  320. * @return string
  321. */
  322. public function getSaisie()
  323. {
  324. return $this->saisie;
  325. }
  326. /**
  327. * Set resultrans
  328. *
  329. * @param string $resultrans
  330. *
  331. * @return PayfipReturn
  332. */
  333. public function setResultrans($resultrans)
  334. {
  335. $this->resultrans = $resultrans;
  336. return $this;
  337. }
  338. /**
  339. * Get resultrans
  340. *
  341. * @return string
  342. */
  343. public function getResultrans()
  344. {
  345. return $this->resultrans;
  346. }
  347. /**
  348. * Set numautoCb
  349. *
  350. * @param string $numautoCb
  351. *
  352. * @return PayfipReturn
  353. */
  354. public function setNumautoCb($numautoCb)
  355. {
  356. $this->numautoCb = $numautoCb;
  357. return $this;
  358. }
  359. /**
  360. * Get numautoCb
  361. *
  362. * @return string
  363. */
  364. public function getNumautoCb()
  365. {
  366. return $this->numautoCb;
  367. }
  368. /**
  369. * Set numautoPrel
  370. *
  371. * @param string $numautoPrel
  372. *
  373. * @return PayfipReturn
  374. */
  375. public function setNumautoPrel($numautoPrel)
  376. {
  377. $this->numautoPrel = $numautoPrel;
  378. return $this;
  379. }
  380. /**
  381. * Get numautoPrel
  382. *
  383. * @return string
  384. */
  385. public function getNumautoPrel()
  386. {
  387. return $this->numautoPrel;
  388. }
  389. /**
  390. * Set dattrans
  391. *
  392. * @param \DateTime $dattrans
  393. *
  394. * @return PayfipReturn
  395. */
  396. public function setDattrans($dattrans)
  397. {
  398. $this->dattrans = $dattrans;
  399. return $this;
  400. }
  401. /**
  402. * Get dattrans
  403. *
  404. * @return \DateTime
  405. */
  406. public function getDattrans()
  407. {
  408. return $this->dattrans;
  409. }
  410. /**
  411. * Set heurtrans
  412. *
  413. * @param \DateTime $heurtrans
  414. *
  415. * @return PayfipReturn
  416. */
  417. public function setHeurtrans($heurtrans)
  418. {
  419. $this->heurtrans = $heurtrans;
  420. return $this;
  421. }
  422. /**
  423. * Get heurtrans
  424. *
  425. * @return \DateTime
  426. */
  427. public function getHeurtrans()
  428. {
  429. return $this->heurtrans;
  430. }
  431. /**
  432. * Set bill
  433. *
  434. * @param \AppBundle\Entity\Billing\Bill $bill
  435. *
  436. * @return PayfipPaymentReturn
  437. */
  438. public function setBill(\AppBundle\Entity\Billing\Bill $bill)
  439. {
  440. $this->bill = $bill;
  441. return $this;
  442. }
  443. /**
  444. * Get bill
  445. *
  446. * @return \AppBundle\Entity\Billing\Bill
  447. */
  448. public function getBill()
  449. {
  450. return $this->bill;
  451. }
  452. }