1 | <?php |
||
19 | class InvoiceCreatedRequest extends AbstractRequest |
||
20 | { |
||
21 | use InvoiceTrait; |
||
22 | |||
23 | /** |
||
24 | * Get the raw data array for this message. The format of this varies from gateway to |
||
25 | * gateway, but will usually be either an associative array, or a SimpleXMLElement. |
||
26 | * |
||
27 | * @throws InvalidRequestException |
||
28 | * |
||
29 | * @return SimpleXMLElement |
||
30 | */ |
||
31 | 2 | public function getData() |
|
39 | |||
40 | /** |
||
41 | * @param SimpleXMLElement $response |
||
42 | * |
||
43 | * @return ResponseInterface |
||
44 | */ |
||
45 | 1 | protected function createResponse($response) |
|
49 | |||
50 | /** |
||
51 | * @return string |
||
52 | */ |
||
53 | 1 | protected function getEndpoint() |
|
57 | } |
||
58 |