src/Diplix/KMGBundle/Entity/PaymentType.php line 9

Open in your IDE?
  1. <?php
  2. namespace Diplix\KMGBundle\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * @ORM\Table(name="dbl_payment_types", indexes={@ORM\Index(name="be_deleted",columns={"be_deleted"})})
  6.  * @ORM\Entity()
  7.  */
  8. class PaymentType extends BasicSingleRelationEntity
  9. {
  10.     /**
  11.      * @ORM\Column(type="string")
  12.      */
  13.     protected $tamiCode;
  14.     /**
  15.      * @ORM\Column(type="boolean")
  16.      */
  17.     protected $allowInstantPayment false;
  18.     /**
  19.      * @ORM\Column(type="string", nullable=false)
  20.      */
  21.     protected $shortCode '';
  22.     /**
  23.      * @ORM\Column(type="string", nullable=false)
  24.      */
  25.     protected $icon '';
  26.     /**
  27.      * @return mixed
  28.      */
  29.     public function getTamiCode()
  30.     {
  31.         return $this->tamiCode;
  32.     }
  33.     /**
  34.      * @param mixed $tamiCode
  35.      */
  36.     public function setTamiCode($tamiCode)
  37.     {
  38.         $this->tamiCode $tamiCode;
  39.     }
  40.     /**
  41.      * @return boolean
  42.      */
  43.     public function getAllowInstantPayment()
  44.     {
  45.         return $this->allowInstantPayment;
  46.     }
  47.     /**
  48.      * @param boolean $allowInstantPayment
  49.      */
  50.     public function setAllowInstantPayment($allowInstantPayment)
  51.     {
  52.         $this->allowInstantPayment $allowInstantPayment;
  53.     }
  54.     /**
  55.      * @return string
  56.      */
  57.     public function getShortCode(): string
  58.     {
  59.         return $this->shortCode;
  60.     }
  61.     /**
  62.      * @param string $shortCode
  63.      */
  64.     public function setShortCode(string $shortCode): void
  65.     {
  66.         $this->shortCode $shortCode;
  67.     }
  68.     /**
  69.      * @return string
  70.      */
  71.     public function getIcon(): string
  72.     {
  73.         return $this->icon;
  74.     }
  75.     /**
  76.      * @param string $icon
  77.      */
  78.     public function setIcon(string $icon): void
  79.     {
  80.         $this->icon $icon;
  81.     }
  82. }