Order::getStatus()   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
declare(strict_types=1);
4
5
namespace Mapado\RestClientSdk\Tests\Model\Hal;
6
7
/**
8
 * Class Order
9
 *
10
 * @author Julien Deniau <[email protected]>
11
 */
12
class Order
13
{
14
    private $id;
15
    private $total;
16
    private $currency;
17
    private $status;
18
19
    /**
20
     * Getter for id
21
     *
22
     * @return string
23
     */
24
    public function getId()
25
    {
26
        return $this->id;
27
    }
28
29
    /**
30
     * Setter for id
31
     *
32
     * @param string $id
33
     *
34
     * @return Order
35
     */
36
    public function setId($id)
37
    {
38
        $this->id = $id;
39
40
        return $this;
41
    }
42
43
    /**
44
     * Getter for total
45
     *
46
     * @return float
47
     */
48
    public function getTotal()
49
    {
50
        return $this->total;
51
    }
52
53
    /**
54
     * Setter for total
55
     *
56
     * @param float $total
57
     *
58
     * @return Order
59
     */
60
    public function setTotal($total)
61
    {
62
        $this->total = $total;
63
64
        return $this;
65
    }
66
67
    /**
68
     * Getter for currency
69
     *
70
     * @return string
71
     */
72
    public function getCurrency()
73
    {
74
        return $this->currency;
75
    }
76
77
    /**
78
     * Setter for currency
79
     *
80
     * @param string $currency
81
     *
82
     * @return Order
83
     */
84
    public function setCurrency($currency)
85
    {
86
        $this->currency = $currency;
87
88
        return $this;
89
    }
90
91
    /**
92
     * Getter for status
93
     *
94
     * @return string
95
     */
96
    public function getStatus()
97
    {
98
        return $this->status;
99
    }
100
101
    /**
102
     * Setter for status
103
     *
104
     * @param string $status
105
     *
106
     * @return Order
107
     */
108
    public function setStatus($status)
109
    {
110
        $this->status = $status;
111
112
        return $this;
113
    }
114
}
115