Test Failed
Push — master ( a47c2b...4d6576 )
by Giancarlos
04:07
created

StatusCdrResult   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 48
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 4
lcom 0
cbo 1
dl 0
loc 48
ccs 0
cts 10
cp 0
rs 10
c 0
b 0
f 0

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getMessage() 0 4 1
A getCode() 0 4 1
A setCode() 0 5 1
A setMessage() 0 5 1
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: Administrador
5
 * Date: 03/10/2017
6
 * Time: 12:55 PM
7
 */
8
9
namespace Greenter\Model\Response;
10
11
/**
12
 * Class StatusCdrResult
13
 * @package Greenter\Model\Response
14
 */
15
class StatusCdrResult extends BillResult
16
{
17
    /**
18
     * @var string
19
     */
20
    private $code;
21
22
    /**
23
     * @var string
24
     */
25
    private $message;
26
27
    /**
28
     * @return string
29
     */
30
    public function getCode()
31
    {
32
        return $this->code;
33
    }
34
35
    /**
36
     * @param string $code
37
     * @return StatusCdrResult
38
     */
39
    public function setCode($code)
40
    {
41
        $this->code = $code;
42
        return $this;
43
    }
44
45
    /**
46
     * @return string
47
     */
48
    public function getMessage()
49
    {
50
        return $this->message;
51
    }
52
53
    /**
54
     * @param string $message
55
     * @return StatusCdrResult
56
     */
57
    public function setMessage($message)
58
    {
59
        $this->message = $message;
60
        return $this;
61
    }
62
}