Passed
Push — master ( a43e58...4ea7aa )
by Giancarlos
08:09
created

BillResult   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 48
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

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

4 Methods

Rating   Name   Duplication   Size   Complexity  
A setCdrZip() 0 5 1
A getCdrResponse() 0 4 1
A setCdrResponse() 0 5 1
A getCdrZip() 0 4 1
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 BillResult
13
 * @package Greenter\Model\Response
14
 */
15
class BillResult extends BaseResult
16
{
17
    /**
18
     * @var string
19
     */
20
    protected $cdrZip;
21
22
    /**
23
     * @var CdrResponse
24
     */
25
    protected $cdrResponse;
26
27
    /**
28
     * @return string
29
     */
30 2
    public function getCdrZip()
31
    {
32 2
        return $this->cdrZip;
33
    }
34
35
    /**
36
     * @param string $cdrZip
37
     * @return BillResult
38
     */
39 18
    public function setCdrZip($cdrZip)
40
    {
41 18
        $this->cdrZip = $cdrZip;
42 18
        return $this;
43
    }
44
45
    /**
46
     * @return CdrResponse
47
     */
48 14
    public function getCdrResponse()
49
    {
50 14
        return $this->cdrResponse;
51
    }
52
53
    /**
54
     * @param CdrResponse $cdrResponse
55
     * @return BillResult
56
     */
57 20
    public function setCdrResponse($cdrResponse)
58
    {
59 20
        $this->cdrResponse = $cdrResponse;
60 20
        return $this;
61
    }
62
}