getGetSingleStayValueBackToBackResult()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 4
Ratio 100 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 4
loc 4
ccs 0
cts 4
cp 0
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
crap 2
1
<?php
2
3
namespace Gueststream\PMS\IQWare\API;
4
5 View Code Duplication
class GetSingleStayValueBackToBackResponse
0 ignored issues
show
Duplication introduced by
This class seems to be duplicated in your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
6
{
7
8
    /**
9
     * @var ArrayOfSBDSummary $GetSingleStayValueBackToBackResult
10
     */
11
    protected $GetSingleStayValueBackToBackResult = null;
12
13
    /**
14
     * @var string $StrListSpecialOffertNotDefault
15
     */
16
    protected $StrListSpecialOffertNotDefault = null;
17
18
    /**
19
     * @param ArrayOfSBDSummary $GetSingleStayValueBackToBackResult
20
     * @param string $StrListSpecialOffertNotDefault
21
     */
22
    public function __construct($GetSingleStayValueBackToBackResult, $StrListSpecialOffertNotDefault)
23
    {
24
        $this->GetSingleStayValueBackToBackResult = $GetSingleStayValueBackToBackResult;
25
        $this->StrListSpecialOffertNotDefault = $StrListSpecialOffertNotDefault;
26
    }
27
28
    /**
29
     * @return ArrayOfSBDSummary
30
     */
31
    public function getGetSingleStayValueBackToBackResult()
32
    {
33
        return $this->GetSingleStayValueBackToBackResult;
34
    }
35
36
    /**
37
     * @param ArrayOfSBDSummary $GetSingleStayValueBackToBackResult
38
     * @return \Gueststream\PMS\IQWare\API\GetSingleStayValueBackToBackResponse
39
     */
40
    public function setGetSingleStayValueBackToBackResult($GetSingleStayValueBackToBackResult)
41
    {
42
        $this->GetSingleStayValueBackToBackResult = $GetSingleStayValueBackToBackResult;
43
        return $this;
44
    }
45
46
    /**
47
     * @return string
48
     */
49
    public function getStrListSpecialOffertNotDefault()
50
    {
51
        return $this->StrListSpecialOffertNotDefault;
52
    }
53
54
    /**
55
     * @param string $StrListSpecialOffertNotDefault
56
     * @return \Gueststream\PMS\IQWare\API\GetSingleStayValueBackToBackResponse
57
     */
58
    public function setStrListSpecialOffertNotDefault($StrListSpecialOffertNotDefault)
59
    {
60
        $this->StrListSpecialOffertNotDefault = $StrListSpecialOffertNotDefault;
61
        return $this;
62
    }
63
}
64