Total Complexity | 1 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
11 | class ReadOffersQuery extends BaseRoute |
||
12 | { |
||
13 | /** |
||
14 | * @var string|null |
||
15 | */ |
||
16 | protected $userUrl = '/cabinet/user/read/offers'; |
||
17 | |||
18 | /** |
||
19 | * @var string|null |
||
20 | */ |
||
21 | protected $adminUrl = '/administration/offers/read/list'; |
||
22 | |||
23 | /** |
||
24 | * @var string |
||
25 | */ |
||
26 | protected $method = 'PUT'; |
||
27 | |||
28 | /** |
||
29 | * @var array |
||
30 | */ |
||
31 | protected $filters = ['merchantManagerId', 'categoryId', 'mainFilterItem', 'dateInsertedFrom', 'dateInsertedTo', 'active', 'types', 'fields', 'offset', 'limit', 'orderByField', 'orderByMethod']; |
||
32 | |||
33 | /** |
||
34 | * @return ReadOffersExceptionHandler |
||
35 | */ |
||
36 | 2 | public function getExceptionHandler() |
|
41 |