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

LandedCostRequest::setQueryRequest()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 6
ccs 0
cts 3
cp 0
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
crap 2
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