1 | <?php |
||
15 | class Response |
||
16 | { |
||
17 | /** |
||
18 | * the response. |
||
19 | * |
||
20 | * @var array |
||
21 | */ |
||
22 | protected $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 | /** |
||
68 | * there are some inconsistencies in the names of objects returned. |
||
69 | * |
||
70 | * @return mixed |
||
71 | */ |
||
72 | public function getCorrelator() |
||
89 | |||
90 | /** |
||
91 | * there are some inconsistencies in the names of objects returned. |
||
92 | * |
||
93 | * @return mixed |
||
94 | */ |
||
95 | public function getMessageID() |
||
110 | |||
111 | /** |
||
112 | * @return mixed |
||
113 | */ |
||
114 | public function getSourceID() |
||
118 | |||
119 | /** |
||
120 | * @return mixed |
||
121 | */ |
||
122 | public function getReport() |
||
126 | |||
127 | |||
128 | } |
||
129 |