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.     /**
  59.      * @ORM\ManyToOne(targetEntity=SettingsCompany::class)
  60.      * @ORM\JoinColumn(nullable=true)
  61.      */
  62.     private ?SettingsCompany $settingsCompany null;
  63.     public function getId(): ?int
  64.     {
  65.         return $this->id;
  66.     }
  67.     public function getClient(): ?Client
  68.     {
  69.         return $this->client;
  70.     }
  71.     public function setClient(?Client $client): self
  72.     {
  73.         $this->client $client;
  74.         return $this;
  75.     }
  76.     public function getSettingsCompany(): ?SettingsCompany
  77.     {
  78.         return $this->settingsCompany;
  79.     }
  80.     public function setSettingsCompany(?SettingsCompany $settingsCompany): self
  81.     {
  82.         $this->settingsCompany $settingsCompany;
  83.         return $this;
  84.     }
  85.     public function getPaymentOrder(): ?int
  86.     {
  87.         return $this->paymentOrder;
  88.     }
  89.     public function setPaymentOrder(int $paymentOrder): self
  90.     {
  91.         $this->paymentOrder $paymentOrder;
  92.         return $this;
  93.     }
  94.     public function getDueDate(): ?\DateTimeInterface
  95.     {
  96.         return $this->dueDate;
  97.     }
  98.     public function setDueDate(\DateTimeInterface $dueDate): self
  99.     {
  100.         $this->dueDate $dueDate;
  101.         return $this;
  102.     }
  103.     public function getIssueDate(): ?\DateTimeInterface
  104.     {
  105.         return $this->issueDate;
  106.     }
  107.     public function setIssueDate(\DateTimeInterface $issueDate): self
  108.     {
  109.         $this->issueDate $issueDate;
  110.         return $this;
  111.     }
  112.     public function getAmount(): ?string
  113.     {
  114.         return $this->amount;
  115.     }
  116.     public function setAmount(string $amount): self
  117.     {
  118.         $this->amount $amount;
  119.         return $this;
  120.     }
  121.     public function isPosted(): ?bool
  122.     {
  123.         return $this->posted;
  124.     }
  125.     public function setPosted(bool $posted): self
  126.     {
  127.         $this->posted $posted;
  128.         return $this;
  129.     }
  130.     public function getPaymentDate(): ?\DateTimeInterface
  131.     {
  132.         return $this->paymentDate;
  133.     }
  134.     public function setPaymentDate(?\DateTimeInterface $paymentDate): self
  135.     {
  136.         $this->paymentDate $paymentDate;
  137.         return $this;
  138.     }
  139.     public function getModified(): ?\DateTimeInterface
  140.     {
  141.         return $this->modified;
  142.     }
  143.     public function setModified(\DateTimeInterface $modified): self
  144.     {
  145.         $this->modified $modified;
  146.         return $this;
  147.     }
  148.     public function getRawInvoice(): ?string
  149.     {
  150.         return $this->rawInvoice;
  151.     }
  152.     public function setRawInvoice(?string $rawInvoice): self
  153.     {
  154.         $this->rawInvoice $rawInvoice;
  155.         return $this;
  156.     }
  157.     public function getRawClient(): ?string
  158.     {
  159.         return $this->rawClient;
  160.     }
  161.     public function setRawClient(string $rawClient): self
  162.     {
  163.         $this->rawClient $rawClient;
  164.         return $this;
  165.     }
  166. }