Delivery::getCost()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
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;
13
14
/**
15
 * Class Delivery
16
 */
17
class Delivery
18
{
19
    /**
20
     * @var int
21
     */
22
    private $cost;
23
24
    /**
25
     * @var int
26
     */
27
    private $days;
28
29
    /**
30
     * @var int
31
     */
32
    private $orderBefore;
33
34
    /**
35
     * @return int
36
     */
37
    public function getCost()
38
    {
39
        return $this->cost;
40
    }
41
42
    /**
43
     * @param int $cost
44
     *
45
     * @return Delivery
46
     */
47
    public function setCost($cost)
48
    {
49
        $this->cost = $cost;
50
51
        return $this;
52
    }
53
54
    /**
55
     * @return int
56
     */
57
    public function getDays()
58
    {
59
        return $this->days;
60
    }
61
62
    /**
63
     * @param int $days
64
     *
65
     * @return Delivery
66
     */
67
    public function setDays($days)
68
    {
69
        $this->days = $days;
70
71
        return $this;
72
    }
73
74
    /**
75
     * @return int|null
76
     */
77
    public function getOrderBefore()
78
    {
79
        return $this->orderBefore;
80
    }
81
82
    /**
83
     * @param int|null $orderBefore
84
     *
85
     * @return Delivery
86
     */
87
    public function setOrderBefore($orderBefore)
88
    {
89
        $this->orderBefore = $orderBefore;
90
91
        return $this;
92
    }
93
}
94