Completed
Push — master ( 0f7b01...b73efb )
by Bukashk0zzz
02:11
created

OfferParam::setName()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 1
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
 * @author Denis Golubovskiy <[email protected]>
18
 */
19
class OfferParam
20
{
21
    /**
22
     * @var string
23
     */
24
    private $name;
25
26
    /**
27
     * @var string
28
     */
29
    private $unit;
30
31
    /**
32
     * @var string
33
     */
34
    private $value;
35
36
    /**
37
     * @return string
38
     */
39
    public function getName()
40
    {
41
        return $this->name;
42
    }
43
44
    /**
45
     * @param string $name
46
     * @return OfferParam
47
     */
48
    public function setName($name)
49
    {
50
        $this->name = $name;
51
52
        return $this;
53
    }
54
55
    /**
56
     * @return string
57
     */
58
    public function getUnit()
59
    {
60
        return $this->unit;
61
    }
62
63
    /**
64
     * @param string $unit
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
     * @return OfferParam
85
     */
86
    public function setValue($value)
87
    {
88
        $this->value = $value;
89
90
        return $this;
91
    }
92
}
93