| Total Complexity | 8 |
| Total Lines | 70 |
| Duplicated Lines | 0 % |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class Response |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var |
||
| 13 | */ |
||
| 14 | private $data; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * Response constructor. |
||
| 18 | * @param $data |
||
| 19 | */ |
||
| 20 | public function __construct($data) |
||
| 23 | } |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @return mixed |
||
| 27 | */ |
||
| 28 | public function getControl() |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @return mixed |
||
| 35 | */ |
||
| 36 | public function getOperationNumber() |
||
| 37 | { |
||
| 38 | return $this->data['operation_number']; |
||
| 39 | } |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @return mixed |
||
| 43 | */ |
||
| 44 | public function getEmail() |
||
| 45 | { |
||
| 46 | return $this->data['email']; |
||
| 47 | } |
||
| 48 | |||
| 49 | /** |
||
| 50 | * @return mixed |
||
| 51 | */ |
||
| 52 | public function getOperationAmount() |
||
| 55 | } |
||
| 56 | |||
| 57 | /** |
||
| 58 | * @return mixed |
||
| 59 | */ |
||
| 60 | public function getOperationCurrency() |
||
| 63 | } |
||
| 64 | |||
| 65 | /** |
||
| 66 | * @return mixed |
||
| 67 | */ |
||
| 68 | public function getOperationDateTime() |
||
| 69 | { |
||
| 70 | return $this->data['operation_datetime']; |
||
| 71 | } |
||
| 72 | |||
| 73 | /** |
||
| 74 | * @return mixed |
||
| 75 | */ |
||
| 76 | public function getOperationStatus() |
||
| 79 | } |
||
| 80 | } |
||
| 81 |