Code Duplication    Length = 67-67 lines in 5 locations

src/SoapTypes/DateRangeType.php 1 location

@@ 15-81 (lines=67) @@
12
13
namespace Etrias\PaazlConnector\SoapTypes;
14
15
class DateRangeType
16
{
17
    /**
18
     * @var \DateTime
19
     */
20
    protected $lowerBound = null;
21
22
    /**
23
     * @var \DateTime
24
     */
25
    protected $upperBound = null;
26
27
    /**
28
     * Constructor.
29
     *
30
     * @var \DateTime
31
     * @var \DateTime $upperBound
32
     *
33
     * @param mixed $lowerBound
34
     * @param mixed $upperBound
35
     */
36
    public function __construct($lowerBound, $upperBound)
37
    {
38
        $this->lowerBound = $lowerBound;
39
        $this->upperBound = $upperBound;
40
    }
41
42
    /**
43
     * @return \DateTime
44
     */
45
    public function getLowerBound()
46
    {
47
        return $this->lowerBound;
48
    }
49
50
    /**
51
     * @param \DateTime $lowerBound
52
     *
53
     * @return $this
54
     */
55
    public function setLowerBound($lowerBound)
56
    {
57
        $this->lowerBound = $lowerBound;
58
59
        return $this;
60
    }
61
62
    /**
63
     * @return \DateTime
64
     */
65
    public function getUpperBound()
66
    {
67
        return $this->upperBound;
68
    }
69
70
    /**
71
     * @param \DateTime $upperBound
72
     *
73
     * @return $this
74
     */
75
    public function setUpperBound($upperBound)
76
    {
77
        $this->upperBound = $upperBound;
78
79
        return $this;
80
    }
81
}
82

src/SoapTypes/NonNegativeIntegerRangeType.php 1 location

@@ 15-81 (lines=67) @@
12
13
namespace Etrias\PaazlConnector\SoapTypes;
14
15
class NonNegativeIntegerRangeType
16
{
17
    /**
18
     * @var nonNegativeInteger
19
     */
20
    protected $lowerBound = null;
21
22
    /**
23
     * @var nonNegativeInteger
24
     */
25
    protected $upperBound = null;
26
27
    /**
28
     * Constructor.
29
     *
30
     * @var nonNegativeInteger
31
     * @var nonNegativeInteger $upperBound
32
     *
33
     * @param mixed $lowerBound
34
     * @param mixed $upperBound
35
     */
36
    public function __construct($lowerBound, $upperBound)
37
    {
38
        $this->lowerBound = $lowerBound;
39
        $this->upperBound = $upperBound;
40
    }
41
42
    /**
43
     * @return nonNegativeInteger
44
     */
45
    public function getLowerBound()
46
    {
47
        return $this->lowerBound;
48
    }
49
50
    /**
51
     * @param nonNegativeInteger $lowerBound
52
     *
53
     * @return $this
54
     */
55
    public function setLowerBound($lowerBound)
56
    {
57
        $this->lowerBound = $lowerBound;
58
59
        return $this;
60
    }
61
62
    /**
63
     * @return nonNegativeInteger
64
     */
65
    public function getUpperBound()
66
    {
67
        return $this->upperBound;
68
    }
69
70
    /**
71
     * @param nonNegativeInteger $upperBound
72
     *
73
     * @return $this
74
     */
75
    public function setUpperBound($upperBound)
76
    {
77
        $this->upperBound = $upperBound;
78
79
        return $this;
80
    }
81
}
82

src/SoapTypes/OpenOrClosedTimeRangeType.php 1 location

