src/Entity/Gos/Uniqskills/CashPayment.php line 15

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Gos\Uniqskills;
  3. use App\Entity\Gos\Orders;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * PaymentOptions
  7.  *
  8.  * @ORM\Table(name="cash_payments")
  9.  * @ORM\Entity(repositoryClass="App\Repository\Uniqskills\CashPaymentRepository")
  10.  * @ORM\HasLifecycleCallbacks
  11.  */
  12. class CashPayment
  13. {
  14.     /**
  15.      * @var int
  16.      *
  17.      * @ORM\Column(name="id", type="integer")
  18.      * @ORM\Id
  19.      * @ORM\GeneratedValue(strategy="AUTO")
  20.      */
  21.     private $id;
  22.     /**
  23.      * @ORM\OneToOne(targetEntity="App\Entity\Gos\Orders")
  24.      * @ORM\JoinColumn(name="order_id", referencedColumnName="id")
  25.      */
  26.     private $order;
  27.     /**
  28.      * @ORM\Column(type="string", length=255)
  29.      */
  30.     private $paymentLink;
  31.     /**
  32.      * @ORM\Column(type="string", length=255, nullable=true)
  33.      */
  34.     private $countryCode;
  35.     /**
  36.      * @ORM\Column(type="string", length=255, nullable=true)
  37.      */
  38.     private $payBefore;
  39.     /**
  40.      * @ORM\Column(type="string", length=255, nullable=true)
  41.      */
  42.     private $vid;
  43.     /**
  44.      * @ORM\Column(type="boolean", options={"default": false})
  45.      */
  46.     private $done;
  47.     /**
  48.      * @ORM\Column(type="boolean", nullable=true, options={"default": false})
  49.      */
  50.     private $inProgress;
  51.     /**
  52.      * @ORM\Column(type="datetime")
  53.      */
  54.     private $createdAt;
  55.     /**
  56.      * @ORM\Column(type="datetime", nullable=true)
  57.      */
  58.     private $updatedAt;
  59.     /**
  60.      * Constructor
  61.      */
  62.     public function __construct()
  63.     {
  64.     }
  65.     /**
  66.      * Get id
  67.      *
  68.      * @return int
  69.      */
  70.     public function getId()
  71.     {
  72.         return $this->id;
  73.     }
  74.     /**
  75.      * Set createdAt
  76.      *
  77.      * @param \DateTime $createdAt
  78.      *
  79.      * @return CashPayment
  80.      */
  81.     public function setCreatedAt($createdAt)
  82.     {
  83.         $this->createdAt $createdAt;
  84.         return $this;
  85.     }
  86.     /**
  87.      * Get createdAt
  88.      *
  89.      * @return \DateTime
  90.      */
  91.     public function getCreatedAt()
  92.     {
  93.         return $this->createdAt;
  94.     }
  95.     /**
  96.      * Set updatedAt
  97.      *
  98.      * @param \DateTime $updatedAt
  99.      *
  100.      * @return CashPayment
  101.      */
  102.     public function setUpdatedAt($updatedAt)
  103.     {
  104.         $this->updatedAt $updatedAt;
  105.         return $this;
  106.     }
  107.     /**
  108.      * Get updatedAt
  109.      *
  110.      * @return \DateTime
  111.      */
  112.     public function getUpdatedAt()
  113.     {
  114.         return $this->updatedAt;
  115.     }
  116.     /**
  117.      * @param Orders $order
  118.      * @return $this
  119.      */
  120.     public function serOrder(Orders $order)
  121.     {
  122.         $this->order $order;
  123.         return $this;
  124.     }
  125.     /**
  126.      * @return Orders
  127.      */
  128.     public function getOrder()
  129.     {
  130.         return $this->order;
  131.     }
  132.     /**
  133.      * @return string
  134.      */
  135.     public function getPaymentLink()
  136.     {
  137.         return $this->paymentLink;
  138.     }
  139.     /**
  140.      * @param string $oxxoLink
  141.      * @return $this
  142.      */
  143.     public function setPaymentLink($paymentLink)
  144.     {
  145.         $this->paymentLink $paymentLink;
  146.         return $this;
  147.     }
  148.     /**
  149.      * @return boolean
  150.      */
  151.     public function getDone()
  152.     {
  153.         return $this->done;
  154.     }
  155.     /**
  156.      * @param $done
  157.      * @return $this
  158.      */
  159.     public function setDone($done)
  160.     {
  161.         $this->done $done;
  162.         return $this;
  163.     }
  164.     /**
  165.      * @param $countryCode
  166.      * @return $this
  167.      */
  168.     public function setCountryCode($countryCode)
  169.     {
  170.         $this->countryCode $countryCode;
  171.         return $this;
  172.     }
  173.     /**
  174.      * @return string
  175.      */
  176.     public function getCountryCode()
  177.     {
  178.         return $this->countryCode;
  179.     }
  180.     /**
  181.      * @param $payBefore
  182.      * @return $this
  183.      */
  184.     public function setPayBefore($payBefore)
  185.     {
  186.         $this->payBefore $payBefore;
  187.         return $this;
  188.     }
  189.     /**
  190.      * @return string
  191.      */
  192.     public function getPayBefore()
  193.     {
  194.         return $this->payBefore;
  195.     }
  196.     /**
  197.      * @return string
  198.      */
  199.     public function getVid()
  200.     {
  201.         return $this->vid;
  202.     }
  203.     /**
  204.      * @param $vid
  205.      * @return $this
  206.      */
  207.     public function setVid($vid)
  208.     {
  209.         $this->vid $vid;
  210.         return $this;
  211.     }
  212.     public function getInProgress()
  213.     {
  214.         return $this->inProgress;
  215.     }
  216.     public function setInProgress($inProgress)
  217.     {
  218.         $this->inProgress $inProgress;
  219.     }
  220. }