OfferParam::getName()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
c 0
b 0
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
1
<?php
2
3
/*
4
 * This file is part of the Bukashk0zzzYmlGenerator
5
 *
6
 * (c) Denis Golubovskiy <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Bukashk0zzz\YmlGenerator\Model\Offer;
13
14
/**
15
 * Class OfferParam
16
 */
17
class OfferParam
18
{
19
    /**
20
     * @var string
21
     */
22
    private $name;
23
24
    /**
25
     * @var string
26
     */
27
    private $unit;
28
29
    /**
30
     * @var string
31
     */
32
    private $value;
33
34
    /**
35
     * @return string
36
     */
37
    public function getName()
38
    {
39
        return $this->name;
40
    }
41
42
    /**
43
     * @param string $name
44
     *
45
     * @return OfferParam
46
     */
47
    public function setName($name)
48
    {
49
        $this->name = $name;
50
51
        return $this;
52
    }
53
54
    /**
55
     * @return string
56
     */
57
    public function getUnit()
58
    {
59
        return $this->unit;
60
    }
61
62
    /**
63
     * @param string $unit
64
     *
65
     * @return OfferParam
66
     */
67
    public function setUnit($unit)
68
    {
69
        $this->unit = $unit;
70
71
        return $this;
72
    }
73
74
    /**
75
     * @return string
76
     */
77
    public function getValue()
78
    {
79
        return $this->value;
80
    }
81
82
    /**
83
     * @param string $value
84
     *
85
     * @return OfferParam
86
     */
87
    public function setValue($value)
88
    {
89
        $this->value = $value;
90
91
        return $this;
92
    }
93
}
94