1 | <?php |
||
15 | class Response |
||
16 | { |
||
17 | /** |
||
18 | * the response. |
||
19 | * |
||
20 | * @var array |
||
21 | */ |
||
22 | public $response; |
||
23 | |||
24 | /** |
||
25 | * Response constructor. |
||
26 | * |
||
27 | * @param array response |
||
28 | */ |
||
29 | public function __construct($response) |
||
33 | |||
34 | /** |
||
35 | * @return mixed |
||
36 | */ |
||
37 | public function getCode() |
||
41 | |||
42 | /** |
||
43 | * @return mixed |
||
44 | */ |
||
45 | public function getBalance() |
||
49 | |||
50 | /** |
||
51 | * @return mixed |
||
52 | */ |
||
53 | public function getDescription() |
||
57 | |||
58 | /** |
||
59 | * @return mixed |
||
60 | */ |
||
61 | public function getMSISDN() |
||
65 | |||
66 | /** |
||
67 | * there are some inconsistencies in the names of objects returned. |
||
68 | * |
||
69 | * @return mixed |
||
70 | */ |
||
71 | public function getCorrelator() |
||
83 | |||
84 | /** |
||
85 | * there are some inconsistencies in the names of objects returned. |
||
86 | * |
||
87 | * @return mixed |
||
88 | */ |
||
89 | public function getMessageID() |
||
101 | |||
102 | /** |
||
103 | * @return mixed |
||
104 | */ |
||
105 | public function getSourceID() |
||
109 | |||
110 | /** |
||
111 | * @return mixed |
||
112 | */ |
||
113 | public function getReport() |
||
117 | |||
118 | /** |
||
119 | * @return boolean |
||
120 | */ |
||
121 | public function isSuccess() |
||
125 | |||
126 | } |
||
127 |