src/OfficeBrain/Bundle/OrderBundle/Entity/OrderCcPayment.php line 14

Open in your IDE?
  1. <?php
  2. namespace App\OfficeBrain\Bundle\OrderBundle\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. use Gedmo\Mapping\Annotation as Gedmo;
  5. use Doctrine\Common\Collections\ArrayCollection;
  6. /**
  7.  * OrderCcPayment
  8.  * 
  9.  * @ORM\Table(name="tbl_order_cc_payment", options={"type"="InnoDB","charset"="utf8","collate"="utf8_unicode_ci"})
  10.  * @ORM\Entity(repositoryClass="App\OfficeBrain\Bundle\OrderBundle\Entity\OrderCcPaymentRepository")
  11.  */
  12. class OrderCcPayment
  13. {
  14.     /**
  15.      * @var integer
  16.      *
  17.      * @ORM\Column(name="id",type="bigint", length=20 , options={"unsigned"=true})
  18.      * @ORM\Id
  19.      * @ORM\GeneratedValue(strategy="AUTO")
  20.      */
  21.     private $id;
  22.     /**
  23.      * @var integer
  24.      *
  25.      * @ORM\Column(name="user_id", type="bigint", length=20, nullable=true, options={"unsigned"=true})
  26.      */
  27.     private $userId;
  28.     /**
  29.      * @var string
  30.      *
  31.      * @ORM\Column(name="response", type="text", nullable=true)
  32.      */
  33.     private $response;
  34.     
  35.     /**
  36.      * @var string
  37.      *
  38.      * @ORM\Column(name="total_bill", type="string", nullable=true)
  39.      */
  40.     private $totalBill '0.00';
  41.     
  42.     /**
  43.      * @var string
  44.      *
  45.      * @ORM\Column(name="invoice_number", type="string", nullable=true)
  46.      */
  47.     private $invoiceNumber;
  48.     
  49.     /**
  50.      * @var string
  51.      *
  52.      * @ORM\Column(name="customer_acc_id", type="string", nullable=true)
  53.      */
  54.     private $customerAccId;
  55.     
  56.     /**
  57.      * @var string
  58.      *
  59.      * @ORM\Column(name="transaction_id", type="string", nullable=true)
  60.      */
  61.     private $transactionId;
  62.     
  63.     /**
  64.      * @var string
  65.      *
  66.      * @ORM\Column(name="payment_method", type="string", nullable=true)
  67.      */
  68.     private $paymentMethod
  69.     
  70.     /**
  71.      * @var string
  72.      *
  73.      * @ORM\Column(name="status", type="string", nullable=true)
  74.      */
  75.     private $status;
  76.     
  77.     
  78.     /**
  79.      * @var \DateTime @Gedmo\Timestampable(on="create")
  80.      * @ORM\Column(name="created_at", type="datetime", nullable=true)
  81.      */
  82.     private $createdAt;
  83.     
  84.   
  85.     /**
  86.      * Get id
  87.      *
  88.      * @return integer 
  89.      */
  90.     public function getId()
  91.     {
  92.         return $this->id;
  93.     }
  94.     /**
  95.      * Set userId
  96.      *
  97.      * @param integer $userId
  98.      * @return OrderCcPayment
  99.      */
  100.     public function setUserId($userId)
  101.     {
  102.         $this->userId $userId;
  103.         return $this;
  104.     }
  105.     /**
  106.      * Get userId
  107.      *
  108.      * @return integer 
  109.      */
  110.     public function getUserId()
  111.     {
  112.         return $this->userId;
  113.     }
  114.     /**
  115.      * Set response
  116.      *
  117.      * @param string $response
  118.      * @return OrderCcPayment
  119.      */
  120.     public function setResponse($response)
  121.     {
  122.         $this->response $response;
  123.         return $this;
  124.     }
  125.     /**
  126.      * Get response
  127.      *
  128.      * @return string 
  129.      */
  130.     public function getResponse()
  131.     {
  132.         return $this->response;
  133.     }
  134.     /**
  135.      * Set totalBill
  136.      *
  137.      * @param string $totalBill
  138.      * @return OrderCcPayment
  139.      */
  140.     public function setTotalBill($totalBill)
  141.     {
  142.         $this->totalBill $totalBill;
  143.         return $this;
  144.     }
  145.     /**
  146.      * Get totalBill
  147.      *
  148.      * @return string 
  149.      */
  150.     public function getTotalBill()
  151.     {
  152.         return $this->totalBill;
  153.     }
  154.     /**
  155.      * Set invoiceNumber
  156.      *
  157.      * @param integer $invoiceNumber
  158.      * @return OrderCcPayment
  159.      */
  160.     public function setInvoiceNumber($invoiceNumber)
  161.     {
  162.         $this->invoiceNumber $invoiceNumber;
  163.         return $this;
  164.     }
  165.     /**
  166.      * Get invoiceNumber
  167.      *
  168.      * @return string 
  169.      */
  170.     public function getInvoiceNumber()
  171.     {
  172.         return $this->invoiceNumber;
  173.     }
  174.    
  175.     /**
  176.      * Set customerAccId
  177.      *
  178.      * @param string $customerAccId
  179.      *
  180.      * @return OrderCcPayment
  181.      */
  182.     public function setCustomerAccId($customerAccId)
  183.     {
  184.         $this->customerAccId $customerAccId;
  185.         return $this;
  186.     }
  187.     /**
  188.      * Get customerAccId
  189.      *
  190.      * @return string
  191.      */
  192.     public function getCustomerAccId()
  193.     {
  194.         return $this->customerAccId;
  195.     }
  196.     /**
  197.      * Set transactionId
  198.      *
  199.      * @param string $transactionId
  200.      *
  201.      * @return OrderCcPayment
  202.      */
  203.     public function setTransactionId($transactionId)
  204.     {
  205.         $this->transactionId $transactionId;
  206.         return $this;
  207.     }
  208.     /**
  209.      * Get transactionId
  210.      *
  211.      * @return string
  212.      */
  213.     public function getTransactionId()
  214.     {
  215.         return $this->transactionId;
  216.     }
  217.     /**
  218.      * Set paymentMethod
  219.      *
  220.      * @param string $paymentMethod
  221.      *
  222.      * @return OrderCcPayment
  223.      */
  224.     public function setPaymentMethod($paymentMethod)
  225.     {
  226.         $this->paymentMethod $paymentMethod;
  227.         return $this;
  228.     }
  229.     /**
  230.      * Get paymentMethod
  231.      *
  232.      * @return string
  233.      */
  234.     public function getPaymentMethod()
  235.     {
  236.         return $this->paymentMethod;
  237.     }
  238.     
  239.     /**
  240.      * Set status
  241.      *
  242.      * @param string $status
  243.      *
  244.      * @return OrderCcPayment
  245.      */
  246.     public function setStatus($status)
  247.     {
  248.         $this->status $status;
  249.         return $this;
  250.     }
  251.     /**
  252.      * Get status
  253.      *
  254.      * @return string
  255.      */
  256.     public function getStatus()
  257.     {
  258.         return $this->status;
  259.     }
  260.     /**
  261.      * Set createdAt
  262.      *
  263.      * @param \DateTime $createdAt
  264.      * @return OrderCcPayment
  265.      */
  266.     public function setCreatedAt($createdAt)
  267.     {
  268.         $this->createdAt $createdAt;
  269.         return $this;
  270.     }
  271.     /**
  272.      * Get createdAt
  273.      *
  274.      * @return \DateTime 
  275.      */
  276.     public function getCreatedAt()
  277.     {
  278.         return $this->createdAt;
  279.     }
  280. }