Total Complexity | 6 |
Total Lines | 75 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
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) |
||
72 | } |
||
73 | |||
74 | /** |
||
75 | * @return string |
||
76 | */ |
||
77 | public function getValue() |
||
80 | } |
||
81 | |||
82 | /** |
||
83 | * @param string $value |
||
84 | * |
||
85 | * @return OfferParam |
||
86 | */ |
||
87 | public function setValue($value) |
||
94 |