Passed
Push — dev ( 7c9a77...068aed )
by Konstantin
03:03
created

ReadOffersRoute::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 3
cts 3
cp 1
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 2
crap 1
1
<?php
2
3
namespace linkprofit\Tracker\request;
4
5
use linkprofit\Tracker\builder\BuilderInterface;
6
7
/**
8
 * Class OffersRequestContent
9
 *
10
 * @package linkprofit\Tracker\request
11
 */
12
class ReadOffersRoute extends BaseRoute
13
{
14
    /**
15
     * @var string|null
16
     */
17
    protected $userUrl = '/cabinet/user/read/offers';
18
19
    /**
20
     * @var string|null
21
     */
22
    protected $adminUrl = '/administration/offers/read/list';
23
24
    /**
25
     * @var string
26
     */
27
    protected $method = 'PUT';
28
29
    /**
30
     * @var array
31
     */
32
    protected $filters = ['merchantManagerId', 'categoryId', 'mainFilterItem', 'dateInsertedFrom', 'dateInsertedTo', 'active', 'types', 'fields', 'offset', 'limit', 'orderByField', 'orderByMethod'];
33
}
34