1 | <?php |
||
5 | class Balance extends Endpoint |
||
6 | { |
||
7 | /** |
||
8 | * Determine if the request need authorized. |
||
9 | * |
||
10 | * @var bool |
||
11 | */ |
||
12 | protected $authorize = true; |
||
13 | |||
14 | /** |
||
15 | * Get the request url. |
||
16 | * |
||
17 | * @return string |
||
18 | */ |
||
19 | public function getUrl() |
||
23 | |||
24 | /** |
||
25 | * Get the request method. |
||
26 | * |
||
27 | * @return string |
||
28 | */ |
||
29 | public function getMethod() |
||
33 | |||
34 | /** |
||
35 | * Map the given array to create a response object. |
||
36 | * |
||
37 | * @param array $data |
||
38 | * @return array |
||
39 | */ |
||
40 | public function mapResponse(array $data = []) |
||
50 | } |
||
51 |