<?phpnamespace App\Entity;use App\MDS\VenuesBundle\Entity\ReservationInvoice;use App\Repository\SagePaymentRepository;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity(repositoryClass=SagePaymentRepository::class) */class SagePayment{ /** * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") */ private ?int $id = null; /** * @ORM\ManyToOne(targetEntity=Client::class, inversedBy="sagePayments") * @ORM\JoinColumn(nullable=false) */ private ?Client $client = null; /** * @ORM\Column(type="integer") */ private ?int $paymentOrder = null; /** * @ORM\Column(type="datetime") */ private ?\DateTimeInterface $dueDate = null; /** * @ORM\Column(type="datetime") */ private ?\DateTimeInterface $issueDate = null; /** * @ORM\Column(type="decimal", precision=10, scale=2) */ private ?string $amount = null; /** * @ORM\Column(type="boolean") */ private ?bool $posted = null; /** * @ORM\Column(type="datetime", nullable=true) */ private ?\DateTimeInterface $paymentDate = null; /** * @ORM\Column(type="datetime") */ private ?\DateTimeInterface $modified = null; /** * @ORM\Column(type="string", length=40, nullable=true) */ private ?string $rawInvoice = null; /** * @ORM\Column(type="string", length=20) */ private ?string $rawClient = null; public function getId(): ?int { return $this->id; } public function getClient(): ?Client { return $this->client; } public function setClient(?Client $client): self { $this->client = $client; return $this; } public function getPaymentOrder(): ?int { return $this->paymentOrder; } public function setPaymentOrder(int $paymentOrder): self { $this->paymentOrder = $paymentOrder; return $this; } public function getDueDate(): ?\DateTimeInterface { return $this->dueDate; } public function setDueDate(\DateTimeInterface $dueDate): self { $this->dueDate = $dueDate; return $this; } public function getIssueDate(): ?\DateTimeInterface { return $this->issueDate; } public function setIssueDate(\DateTimeInterface $issueDate): self { $this->issueDate = $issueDate; return $this; } public function getAmount(): ?string { return $this->amount; } public function setAmount(string $amount): self { $this->amount = $amount; return $this; } public function isPosted(): ?bool { return $this->posted; } public function setPosted(bool $posted): self { $this->posted = $posted; return $this; } public function getPaymentDate(): ?\DateTimeInterface { return $this->paymentDate; } public function setPaymentDate(?\DateTimeInterface $paymentDate): self { $this->paymentDate = $paymentDate; return $this; } public function getModified(): ?\DateTimeInterface { return $this->modified; } public function setModified(\DateTimeInterface $modified): self { $this->modified = $modified; return $this; } public function getRawInvoice(): ?string { return $this->rawInvoice; } public function setRawInvoice(?string $rawInvoice): self { $this->rawInvoice = $rawInvoice; return $this; } public function getRawClient(): ?string { return $this->rawClient; } public function setRawClient(string $rawClient): self { $this->rawClient = $rawClient; return $this; }}