<?php
namespace Bidcoz\Bundle\CoreBundle\Entity\Proxy;
use Symfony\Component\Validator\Constraints as Assert;
class StripeCreditCardProxy
{
/**
* @Assert\NotBlank(message = "Credit card required")
*/
protected $token;
protected $brand;
protected $last4;
protected $expMonth;
protected $expYear;
public function getToken()
{
return $this->token;
}
public function setToken($token)
{
$this->token = $token;
}
public function getBrand()
{
return $this->brand;
}
public function setBrand($brand)
{
$this->brand = $brand;
}
public function getLast4()
{
return $this->last4;
}
public function setLast4(int $last4)
{
$this->last4 = $last4;
}
public function getExpMonth()
{
return $this->expMonth;
}
public function setExpMonth($expMonth)
{
$this->expMonth = $expMonth;
}
public function getExpYear()
{
return $this->expYear;
}
public function setExpYear($expYear)
{
$this->expYear = $expYear;
}
}