src/Entity/SagePayment.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\MDS\VenuesBundle\Entity\ReservationInvoice;
  4. use App\Repository\SagePaymentRepository;
  5. use Doctrine\ORM\Mapping as ORM;
  6. /**
  7.  * @ORM\Entity(repositoryClass=SagePaymentRepository::class)
  8.  */
  9. class SagePayment
  10. {
  11.     /**
  12.      * @ORM\Id
  13.      * @ORM\GeneratedValue
  14.      * @ORM\Column(type="integer")
  15.      */
  16.     private ?int $id null;
  17.     /**
  18.      * @ORM\ManyToOne(targetEntity=Client::class, inversedBy="sagePayments")
  19.      * @ORM\JoinColumn(nullable=false)
  20.      */
  21.     private ?Client $client null;
  22.     /**
  23.      * @ORM\Column(type="integer")
  24.      */
  25.     private ?int $paymentOrder null;
  26.     /**
  27.      * @ORM\Column(type="datetime")
  28.      */
  29.     private ?\DateTimeInterface $dueDate null;
  30.     /**
  31.      * @ORM\Column(type="datetime")
  32.      */
  33.     private ?\DateTimeInterface $issueDate null;
  34.     /**
  35.      * @ORM\Column(type="decimal", precision=10, scale=2)
  36.      */
  37.     private ?string $amount null;
  38.     /**
  39.      * @ORM\Column(type="boolean")
  40.      */
  41.     private ?bool $posted null;
  42.     /**
  43.      * @ORM\Column(type="datetime", nullable=true)
  44.      */
  45.     private ?\DateTimeInterface $paymentDate null;
  46.     /**
  47.      * @ORM\Column(type="datetime")
  48.      */
  49.     private ?\DateTimeInterface $modified null;
  50.     /**
  51.      * @ORM\Column(type="string", length=40, nullable=true)
  52.      */
  53.     private ?string $rawInvoice null;
  54.     /**
  55.      * @ORM\Column(type="string", length=20)
  56.      */
  57.     private ?string $rawClient null;
  58.     public function getId(): ?int
  59.     {
  60.         return $this->id;
  61.     }
  62.     public function getClient(): ?Client
  63.     {
  64.         return $this->client;
  65.     }
  66.     public function setClient(?Client $client): self
  67.     {
  68.         $this->client $client;
  69.         return $this;
  70.     }
  71.     public function getPaymentOrder(): ?int
  72.     {
  73.         return $this->paymentOrder;
  74.     }
  75.     public function setPaymentOrder(int $paymentOrder): self
  76.     {
  77.         $this->paymentOrder $paymentOrder;
  78.         return $this;
  79.     }
  80.     public function getDueDate(): ?\DateTimeInterface
  81.     {
  82.         return $this->dueDate;
  83.     }
  84.     public function setDueDate(\DateTimeInterface $dueDate): self
  85.     {
  86.         $this->dueDate $dueDate;
  87.         return $this;
  88.     }
  89.     public function getIssueDate(): ?\DateTimeInterface
  90.     {
  91.         return $this->issueDate;
  92.     }
  93.     public function setIssueDate(\DateTimeInterface $issueDate): self
  94.     {
  95.         $this->issueDate $issueDate;
  96.         return $this;
  97.     }
  98.     public function getAmount(): ?string
  99.     {
  100.         return $this->amount;
  101.     }
  102.     public function setAmount(string $amount): self
  103.     {
  104.         $this->amount $amount;
  105.         return $this;
  106.     }
  107.     public function isPosted(): ?bool
  108.     {
  109.         return $this->posted;
  110.     }
  111.     public function setPosted(bool $posted): self
  112.     {
  113.         $this->posted $posted;
  114.         return $this;
  115.     }
  116.     public function getPaymentDate(): ?\DateTimeInterface
  117.     {
  118.         return $this->paymentDate;
  119.     }
  120.     public function setPaymentDate(?\DateTimeInterface $paymentDate): self
  121.     {
  122.         $this->paymentDate $paymentDate;
  123.         return $this;
  124.     }
  125.     public function getModified(): ?\DateTimeInterface
  126.     {
  127.         return $this->modified;
  128.     }
  129.     public function setModified(\DateTimeInterface $modified): self
  130.     {
  131.         $this->modified $modified;
  132.         return $this;
  133.     }
  134.     public function getRawInvoice(): ?string
  135.     {
  136.         return $this->rawInvoice;
  137.     }
  138.     public function setRawInvoice(?string $rawInvoice): self
  139.     {
  140.         $this->rawInvoice $rawInvoice;
  141.         return $this;
  142.     }
  143.     public function getRawClient(): ?string
  144.     {
  145.         return $this->rawClient;
  146.     }
  147.     public function setRawClient(string $rawClient): self
  148.     {
  149.         $this->rawClient $rawClient;
  150.         return $this;
  151.     }
  152. }