@@ 15-81 (lines=67) @@
12
13
namespace Etrias\PaazlConnector\SoapTypes;
14
15
class OpenOrClosedTimeRangeType
16
{
17
    /**
18
     * @var time
19
     */
20
    protected $lowerBound = null;
21
22
    /**
23
     * @var time
24
     */
25
    protected $upperBound = null;
26
27
    /**
28
     * Constructor.
29
     *
30
     * @var time
31
     * @var time $upperBound
32
     *
33
     * @param mixed $lowerBound
34
     * @param mixed $upperBound
35
     */
36
    public function __construct($lowerBound, $upperBound)
37
    {
38
        $this->lowerBound = $lowerBound;
39
        $this->upperBound = $upperBound;
40
    }
41
42
    /**
43
     * @return time
44
     */
45
    public function getLowerBound()
46
    {
47
        return $this->lowerBound;
48
    }
49
50
    /**
51
     * @param time $lowerBound
52
     *
53
     * @return $this
54
     */
55
    public function setLowerBound($lowerBound)
56
    {
57
        $this->lowerBound = $lowerBound;
58
59
        return $this;
60
    }
61
62
    /**
63
     * @return time
64
     */
65
    public function getUpperBound()
66
    {
67
        return $this->upperBound;
68
    }
69
70
    /**
71
     * @param time $upperBound
72
     *
73
     * @return $this
74
     */
75
    public function setUpperBound($upperBound)
76
    {
77
        $this->upperBound = $upperBound;
78
79
        return $this;
80
    }
81
}
82

src/SoapTypes/StringRangeType.php 1 location

@@ 15-81 (lines=67) @@
12
13
namespace Etrias\PaazlConnector\SoapTypes;
14
15
class StringRangeType
16
{
17
    /**
18
     * @var string
19
     */
20
    protected $lowerBound = null;
21
22
    /**
23
     * @var string
24
     */
25
    protected $upperBound = null;
26
27
    /**
28
     * Constructor.
29
     *
30
     * @var string
31
     * @var string $upperBound
32
     *
33
     * @param mixed $lowerBound
34
     * @param mixed $upperBound
35
     */
36
    public function __construct($lowerBound, $upperBound)
37
    {
38
        $this->lowerBound = $lowerBound;
39
        $this->upperBound = $upperBound;
40
    }
41
42
    /**
43
     * @return string
44
     */
45
    public function getLowerBound()
46
    {
47
        return $this->lowerBound;
48
    }
49
50
    /**
51
     * @param string $lowerBound
52
     *
53
     * @return $this
54
     */
55
    public function setLowerBound($lowerBound)
56
    {
57
        $this->lowerBound = $lowerBound;
58
59
        return $this;
60
    }
61
62
    /**
63
     * @return string
64
     */
65
    public function getUpperBound()
66
    {
67
        return $this->upperBound;
68
    }
69
70
    /**
71
     * @param string $upperBound
72
     *
73
     * @return $this
74
     */
75
    public function setUpperBound($upperBound)
76
    {
77
        $this->upperBound = $upperBound;
78
79
        return $this;
80
    }
81
}
82

src/SoapTypes/TimeRangeType.php 1 location

@@ 15-81 (lines=67) @@
12
13
namespace Etrias\PaazlConnector\SoapTypes;
14
15
class TimeRangeType
16
{
17
    /**
18
     * @var time
19
     */
20
    protected $lowerBound = null;
21
22
    /**
23
     * @var time
24
     */
25
    protected $upperBound = null;
26
27
    /**
28
     * Constructor.
29
     *
30
     * @var time
31
     * @var time $upperBound
32
     *
33
     * @param mixed $lowerBound
34
     * @param mixed $upperBound
35
     */
36
    public function __construct($lowerBound, $upperBound)
37
    {
38
        $this->lowerBound = $lowerBound;
39
        $this->upperBound = $upperBound;
40
    }
41
42
    /**
43
     * @return time
44
     */
45
    public function getLowerBound()
46
    {
47
        return $this->lowerBound;
48
    }
49
50
    /**
51
     * @param time $lowerBound
52
     *
53
     * @return $this
54
     */
55
    public function setLowerBound($lowerBound)
56
    {
57
        $this->lowerBound = $lowerBound;
58
59
        return $this;
60
    }
61
62
    /**
63
     * @return time
64
     */
65
    public function getUpperBound()
66
    {
67
        return $this->upperBound;
68
    }
69
70
    /**
71
     * @param time $upperBound
72
     *
73
     * @return $this
74
     */
75
    public function setUpperBound($upperBound)
76
    {
77
        $this->upperBound = $upperBound;
78
79
        return $this;
80
    }
81
}
82