Completed
Push — master ( caad37...82c5ce )
by Dmitriy
06:13
created

ShopInfo::getStatus()   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 1
Metric Value
c 1
b 0
f 1
dl 0
loc 4
ccs 2
cts 2
cp 1
rs 10
cc 1
eloc 2
nc 1
nop 0
crap 1
1
<?php
2
3
namespace Yandex\Market\Content\Models;
4
5
use Yandex\Common\Model;
6
7
// @note: Merge between Shop & ShopInfo?
8
9
class ShopInfo extends Model
10
{
11
    protected $id = null;
12
13
    protected $name = null;
14
15
    protected $shopName = null;
16
17
    protected $url = null;
18
19
    protected $gradeTotal = null;
20
21
    protected $rating = null;
22
23
    protected $factAddress = null;
24
25
    protected $juridicalAddress = null;
26
27
    protected $status = null;
28
29
    protected $ogrn = null;
30
31
    protected $yamoney = null;
32
33
    /**
34
     * Retrieve the id property
35
     *
36
     * @return int|null
37
     */
38 5
    public function getId()
39
    {
40 5
        return $this->id;
41
    }
42
43
    /**
44
     * Retrieve the name property
45
     *
46
     * @return string|null
47
     */
48 5
    public function getName()
49
    {
50 5
        return $this->name;
51
    }
52
53
    /**
54
     * Retrieve the shopName property
55
     *
56
     * @return string|null
57
     */
58
    public function getShopName()
59
    {
60
        return $this->shopName;
61
    }
62
63
    /**
64
     * Retrieve the url property
65
     *
66
     * @return string|null
67
     */
68
    public function getUrl()
69
    {
70
        return $this->url;
71
    }
72
73
    /**
74
     * Retrieve the gradeTotal property
75
     *
76
     * @return int|null
77
     */
78 5
    public function getGradeTotal()
79
    {
80 5
        return $this->gradeTotal;
81
    }
82
83
    /**
84
     * Retrieve the rating property
85
     *
86
     * @return float|null
87
     */
88 5
    public function getRating()
89
    {
90 5
        return $this->rating;
91
    }
92
93
    /**
94
     * Retrieve the factAddress property
95
     *
96
     * @return string|null
97
     */
98
    public function getFactAddress()
99
    {
100
        return $this->factAddress;
101
    }
102
103
    /**
104
     * Retrieve the juridicalAddress property
105
     *
106
     * @return string|null
107
     */
108
    public function getJuridicalAddress()
109
    {
110
        return $this->juridicalAddress;
111
    }
112
113
    /**
114
     * Retrieve the status property
115
     *
116
     * @return string|null
117
     */
118 5
    public function getStatus()
119
    {
120 5
        return $this->status;
121
    }
122
123
    /**
124
     * Retrieve the ogrn property
125
     *
126
     * @return string|null
127
     */
128
    public function getOgrn()
129
    {
130
        return $this->ogrn;
131
    }
132
133
    /**
134
     * Retrieve the yamoney property
135
     *
136
     * @return string|null
137
     */
138
    public function getYamoney()
139
    {
140
        return $this->yamoney;
141
    }
142
}
143