1 | <?php |
||
9 | class CustomerList extends MoipResource |
||
10 | { |
||
11 | /** |
||
12 | * @const string |
||
13 | */ |
||
14 | const PATH = 'customers'; |
||
15 | |||
16 | /** |
||
17 | * @const string |
||
18 | */ |
||
19 | const CREATED_AT = 'createdAt'; |
||
20 | |||
21 | public function initialize() |
||
26 | |||
27 | /** |
||
28 | * Get customers. |
||
29 | * |
||
30 | * @return array |
||
31 | */ |
||
32 | public function getCustomers() |
||
36 | |||
37 | /** |
||
38 | * Get an customer list in MoIP. |
||
39 | * |
||
40 | * @param Pagination $pagination |
||
41 | * @param Filters $filters |
||
42 | * @param string $qParam Query a specific value. |
||
43 | * |
||
44 | * @return stdClass |
||
45 | */ |
||
46 | public function get(Pagination $pagination = null, Filters $filters = null, $qParam = '') |
||
50 | |||
51 | protected function populate(stdClass $response) |
||
60 | } |
||
61 |