Completed
Push — master ( 260312...1dc1a5 )
by Aleksander
04:49
created

Settings::getShopName()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 2
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 4
ccs 2
cts 2
cp 1
crap 1
rs 10
1
<?php
2
/**
3
 * Author: @mrG1K ([email protected])
4
 */
5
6
namespace Yandex\Market\Partner\Models;
7
8
use Yandex\Common\Model;
9
10
class Settings extends Model
11
{
12
    /**
13
     * @var string|null
14
     */
15
    protected $shopName = null;
16
17
    /**
18
     * @var int|null
19
     */
20
    protected $countryRegion = null;
21
22
    /**
23
     * @var boolean|null
24
     */
25
    protected $isOnline = null;
26
27
    /**
28
     * @var boolean|null
29
     */
30
    protected $showInContext = null;
31
32
    /**
33
     * @var boolean|null
34
     */
35
    protected $showInSnippets = null;
36
37
    /**
38
     * @var boolean|null
39
     */
40
    protected $showInPremium = null;
41
42
    /**
43
     * @var boolean|null
44
     */
45
    protected $useOpenStat = null;
46
47
    /**
48
     * @return null|string
49
     */
50 1
    public function getShopName()
51
    {
52 1
        return $this->shopName;
53
    }
54
55
    /**
56
     * @return null|int
57
     */
58 1
    public function getCountryRegion()
59
    {
60 1
        return $this->countryRegion;
61
    }
62
63
    /**
64
     * @return bool|null
65
     */
66 1
    public function getIsOnline()
67
    {
68 1
        return $this->isOnline;
69
    }
70
71
    /**
72
     * @return bool|null
73
     */
74 1
    public function getShowInContext()
75
    {
76 1
        return $this->showInContext;
77
    }
78
79
    /**
80
     * @return bool|null
81
     */
82 1
    public function getShowInSnippets()
83
    {
84 1
        return $this->showInSnippets;
85
    }
86
87
    /**
88
     * @return bool|null
89
     */
90 1
    public function getShowInPremium()
91
    {
92 1
        return $this->showInPremium;
93
    }
94
95
    /**
96
     * @return bool|null
97
     */
98 1
    public function getUseOpenStat()
99
    {
100 1
        return $this->useOpenStat;
101
    }
102
}
103