1 | <?php |
||
7 | class Report extends BaseModel |
||
8 | { |
||
9 | use QueryBuilderTrait; |
||
10 | |||
11 | protected $endpoint = 'reports'; |
||
12 | |||
13 | /** |
||
14 | * Retrieve all sales. |
||
15 | * |
||
16 | * @param array $options |
||
17 | * |
||
18 | * @return array |
||
19 | */ |
||
20 | protected function sales($options = []) |
||
26 | |||
27 | /** |
||
28 | * Retrieve all top sellers. |
||
29 | * |
||
30 | * @param array $options |
||
31 | * |
||
32 | * @return array |
||
33 | */ |
||
34 | protected function topSellers($options = []) |
||
40 | |||
41 | /** |
||
42 | * Retrieve all coupons. |
||
43 | * |
||
44 | * @param array $options |
||
45 | * |
||
46 | * @return array |
||
47 | */ |
||
48 | protected function coupons($options = []) |
||
54 | |||
55 | /** |
||
56 | * Retrieve all customers. |
||
57 | * |
||
58 | * @param array $options |
||
59 | * |
||
60 | * @return array |
||
61 | */ |
||
62 | protected function customers($options = []) |
||
68 | |||
69 | /** |
||
70 | * Retrieve all orders. |
||
71 | * |
||
72 | * @param array $options |
||
73 | * |
||
74 | * @return array |
||
75 | */ |
||
76 | protected function orders($options = []) |
||
82 | |||
83 | /** |
||
84 | * Retrieve all products. |
||
85 | * |
||
86 | * @param array $options |
||
87 | * |
||
88 | * @return array |
||
89 | */ |
||
90 | protected function products($options = []) |
||
96 | |||
97 | /** |
||
98 | * Retrieve all reviews. |
||
99 | * |
||
100 | * @param array $options |
||
101 | * |
||
102 | * @return array |
||
103 | */ |
||
104 | protected function reviews($options = []) |
||
110 | } |
||
111 |