Completed
Pull Request — master (#189)
by
unknown
05:16
created

Stat::getSpending()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 4
ccs 0
cts 4
cp 0
crap 2
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Yandex\Market\Partner\Models;
4
5
use Yandex\Common\Model;
6
7
class Stat extends Model
8
{
9
    protected $date = null;
10
11
    protected $placeGroup = null;
12
13
    protected $clicks = null;
14
15
    protected $spending = null;
16
17
    protected $shows = null;
18
19
    protected $detailedStats = null;
20
21
    /**
22
     * @return null
23
     */
24
    public function getDate()
25
    {
26
        return $this->date;
27
    }
28
29
    /**
30
     * @param null $date
31
     */
32
    public function setDate($date)
33
    {
34
        $this->date = $date;
35
        return $this;
36
    }
37
38
    /**
39
     * @return null
40
     */
41
    public function getPlaceGroup()
42
    {
43
        return $this->placeGroup;
44
    }
45
46
    /**
47
     * @param null $placeGroup
48
     */
49
    public function setPlaceGroup($placeGroup)
50
    {
51
        $this->placeGroup = $placeGroup;
52
        return $this;
53
    }
54
55
    /**
56
     * @return null
57
     */
58
    public function getClicks()
59
    {
60
        return $this->clicks;
61
    }
62
63
    /**
64
     * @param null $clicks
65
     */
66
    public function setClicks($clicks)
67
    {
68
        $this->clicks = $clicks;
69
        return $this;
70
    }
71
72
    /**
73
     * @return null
74
     */
75
    public function getSpending()
76
    {
77
        return $this->spending;
78
    }
79
80
    /**
81
     * @param null $spending
82
     */
83
    public function setSpending($spending)
84
    {
85
        $this->spending = $spending;
86
        return $this;
87
    }
88
89
    /**
90
     * @return null
91
     */
92
    public function getShows()
93
    {
94
        return $this->shows;
95
    }
96
97
    /**
98
     * @param null $shows
99
     */
100
    public function setShows($shows)
101
    {
102
        $this->shows = $shows;
103
        return $this;
104
    }
105
106
    /**
107
     * @return null
108
     */
109
    public function getDetailedStats()
110
    {
111
        return $this->detailedStats;
112
    }
113
114
    /**
115
     * @param null $detailedStats
116
     */
117
    public function setDetailedStats($detailedStats)
118
    {
119
        $this->detailedStats = $detailedStats;
120
        return $this;
121
    }
122
}
123