| Total Complexity | 5 |
| Total Lines | 54 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | class Confirm extends General |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * @var string 'PaymentId' node |
||
| 21 | */ |
||
| 22 | protected $PaymentId; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Check constructor |
||
| 26 | * |
||
| 27 | * @param \EasyPay\Provider31\Request\RAW $raw Raw request data |
||
| 28 | */ |
||
| 29 | public function __construct($raw) |
||
| 30 | { |
||
| 31 | parent::__construct($raw); |
||
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Get PaymentId |
||
| 36 | * |
||
| 37 | * @return string |
||
| 38 | */ |
||
| 39 | public function PaymentId() |
||
| 40 | { |
||
| 41 | return $this->PaymentId; |
||
| 42 | } |
||
| 43 | |||
| 44 | /** |
||
| 45 | * Parse xml-request, which was previously "extracted" from the body of the http request |
||
| 46 | * |
||
| 47 | */ |
||
| 48 | protected function parse_request_data() |
||
| 57 | } |
||
| 58 | } |
||
| 59 | |||
| 60 | /** |
||
| 61 | * validate Confirm request |
||
| 62 | * |
||
| 63 | * @param array $options |
||
| 64 | * @throws Exception\Structure |
||
| 65 | */ |
||
| 66 | public function validate_request($options) |
||
| 71 | } |
||
| 72 | } |
||
| 73 |