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