| 1 | <?php |
||
| 10 | class StatusRequest extends AbstractRequest |
||
| 11 | { |
||
| 12 | /** |
||
|
|
|||
| 13 | * @var string; |
||
| 14 | */ |
||
| 15 | protected $requestName = 'TransactionStatusRequest'; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * Validate and construct the data for the request |
||
| 19 | * |
||
| 20 | * @return array |
||
| 21 | */ |
||
| 22 | public function getData() |
||
| 35 | |||
| 36 | /** |
||
| 37 | * Returns endpoint for authorize requests |
||
| 38 | * |
||
| 39 | * @return string Endpoint URL |
||
| 40 | */ |
||
| 41 | protected function getEndpoint() |
||
| 45 | |||
| 46 | /** |
||
| 47 | * Return the transaction modification response object |
||
| 48 | * |
||
| 49 | * @param \SimpleXMLElement $xml Response xml object |
||
| 50 | * |
||
| 51 | * @return StatusResponse |
||
| 52 | */ |
||
| 53 | protected function newResponse($xml) |
||
| 57 | } |
||
| 58 |