| 1 | <?php |
||
| 14 | class CustomerResponse |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @var Customer |
||
| 18 | * |
||
| 19 | * @Type("AppBundle\Entity\Customer") |
||
| 20 | * @Expose |
||
| 21 | */ |
||
| 22 | protected $customer; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @var string |
||
| 26 | * |
||
| 27 | * @Type("string") |
||
| 28 | * @Accessor(getter="getApiKey") |
||
| 29 | * @Expose |
||
| 30 | */ |
||
| 31 | protected $apiKey; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @param Customer $customer |
||
| 35 | */ |
||
| 36 | public function __construct($customer) |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @return Customer |
||
| 43 | */ |
||
| 44 | public function getCustomer() |
||
| 48 | |||
| 49 | /** |
||
| 50 | * @param Customer $customer |
||
| 51 | * @return $this |
||
| 52 | */ |
||
| 53 | public function setCustomer($customer) |
||
| 59 | |||
| 60 | /** |
||
| 61 | * @return string |
||
| 62 | */ |
||
| 63 | public function getApiKey() |
||
| 67 | } |
||
| 68 |