Advertisement
Guest User

Untitled

a guest
Mar 24th, 2019
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.00 KB | None | 0 0
  1. <?php
  2.  
  3. namespace PaymentBundle\Entity;
  4.  
  5. use Doctrine\ORM\Mapping as ORM;
  6. use JMS\Serializer\Annotation\Groups;
  7.  
  8. /**
  9. * Payment
  10. */
  11. class Payment
  12. {
  13. /**
  14. * @var integer
  15. */
  16. protected $id;
  17.  
  18. /**
  19. * @var integer
  20. */
  21. protected $instalment;
  22.  
  23. /**
  24. * @var integer
  25. */
  26. protected $havale;
  27.  
  28. /**
  29. * @var string
  30. */
  31. protected $havaleDekont;
  32.  
  33. /**
  34. * @Groups({"plan"})
  35. * @var integer
  36. */
  37. protected $price;
  38.  
  39. /**
  40. * @Groups({"plan"})
  41. * @var string
  42. */
  43. protected $currency;
  44.  
  45. /**
  46. * @var integer
  47. */
  48. protected $isItTest;
  49.  
  50. /**
  51. * @var \DateTime
  52. */
  53. protected $createdAt;
  54.  
  55. /**
  56. * @var string
  57. */
  58. protected $customerName;
  59.  
  60. /**
  61. * @var string
  62. */
  63. protected $adminNote;
  64.  
  65. /**
  66. * @var string
  67. */
  68. protected $status;
  69.  
  70. /**
  71. * @var \DateTime
  72. */
  73. protected $updatedAt;
  74.  
  75. /**
  76. * @var \Emlaktown\UserBundle\Entity\User
  77. */
  78. protected $user;
  79.  
  80. /**
  81. * @var \Emlaktown\PlanBundle\Entity\AgencyPlan
  82. */
  83. protected $agencyPlan;
  84.  
  85. /**
  86. * Get id
  87. *
  88. * @return integer
  89. */
  90. public function getId()
  91. {
  92. return $this->id;
  93. }
  94.  
  95. /**
  96. * Set instalment
  97. *
  98. * @param integer $instalment
  99. * @return Payment
  100. */
  101. public function setInstalment($instalment)
  102. {
  103. $this->instalment = $instalment;
  104.  
  105. return $this;
  106. }
  107.  
  108. /**
  109. * Get instalment
  110. *
  111. * @return integer
  112. */
  113. public function getInstalment()
  114. {
  115. return $this->instalment;
  116. }
  117.  
  118. /**
  119. * Set havale
  120. *
  121. * @param integer $havale
  122. * @return Payment
  123. */
  124. public function setHavale($havale)
  125. {
  126. $this->havale = $havale;
  127.  
  128. return $this;
  129. }
  130.  
  131. /**
  132. * Get havale
  133. *
  134. * @return integer
  135. */
  136. public function getHavale()
  137. {
  138. return $this->havale;
  139. }
  140.  
  141. /**
  142. * Set price
  143. *
  144. * @param integer $price
  145. * @return Payment
  146. */
  147. public function setPrice($price)
  148. {
  149. $this->price = $price;
  150.  
  151. return $this;
  152. }
  153.  
  154. /**
  155. * Get price
  156. *
  157. * @return integer
  158. */
  159. public function getPrice()
  160. {
  161. return $this->price;
  162. }
  163.  
  164. /**
  165. * Set currency
  166. *
  167. * @param string $currency
  168. * @return Payment
  169. */
  170. public function setCurrency($currency)
  171. {
  172. $this->currency = $currency;
  173.  
  174. return $this;
  175. }
  176.  
  177. /**
  178. * Get currency
  179. *
  180. * @return string
  181. */
  182. public function getCurrency()
  183. {
  184. return $this->currency;
  185. }
  186.  
  187. /**
  188. * Set isItTest
  189. *
  190. * @param integer $isItTest
  191. * @return Payment
  192. */
  193. public function setIsItTest($isItTest)
  194. {
  195. $this->isItTest = $isItTest;
  196.  
  197. return $this;
  198. }
  199.  
  200. /**
  201. * Get isItTest
  202. *
  203. * @return integer
  204. */
  205. public function getIsItTest()
  206. {
  207. return $this->isItTest;
  208. }
  209.  
  210. /**
  211. * Set havaleDekont
  212. *
  213. * @param string $havaleDekont
  214. * @return Payment
  215. */
  216. public function setHavaleDekont($havaleDekont)
  217. {
  218. $this->havaleDekont = $havaleDekont;
  219.  
  220. return $this;
  221. }
  222.  
  223. /**
  224. * Get havaleDekont
  225. *
  226. * @return string
  227. */
  228. public function getHavaleDekont()
  229. {
  230. return $this->havaleDekont;
  231. }
  232.  
  233. /**
  234. * Set adminNote
  235. *
  236. * @param string $adminNote
  237. * @return Payment
  238. */
  239. public function setAdminNote($adminNote)
  240. {
  241. $this->adminNote = $adminNote;
  242.  
  243. return $this;
  244. }
  245.  
  246. /**
  247. * Get adminNote
  248. *
  249. * @return string
  250. */
  251. public function getAdminNote()
  252. {
  253. return $this->adminNote;
  254. }
  255.  
  256. /**
  257. * Set createdAt
  258. *
  259. * @param \DateTime $createdAt
  260. * @return Payment
  261. */
  262. public function setCreatedAt($createdAt)
  263. {
  264. $this->createdAt = $createdAt;
  265.  
  266. return $this;
  267. }
  268.  
  269. /**
  270. * Get createdAt
  271. *
  272. * @return \DateTime
  273. */
  274. public function getCreatedAt()
  275. {
  276. return $this->createdAt;
  277. }
  278.  
  279. /**
  280. * Set customerName
  281. *
  282. * @param string $customerName
  283. * @return Payment
  284. */
  285. public function setCustomerName($customerName)
  286. {
  287. $this->customerName = $customerName;
  288.  
  289. return $this;
  290. }
  291.  
  292. /**
  293. * Get customerName
  294. *
  295. * @return string
  296. */
  297. public function getCustomerName()
  298. {
  299. return $this->customerName;
  300. }
  301.  
  302. /**
  303. * Set status
  304. *
  305. * @param string $status
  306. * @return Payment
  307. */
  308. public function setStatus($status)
  309. {
  310. $this->status = $status;
  311.  
  312. return $this;
  313. }
  314.  
  315. /**
  316. * Get status
  317. *
  318. * @return string
  319. */
  320. public function getStatus()
  321. {
  322. return $this->status;
  323. }
  324.  
  325. /**
  326. * Set updatedAt
  327. *
  328. * @param \DateTime $updatedAt
  329. * @return Payment
  330. */
  331. public function setUpdatedAt($updatedAt)
  332. {
  333. $this->updatedAt = $updatedAt;
  334.  
  335. return $this;
  336. }
  337.  
  338. /**
  339. * Get updatedAt
  340. *
  341. * @return \DateTime
  342. */
  343. public function getUpdatedAt()
  344. {
  345. return $this->updatedAt;
  346. }
  347.  
  348. /**
  349. * Set user
  350. *
  351. * @param \Emlaktown\UserBundle\Entity\User $user
  352. * @return Payment
  353. */
  354. public function setUser(\Emlaktown\UserBundle\Entity\User $user)
  355. {
  356. $this->user = $user;
  357.  
  358. return $this;
  359. }
  360.  
  361. /**
  362. * Get user
  363. *
  364. * @return \Emlaktown\UserBundle\Entity\User
  365. */
  366. public function getUser()
  367. {
  368. return $this->user;
  369. }
  370.  
  371. /**
  372. * Set agencyPlan
  373. *
  374. * @param \Emlaktown\PlanBundle\Entity\AgencyPlan $agencyPlan
  375. * @return Payment
  376. */
  377. public function setAgencyPlan(\Emlaktown\PlanBundle\Entity\AgencyPlan $agencyPlan = null)
  378. {
  379. $this->agencyPlan = $agencyPlan;
  380.  
  381. return $this;
  382. }
  383.  
  384. /**
  385. * Get agencyPlan
  386. *
  387. * @return \Emlaktown\PlanBundle\Entity\AgencyPlan
  388. */
  389. public function getAgencyPlan()
  390. {
  391. return $this->agencyPlan;
  392. }
  393. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement