src/Entity/Payments/Save/Service.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Payments\Save;
  3. use App\Repository\Payments\Save\ServiceRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Table(name="website_service")
  7.  * @ORM\Entity(repositoryClass=ServiceRepository::class)
  8.  */
  9. class Service
  10. {
  11.     /**
  12.      * @ORM\Id
  13.      * @ORM\GeneratedValue
  14.      * @ORM\Column(type="integer")
  15.      */
  16.     private $id;
  17.     /**
  18.      * @ORM\Column(type="integer", nullable=true)
  19.      */
  20.     private $id_client;
  21.     /**
  22.      * @ORM\Column(type="string", length=255, nullable=true)
  23.      */
  24.     private $id_bill;
  25.     /**
  26.      * @ORM\Column(type="string", length=255)
  27.      */
  28.     private $order_number;
  29.     /**
  30.      * @ORM\Column(type="string", length=255)
  31.      */
  32.     private $type;
  33.     /**
  34.      * @ORM\Column(type="string", length=255)
  35.      */
  36.     private $legal_name;
  37.     /**
  38.      * @ORM\Column(type="string", length=255)
  39.      */
  40.     private $legal_vorname;
  41.     /**
  42.      * @ORM\Column(type="string", length=255)
  43.      */
  44.     private $email;
  45.     /**
  46.      * @ORM\Column(type="decimal", precision=10, scale=2, options={"default" : "0.00"})
  47.      */
  48.     private $amount "0.00";
  49.     /**
  50.      * @ORM\Column(type="decimal", precision=10, scale=2, options={"default" : "0.00"})
  51.      */
  52.     private $additional_cost "0.00";
  53.     /**
  54.      * @ORM\Column(type="string", length=255, nullable=true)
  55.      */
  56.     private $address;
  57.     /**
  58.      * @ORM\Column(type="text", nullable=true)
  59.      */
  60.     private $description;
  61.     /**
  62.      * @ORM\Column(type="string", length=255, nullable=true)
  63.      */
  64.     private $ip;
  65.     /**
  66.      * @ORM\Column(type="string", length=500, nullable=true)
  67.      */
  68.     private $token;
  69.     /**
  70.      * @ORM\Column(type="string", length=255, nullable=true)
  71.      */
  72.     private $payment_type;
  73.     /**
  74.      * @ORM\Column(type="integer", options={"default" : 0})
  75.      */
  76.     private $statut FALSE;
  77.     /**
  78.      * @ORM\Column(type="string", length=500, nullable=true)
  79.      */
  80.     private $hash;
  81.     /**
  82.      * @ORM\Column(type="datetime")
  83.      */
  84.     private $date_creation;
  85.     /**
  86.      * @ORM\Column(type="datetime", nullable=true)
  87.      */
  88.     private $date_validation;
  89.     /**
  90.      * @ORM\Column(type="decimal", precision=10, scale=2, options={"default" : "0.00"})
  91.      */
  92.     private $amount_ht "0.00";
  93.     public function getId(): ?int
  94.     {
  95.         return $this->id;
  96.     }
  97.     public function getIdClient(): ?int
  98.     {
  99.         return $this->id_client;
  100.     }
  101.     public function setIdClient(?int $id_client): self
  102.     {
  103.         $this->id_client $id_client;
  104.         return $this;
  105.     }
  106.     public function getIdBill(): ?string
  107.     {
  108.         return $this->id_bill;
  109.     }
  110.     public function setIdBill(?string $id_bill): self
  111.     {
  112.         $this->id_bill $id_bill;
  113.         return $this;
  114.     }
  115.     public function getOrderNumber(): ?string
  116.     {
  117.         return $this->order_number;
  118.     }
  119.     public function setOrderNumber(string $order_number): self
  120.     {
  121.         $this->order_number $order_number;
  122.         return $this;
  123.     }
  124.     public function getType(): ?string
  125.     {
  126.         return $this->type;
  127.     }
  128.     public function setType(string $type): self
  129.     {
  130.         $this->type $type;
  131.         return $this;
  132.     }
  133.     public function getLegalName(): ?string
  134.     {
  135.         return $this->legal_name;
  136.     }
  137.     public function setLegalName(string $legal_name): self
  138.     {
  139.         $this->legal_name $legal_name;
  140.         return $this;
  141.     }
  142.     public function getLegalVorname(): ?string
  143.     {
  144.         return $this->legal_vorname;
  145.     }
  146.     public function setLegalVorname(string $legal_vorname): self
  147.     {
  148.         $this->legal_vorname $legal_vorname;
  149.         return $this;
  150.     }
  151.     public function getEmail(): ?string
  152.     {
  153.         return $this->email;
  154.     }
  155.     public function setEmail(string $email): self
  156.     {
  157.         $this->email $email;
  158.         return $this;
  159.     }
  160.     public function getAmount(): ?string
  161.     {
  162.         return $this->amount;
  163.     }
  164.     public function setAmount(string $amount): self
  165.     {
  166.         $this->amount $amount;
  167.         return $this;
  168.     }
  169.     public function getAdditionalCost(): ?string
  170.     {
  171.         return $this->additional_cost;
  172.     }
  173.     public function setAdditionalCost(string $additional_cost): self
  174.     {
  175.         $this->additional_cost $additional_cost;
  176.         return $this;
  177.     }
  178.     public function getAddress(): ?string
  179.     {
  180.         return $this->address;
  181.     }
  182.     public function setAddress(?string $address): self
  183.     {
  184.         $this->address $address;
  185.         return $this;
  186.     }
  187.     public function getDescription(): ?string
  188.     {
  189.         return $this->description;
  190.     }
  191.     public function setDescription(?string $description): self
  192.     {
  193.         $this->description $description;
  194.         return $this;
  195.     }
  196.     public function getIp(): ?string
  197.     {
  198.         return $this->ip;
  199.     }
  200.     public function setIp(?string $ip): self
  201.     {
  202.         $this->ip $ip;
  203.         return $this;
  204.     }
  205.     public function getToken(): ?string
  206.     {
  207.         return $this->token;
  208.     }
  209.     public function setToken(?string $token): self
  210.     {
  211.         $this->token $token;
  212.         return $this;
  213.     }
  214.     public function getPaymentType(): ?string
  215.     {
  216.         return $this->payment_type;
  217.     }
  218.     public function setPaymentType(?string $payment_type): self
  219.     {
  220.         $this->payment_type $payment_type;
  221.         return $this;
  222.     }
  223.     public function getStatut(): ?int
  224.     {
  225.         return $this->statut;
  226.     }
  227.     public function setStatut(int $statut): self
  228.     {
  229.         $this->statut $statut;
  230.         return $this;
  231.     }
  232.     public function getHash(): ?string
  233.     {
  234.         return $this->hash;
  235.     }
  236.     public function setHash(?string $hash): self
  237.     {
  238.         $this->hash $hash;
  239.         return $this;
  240.     }
  241.     public function getDateCreation(): ?\DateTimeInterface
  242.     {
  243.         return $this->date_creation;
  244.     }
  245.     public function setDateCreation(\DateTimeInterface $date_creation): self
  246.     {
  247.         $this->date_creation $date_creation;
  248.         return $this;
  249.     }
  250.     public function getDateValidation(): ?\DateTimeInterface
  251.     {
  252.         return $this->date_validation;
  253.     }
  254.     public function setDateValidation(?\DateTimeInterface $date_validation): self
  255.     {
  256.         $this->date_validation $date_validation;
  257.         return $this;
  258.     }
  259.     public function getAmountHt(): ?string
  260.     {
  261.         return $this->amount_ht;
  262.     }
  263.     public function setAmountHt(string $amount_ht): self
  264.     {
  265.         $this->amount_ht $amount_ht;
  266.         return $this;
  267.     }
  268. }