src/Bidcoz/Bundle/CoreBundle/Entity/Proxy/StripeCreditCardProxy.php line 7

Open in your IDE?
  1. <?php
  2. namespace Bidcoz\Bundle\CoreBundle\Entity\Proxy;
  3. use Symfony\Component\Validator\Constraints as Assert;
  4. class StripeCreditCardProxy
  5. {
  6.     /**
  7.      * @Assert\NotBlank(message = "Credit card required")
  8.      */
  9.     protected $token;
  10.     protected $brand;
  11.     protected $last4;
  12.     protected $expMonth;
  13.     protected $expYear;
  14.     public function getToken()
  15.     {
  16.         return $this->token;
  17.     }
  18.     public function setToken($token)
  19.     {
  20.         $this->token $token;
  21.     }
  22.     public function getBrand()
  23.     {
  24.         return $this->brand;
  25.     }
  26.     public function setBrand($brand)
  27.     {
  28.         $this->brand $brand;
  29.     }
  30.     public function getLast4()
  31.     {
  32.         return $this->last4;
  33.     }
  34.     public function setLast4(int $last4)
  35.     {
  36.         $this->last4 $last4;
  37.     }
  38.     public function getExpMonth()
  39.     {
  40.         return $this->expMonth;
  41.     }
  42.     public function setExpMonth($expMonth)
  43.     {
  44.         $this->expMonth $expMonth;
  45.     }
  46.     public function getExpYear()
  47.     {
  48.         return $this->expYear;
  49.     }
  50.     public function setExpYear($expYear)
  51.     {
  52.         $this->expYear $expYear;
  53.     }
  54. }