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