src/Entity/PaymentIntention.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\PaymentIntentionRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. use phpseclib3\Math\PrimeField\Integer;
  6. /**
  7.  * @ORM\Entity(repositoryClass=PaymentIntentionRepository::class)
  8.  */
  9. class PaymentIntention
  10. {
  11.     /**
  12.      * @ORM\Id
  13.      * @ORM\GeneratedValue
  14.      * @ORM\Column(type="integer")
  15.      */
  16.     private $id;
  17.     /**
  18.      * @ORM\Column(type="string", length=50)
  19.      */
  20.     private $reference;
  21.     /**
  22.      * @ORM\Column(type="float")
  23.      */
  24.     private $amount;
  25.     /**
  26.      * @ORM\Column(type="string", length=3)
  27.      */
  28.     private $moneda;
  29.     /**
  30.      * @ORM\Column(type="string", length=40, nullable=true)
  31.      */
  32.     private $promociones;
  33.     /**
  34.      * @ORM\Column(type="datetime", nullable=true)
  35.      */
  36.     private $fh_vigencia;
  37.     /**
  38.      * @ORM\Column(type="integer", nullable=true)
  39.      */
  40.     private $payment_status;
  41.     /**
  42.      * @ORM\Column(type="text", nullable=true)
  43.      */
  44.     private $xml_request;
  45.     /**
  46.      * @ORM\Column(type="text", nullable=true)
  47.      */
  48.     private $original_xml_request;
  49.     /**
  50.      * @ORM\Column(type="text", nullable=true)
  51.      */
  52.     private $original_xml_response;
  53.     /**
  54.      * @ORM\Column(type="datetime", nullable=true)
  55.      */
  56.     private $response_received_at;
  57.     /**
  58.      * @ORM\Column(type="datetime", nullable=true)
  59.      */
  60.     private $create_at;
  61.     /**
  62.      * @ORM\Column(type="datetime", nullable=true)
  63.      */
  64.     private $update_at;
  65.     /**
  66.      * @ORM\ManyToOne(targetEntity=ConsumerWebService::class)
  67.      */
  68.     private $consumerWebService;
  69.     public function getId(): ?int
  70.     {
  71.         return $this->id;
  72.     }
  73.     public function getReference(): ?string
  74.     {
  75.         return $this->reference;
  76.     }
  77.     public function setReference(string $reference): self
  78.     {
  79.         $this->reference $reference;
  80.         return $this;
  81.     }
  82.     public function getMoneda(): ?string
  83.     {
  84.         return $this->moneda;
  85.     }
  86.     public function setMoneda(string $moneda): self
  87.     {
  88.         $this->moneda $moneda;
  89.         return $this;
  90.     }
  91.     public function getPromociones(): ?string
  92.     {
  93.         return $this->promociones;
  94.     }
  95.     public function setPromociones(?string $promociones): self
  96.     {
  97.         $this->promociones $promociones;
  98.         return $this;
  99.     }
  100.     public function getFhVigencia(): ?\DateTimeInterface
  101.     {
  102.         return $this->fh_vigencia;
  103.     }
  104.     public function setFhVigencia(?\DateTimeInterface $fh_vigencia): self
  105.     {
  106.         $this->fh_vigencia $fh_vigencia;
  107.         return $this;
  108.     }
  109.     public function getPaymentStatus(): ?int
  110.     {
  111.         return $this->payment_status;
  112.     }
  113.     public function setPaymentStatus(?int $payment_status): self
  114.     {
  115.         $this->payment_status $payment_status;
  116.         return $this;
  117.     }
  118.     public function getXmlRequest(): ?string
  119.     {
  120.         return $this->xml_request;
  121.     }
  122.     public function setXmlRequest(?string $xml_request): self
  123.     {
  124.         $this->xml_request $xml_request;
  125.         return $this;
  126.     }
  127.     public function getOriginalXmlRequest(): ?string
  128.     {
  129.         return $this->original_xml_request;
  130.     }
  131.     public function setOriginalXmlRequest(?string $original_xml_request): self
  132.     {
  133.         $this->original_xml_request $original_xml_request;
  134.         return $this;
  135.     }
  136.     public function getOriginalXmlResponse(): ?string
  137.     {
  138.         return $this->original_xml_response;
  139.     }
  140.     public function setOriginalXmlResponse(?string $original_xml_response): self
  141.     {
  142.         $this->original_xml_response $original_xml_response;
  143.         return $this;
  144.     }
  145.     public function getResponseReceivedAt(): ?\DateTimeInterface
  146.     {
  147.         return $this->response_received_at;
  148.     }
  149.     public function setResponseReceivedAt(?\DateTimeInterface $response_received_at): self
  150.     {
  151.         $this->response_received_at $response_received_at;
  152.         return $this;
  153.     }
  154.     public function getCreateAt(): ?\DateTimeInterface
  155.     {
  156.         return $this->create_at;
  157.     }
  158.     public function setCreateAt(?\DateTimeInterface $create_at): self
  159.     {
  160.         $this->create_at $create_at;
  161.         return $this;
  162.     }
  163.     public function getUpdateAt(): ?\DateTimeInterface
  164.     {
  165.         return $this->update_at;
  166.     }
  167.     public function setUpdateAt(?\DateTimeInterface $update_at): self
  168.     {
  169.         $this->update_at $update_at;
  170.         return $this;
  171.     }
  172.     public function getAmount(): ?float
  173.     {
  174.         return $this->amount;
  175.     }
  176.     public function setAmount(float $amount): self
  177.     {
  178.         $this->amount $amount;
  179.         return $this;
  180.     }
  181.     public function getConsumerWebService(): ?consumerWebService
  182.     {
  183.         return $this->consumerWebService;
  184.     }
  185.     public function setConsumerWebService(?consumerWebService $consumerWebService): self
  186.     {
  187.         $this->consumerWebService $consumerWebService;
  188.         return $this;
  189.     }
  190. }