StateReason::getPrice()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 0
cts 4
cp 0
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
crap 2
1
<?php
2
3
namespace Yandex\Market\Partner\Models;
4
5
use Yandex\Common\Model;
6
7
class StateReason extends Model
8
{
9
10
    protected $feedId = null;
11
12
    protected $offerId = null;
13
14
    protected $feedCategoryId = null;
15
16
    protected $offerName = null;
17
18
    protected $price = null;
19
20
    protected $count = null;
21
22
    protected $mappingClasses = [];
23
24
    protected $propNameMap = [];
25
26
    /**
27
     * Retrieve the feedId property
28
     *
29
     * @return int|null
30
     */
31
    public function getFeedId()
32
    {
33
        return $this->feedId;
34
    }
35
36
    /**
37
     * Set the feedId property
38
     *
39
     * @param int $feedId
40
     * @return $this
41
     */
42
    public function setFeedId($feedId)
43
    {
44
        $this->feedId = $feedId;
45
        return $this;
46
    }
47
48
    /**
49
     * Retrieve the offerId property
50
     *
51
     * @return string|null
52
     */
53
    public function getOfferId()
54
    {
55
        return $this->offerId;
56
    }
57
58
    /**
59
     * Set the offerId property
60
     *
61
     * @param string $offerId
62
     * @return $this
63
     */
64
    public function setOfferId($offerId)
65
    {
66
        $this->offerId = $offerId;
67
        return $this;
68
    }
69
70
    /**
71
     * Retrieve the feedCategoryId property
72
     *
73
     * @return string|null
74
     */
75
    public function getFeedCategoryId()
76
    {
77
        return $this->feedCategoryId;
78
    }
79
80
    /**
81
     * Set the feedCategoryId property
82
     *
83
     * @param string $feedCategoryId
84
     * @return $this
85
     */
86
    public function setFeedCategoryId($feedCategoryId)
87
    {
88
        $this->feedCategoryId = $feedCategoryId;
89
        return $this;
90
    }
91
92
    /**
93
     * Retrieve the offerName property
94
     *
95
     * @return string|null
96
     */
97
    public function getOfferName()
98
    {
99
        return $this->offerName;
100
    }
101
102
    /**
103
     * Set the offerName property
104
     *
105
     * @param string $offerName
106
     * @return $this
107
     */
108
    public function setOfferName($offerName)
109
    {
110
        $this->offerName = $offerName;
111
        return $this;
112
    }
113
114
    /**
115
     * Retrieve the price property
116
     *
117
     * @return int|null
118
     */
119
    public function getPrice()
120
    {
121
        return $this->price;
122
    }
123
124
    /**
125
     * Set the price property
126
     *
127
     * @param int $price
128
     * @return $this
129
     */
130
    public function setPrice($price)
131
    {
132
        $this->price = $price;
133
        return $this;
134
    }
135
136
    /**
137
     * Retrieve the count property
138
     *
139
     * @return int|null
140
     */
141
    public function getCount()
142
    {
143
        return $this->count;
144
    }
145
146
    /**
147
     * Set the count property
148
     *
149
     * @param int $count
150
     * @return $this
151
     */
152
    public function setCount($count)
153
    {
154
        $this->count = $count;
155
        return $this;
156
    }
157
}
158