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

Stat   A

Complexity

Total Complexity 12

Size/Duplication

Total Lines 116
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
dl 0
loc 116
ccs 0
cts 54
cp 0
rs 10
c 0
b 0
f 0
wmc 12
lcom 0
cbo 1

12 Methods

Rating   Name   Duplication   Size   Complexity  
A getDate() 0 4 1
A setDate() 0 5 1
A getPlaceGroup() 0 4 1
A setPlaceGroup() 0 5 1
A getClicks() 0 4 1
A setClicks() 0 5 1
A getSpending() 0 4 1
A setSpending() 0 5 1
A getShows() 0 4 1
A setShows() 0 5 1
A getDetailedStats() 0 4 1
A setDetailedStats() 0 5 1
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