Passed
Pull Request — master (#223)
by
unknown
02:52
created

LandedCostRequest   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 52
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 0%

Importance

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

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getEstimateRequest() 0 4 1
A setEstimateRequest() 0 6 1
A getQueryRequest() 0 4 1
A setQueryRequest() 0 6 1
1
<?php
2
3
namespace Ups\Entity\Tradeability;
4
5
class LandedCostRequest
6
{
7
8
    /**
9
     * @var QueryRequest
10
     */
11
    private $queryRequest;
12
13
    /**
14
     * @var mixed
15
     */
16
    private $estimateRequest;
17
18
    /**
19
     * @return QueryRequest
20
     */
21
    public function getQueryRequest()
22
    {
23
        return $this->queryRequest;
24
    }
25
26
    /**
27
     * @param QueryRequest $queryRequest
28
     * @return LandedCostRequest
29
     */
30
    public function setQueryRequest($queryRequest)
31
    {
32
        $this->queryRequest = $queryRequest;
33
34
        return $this;
35
    }
36
37
    /**
38
     * @return mixed
39
     */
40
    public function getEstimateRequest()
41
    {
42
        return $this->estimateRequest;
43
    }
44
45
    /**
46
     * @param mixed $estimateRequest
47
     *
48
     * @return LandedCostRequest
49
     */
50
    public function setEstimateRequest($estimateRequest)
51
    {
52
        $this->estimateRequest = $estimateRequest;
53
54
        return $this;
55
    }
56
}
57