Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- namespace PaymentBundle\Entity;
- use Doctrine\ORM\Mapping as ORM;
- use JMS\Serializer\Annotation\Groups;
- /**
- * Payment
- */
- class Payment
- {
- /**
- * @var integer
- */
- protected $id;
- /**
- * @var integer
- */
- protected $instalment;
- /**
- * @var integer
- */
- protected $havale;
- /**
- * @var string
- */
- protected $havaleDekont;
- /**
- * @Groups({"plan"})
- * @var integer
- */
- protected $price;
- /**
- * @Groups({"plan"})
- * @var string
- */
- protected $currency;
- /**
- * @var integer
- */
- protected $isItTest;
- /**
- * @var \DateTime
- */
- protected $createdAt;
- /**
- * @var string
- */
- protected $customerName;
- /**
- * @var string
- */
- protected $adminNote;
- /**
- * @var string
- */
- protected $status;
- /**
- * @var \DateTime
- */
- protected $updatedAt;
- /**
- * @var \Emlaktown\UserBundle\Entity\User
- */
- protected $user;
- /**
- * @var \Emlaktown\PlanBundle\Entity\AgencyPlan
- */
- protected $agencyPlan;
- /**
- * Get id
- *
- * @return integer
- */
- public function getId()
- {
- return $this->id;
- }
- /**
- * Set instalment
- *
- * @param integer $instalment
- * @return Payment
- */
- public function setInstalment($instalment)
- {
- $this->instalment = $instalment;
- return $this;
- }
- /**
- * Get instalment
- *
- * @return integer
- */
- public function getInstalment()
- {
- return $this->instalment;
- }
- /**
- * Set havale
- *
- * @param integer $havale
- * @return Payment
- */
- public function setHavale($havale)
- {
- $this->havale = $havale;
- return $this;
- }
- /**
- * Get havale
- *
- * @return integer
- */
- public function getHavale()
- {
- return $this->havale;
- }
- /**
- * Set price
- *
- * @param integer $price
- * @return Payment
- */
- public function setPrice($price)
- {
- $this->price = $price;
- return $this;
- }
- /**
- * Get price
- *
- * @return integer
- */
- public function getPrice()
- {
- return $this->price;
- }
- /**
- * Set currency
- *
- * @param string $currency
- * @return Payment
- */
- public function setCurrency($currency)
- {
- $this->currency = $currency;
- return $this;
- }
- /**
- * Get currency
- *
- * @return string
- */
- public function getCurrency()
- {
- return $this->currency;
- }
- /**
- * Set isItTest
- *
- * @param integer $isItTest
- * @return Payment
- */
- public function setIsItTest($isItTest)
- {
- $this->isItTest = $isItTest;
- return $this;
- }
- /**
- * Get isItTest
- *
- * @return integer
- */
- public function getIsItTest()
- {
- return $this->isItTest;
- }
- /**
- * Set havaleDekont
- *
- * @param string $havaleDekont
- * @return Payment
- */
- public function setHavaleDekont($havaleDekont)
- {
- $this->havaleDekont = $havaleDekont;
- return $this;
- }
- /**
- * Get havaleDekont
- *
- * @return string
- */
- public function getHavaleDekont()
- {
- return $this->havaleDekont;
- }
- /**
- * Set adminNote
- *
- * @param string $adminNote
- * @return Payment
- */
- public function setAdminNote($adminNote)
- {
- $this->adminNote = $adminNote;
- return $this;
- }
- /**
- * Get adminNote
- *
- * @return string
- */
- public function getAdminNote()
- {
- return $this->adminNote;
- }
- /**
- * Set createdAt
- *
- * @param \DateTime $createdAt
- * @return Payment
- */
- public function setCreatedAt($createdAt)
- {
- $this->createdAt = $createdAt;
- return $this;
- }
- /**
- * Get createdAt
- *
- * @return \DateTime
- */
- public function getCreatedAt()
- {
- return $this->createdAt;
- }
- /**
- * Set customerName
- *
- * @param string $customerName
- * @return Payment
- */
- public function setCustomerName($customerName)
- {
- $this->customerName = $customerName;
- return $this;
- }
- /**
- * Get customerName
- *
- * @return string
- */
- public function getCustomerName()
- {
- return $this->customerName;
- }
- /**
- * Set status
- *
- * @param string $status
- * @return Payment
- */
- public function setStatus($status)
- {
- $this->status = $status;
- return $this;
- }
- /**
- * Get status
- *
- * @return string
- */
- public function getStatus()
- {
- return $this->status;
- }
- /**
- * Set updatedAt
- *
- * @param \DateTime $updatedAt
- * @return Payment
- */
- public function setUpdatedAt($updatedAt)
- {
- $this->updatedAt = $updatedAt;
- return $this;
- }
- /**
- * Get updatedAt
- *
- * @return \DateTime
- */
- public function getUpdatedAt()
- {
- return $this->updatedAt;
- }
- /**
- * Set user
- *
- * @param \Emlaktown\UserBundle\Entity\User $user
- * @return Payment
- */
- public function setUser(\Emlaktown\UserBundle\Entity\User $user)
- {
- $this->user = $user;
- return $this;
- }
- /**
- * Get user
- *
- * @return \Emlaktown\UserBundle\Entity\User
- */
- public function getUser()
- {
- return $this->user;
- }
- /**
- * Set agencyPlan
- *
- * @param \Emlaktown\PlanBundle\Entity\AgencyPlan $agencyPlan
- * @return Payment
- */
- public function setAgencyPlan(\Emlaktown\PlanBundle\Entity\AgencyPlan $agencyPlan = null)
- {
- $this->agencyPlan = $agencyPlan;
- return $this;
- }
- /**
- * Get agencyPlan
- *
- * @return \Emlaktown\PlanBundle\Entity\AgencyPlan
- */
- public function getAgencyPlan()
- {
- return $this->agencyPlan;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement