Completed
Push — master ( a41bca...d54f6c )
by Giancarlos
02:37
created

CdrResponse::getId()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 0
cts 2
cp 0
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
crap 2
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: Giansalex
5
 * Date: 21/07/2017
6
 * Time: 23:12
7
 */
8
9
namespace Greenter\Model\Response;
10
11
/**
12
 * Class CdrResponse
13
 * @package Greenter\Model\Response
14
 */
15
class CdrResponse
16
{
17
    /**
18
     * @var string
19
     */
20
    protected $id;
21
22
    /**
23
     * @var string
24
     */
25
    protected $code;
26
27
    /**
28
     * @var string
29
     */
30
    protected $description;
31
32
    /**
33
     * @var string[]
34
     */
35
    protected $note;
36
37
    /**
38
     * @return string
39
     */
40
    public function getId()
41
    {
42
        return $this->id;
43
    }
44
45
    /**
46
     * @param string $id
47
     * @return CdrResponse
48
     */
49 2
    public function setId($id)
50
    {
51 2
        $this->id = $id;
52 2
        return $this;
53
    }
54
55
    /**
56
     * @return string
57
     */
58
    public function getCode()
59
    {
60
        return $this->code;
61
    }
62
63
    /**
64
     * @param string $code
65
     * @return CdrResponse
66
     */
67 2
    public function setCode($code)
68
    {
69 2
        $this->code = $code;
70 2
        return $this;
71
    }
72
73
    /**
74
     * @return string
75
     */
76 2
    public function getDescription()
77
    {
78 2
        return $this->description;
79
    }
80
81
    /**
82
     * @param string $description
83
     * @return CdrResponse
84
     */
85 2
    public function setDescription($description)
86
    {
87 2
        $this->description = $description;
88 2
        return $this;
89
    }
90
91
    /**
92
     * @return string[]
93
     */
94
    public function getNote()
95
    {
96
        return $this->note;
97
    }
98
99
    /**
100
     * @param string[] $note
101
     * @return CdrResponse
102
     */
103
    public function setNote($note)
104
    {
105
        $this->note = $note;
106
        return $this;
107
    }
108
}