1 | <?php |
||
6 | class CreateCustomerRequest extends AbstractRequest |
||
7 | { |
||
8 | /** |
||
9 | * @return array|mixed |
||
10 | */ |
||
11 | public function getData() |
||
27 | |||
28 | /** |
||
29 | * Get either the billing or the shipping address from |
||
30 | * the card object, mapped to Heidelpay field names. |
||
31 | * |
||
32 | * @param string $type 'Billing' or 'Shipping' |
||
33 | * @return array |
||
34 | */ |
||
35 | protected function getAddressData($type = 'Billing') |
||
56 | |||
57 | /** |
||
58 | * @return string |
||
59 | */ |
||
60 | public function getEndpoint() |
||
64 | |||
65 | protected function createResponse($data) |
||
69 | } |
||
70 |