Code Duplication    Length = 123-123 lines in 7 locations

src/SoapTypes/BaseCheckoutRequestType.php 1 location

@@ 17-139 (lines=123) @@
14
15
use Phpro\SoapClient\Type\RequestInterface;
16
17
class BaseCheckoutRequestType implements RequestInterface
18
{
19
    /**
20
     * @var string
21
     */
22
    protected $hash = null;
23
24
    /**
25
     * @var int
26
     */
27
    protected $webshop = null;
28
29
    /**
30
     * @var int
31
     */
32
    protected $targetWebshop = null;
33
34
    /**
35
     * @var string
36
     */
37
    protected $orderReference = null;
38
39
    /**
40
     * Constructor.
41
     *
42
     * @var string
43
     * @var int    $webshop
44
     * @var int    $targetWebshop
45
     * @var string $orderReference
46
     *
47
     * @param mixed $hash
48
     * @param mixed $webshop
49
     * @param mixed $targetWebshop
50
     * @param mixed $orderReference
51
     */
52
    public function __construct($hash, $webshop, $targetWebshop, $orderReference)
53
    {
54
        $this->hash = $hash;
55
        $this->webshop = $webshop;
56
        $this->targetWebshop = $targetWebshop;
57
        $this->orderReference = $orderReference;
58
    }
59
60
    /**
61
     * @return string
62
     */
63
    public function getHash()
64
    {
65
        return $this->hash;
66
    }
67
68
    /**
69
     * @param string $hash
70
     *
71
     * @return $this
72
     */
73
    public function setHash($hash)
74
    {
75
        $this->hash = $hash;
76
77
        return $this;
78
    }
79
80
    /**
81
     * @return int
82
     */
83
    public function getWebshop()
84
    {
85
        return $this->webshop;
86
    }
87
88
    /**
89
     * @param int $webshop
90
     *
91
     * @return $this
92
     */
93
    public function setWebshop($webshop)
94
    {
95
        $this->webshop = $webshop;
96
97
        return $this;
98
    }
99
100
    /**
101
     * @return int
102
     */
103
    public function getTargetWebshop()
104
    {
105
        return $this->targetWebshop;
106
    }
107
108
    /**
109
     * @param int $targetWebshop
110
     *
111
     * @return $this
112
     */
113
    public function setTargetWebshop($targetWebshop)
114
    {
115
        $this->targetWebshop = $targetWebshop;
116
117
        return $this;
118
    }
119
120
    /**
121
     * @return string
122
     */
123
    public function getOrderReference()
124
    {
125
        return $this->orderReference;
126
    }
127
128
    /**
129
     * @param string $orderReference
130
     *
131
     * @return $this
132
     */
133
    public function setOrderReference($orderReference)
134
    {
135
        $this->orderReference = $orderReference;
136
137
        return $this;
138
    }
139
}
140

src/SoapTypes/BatchStatusRequest.php 1 location

@@ 17-139 (lines=123) @@
14
15
use Phpro\SoapClient\Type\RequestInterface;
16
17
class BatchStatusRequest implements RequestInterface
18
{
19
    /**
20
     * @var string
21
     */
22
    protected $hash = null;
23
24
    /**
25
     * @var int
26
     */
27
    protected $webshop = null;
28
29
    /**
30
     * @var int
31
     */
32
    protected $targetWebshop = null;
33
34
    /**
35
     * @var string
36
     */
37
    protected $batch = null;
38
39
    /**
40
     * Constructor.
41
     *
42
     * @var string
43
     * @var int    $webshop
44
     * @var int    $targetWebshop
45
     * @var string $batch
46
     *
47
     * @param mixed $hash
48
     * @param mixed $webshop
49
     * @param mixed $targetWebshop
50
     * @param mixed $batch
51
     */
52
    public function __construct($hash, $webshop, $targetWebshop, $batch)
53
    {
54
        $this->hash = $hash;
55
        $this->webshop = $webshop;
56
        $this->targetWebshop = $targetWebshop;
57
        $this->batch = $batch;
58
    }
59
60
    /**
61
     * @return string
62
     */
63
    public function getHash()
64
    {
65
        return $this->hash;
66
    }
67
68
    /**
69
     * @param string $hash
70
     *
71
     * @return $this
72
     */
73
    public function setHash($hash)
74
    {
75
        $this->hash = $hash;
76
77
        return $this;
78
    }
79
80
    /**
81
     * @return int
82
     */
83
    public function getWebshop()
84
    {
85
        return $this->webshop;
86
    }
87
88
    /**
89
     * @param int $webshop
90
     *
91
     * @return $this
92
     */
93
    public function setWebshop($webshop)
94
    {
95
        $this->webshop = $webshop;
96
97
        return $this;
98
    }
99
100
    /**
101
     * @return int
102
     */
103
    public function getTargetWebshop()
104
    {
105
        return $this->targetWebshop;
106
    }
107
108
    /**
109
     * @param int $targetWebshop
110
     *
111
     * @return $this
112
     */
113
    public function setTargetWebshop($targetWebshop)
114
    {
115
        $this->targetWebshop = $targetWebshop;
116
117
        return $this;
118
    }
119
120
    /**
121
     * @return string
122
     */
123
    public function getBatch()
124
    {
125
        return $this->batch;
126
    }
127
128
    /**
129
     * @param string $batch
130
     *
131
     * @return $this
132
     */
133
    public function setBatch($batch)
134
    {
135
        $this->batch = $batch;
136
137
        return $this;
138
    }
139
}
140

src/SoapTypes/CloseBatchRequest.php 1 location

@@ 17-139 (lines=123) @@
14
15
use Phpro\SoapClient\Type\RequestInterface;
16
17
class CloseBatchRequest implements RequestInterface
18
{
19
    /**
20
     * @var string
21
     */
22
    protected $hash = null;
23
24
    /**
25
     * @var int
26
     */
27
    protected $webshop = null;
28
29
    /**
30
     * @var int
31
     */
32
    protected $targetWebshop = null;
33
34
    /**
35
     * @var string
36
     */
37
    protected $batch = null;
38
39
    /**
40
     * Constructor.
41
     *
42
     * @var string
43
     * @var int    $webshop
44
     * @var int    $targetWebshop
45
     * @var string $batch
46
     *
47
     * @param mixed $hash
48
     * @param mixed $webshop
49
     * @param mixed $targetWebshop
50
     * @param mixed $batch
51
     */
52
    public function __construct($hash, $webshop, $targetWebshop, $batch)
53
    {
54
        $this->hash = $hash;
55
        $this->webshop = $webshop;
56
        $this->targetWebshop = $targetWebshop;
57
        $this->batch = $batch;
58
    }
59
60
    /**
61
     * @return string
62
     */
63
    public function getHash()
64
    {
65
        return $this->hash;
66
    }
67
68
    /**
69
     * @param string $hash
70
     *
71
     * @return $this
72
     */
73
    public function setHash($hash)
74
    {
75
        $this->hash = $hash;
76
77
        return $this;
78
    }
79
80
    /**
81
     * @return int
82
     */
83
    public function getWebshop()
84
    {
85
        return $this->webshop;
86
    }
87
88
    /**
89
     * @param int $webshop
90
     *
91
     * @return $this
92
     */
93
    public function setWebshop($webshop)
94
    {
95
        $this->webshop = $webshop;
96
97
        return $this;
98
    }
99
100
    /**
101
     * @return int
102
     */
103
    public function getTargetWebshop()
104
    {
105
        return $this->targetWebshop;
106
    }
107
108
    /**
109
     * @param int $targetWebshop
110
     *
111
     * @return $this
112
     */
113
    public function setTargetWebshop($targetWebshop)
114
    {
115
        $this->targetWebshop = $targetWebshop;
116
117
        return $this;
118
    }
119
120
    /**
121
     * @return string
122
     */
123
    public function getBatch()
124
    {
125
        return $this->batch;
126
    }
127
128
    /**
129
     * @param string $batch
130
     *
131
     * @return $this
132
     */
133
    public function setBatch($batch)
134
    {
135
        $this->batch = $batch;
136
137
        return $this;
138
    }
139
}
140

src/SoapTypes/DeleteOrderRequest.php 1 location

@@ 17-139 (lines=123) @@
14
15
use Phpro\SoapClient\Type\RequestInterface;
16
17
class DeleteOrderRequest implements RequestInterface
18
{
19
    /**
20
     * @var string
21
     */
22
    protected $hash = null;
23
24
    /**
25
     * @var int
26
     */
27
    protected $webshop = null;
28
29
    /**
30
     * @var int
31
     */
32
    protected $targetWebshop = null;
33
34
    /**
35
     * @var string
36
     */
37
    protected $orderReference = null;
38
39
    /**
40
     * Constructor.
41
     *
42
     * @var string
43
     * @var int    $webshop
44
     * @var int    $targetWebshop
45
     * @var string $orderReference
46
     *
47
     * @param mixed $hash
48
     * @param mixed $webshop
49
     * @param mixed $targetWebshop
50
     * @param mixed $orderReference
51
     */
52
    public function __construct($hash, $webshop, $targetWebshop, $orderReference)
53
    {
54
        $this->hash = $hash;
55
        $this->webshop = $webshop;
56
        $this->targetWebshop = $targetWebshop;
57
        $this->orderReference = $orderReference;
58
    }
59
60
    /**
61
     * @return string
62
     */
63
    public function getHash()
64
    {
65
        return $this->hash;
66
    }
67
68
    /**
69
     * @param string $hash
70
     *
71
     * @return $this
72
     */
73
    public function setHash($hash)
74
    {
75
        $this->hash = $hash;
76
77
        return $this;
78
    }
79
80
    /**
81
     * @return int
82
     */
83
    public function getWebshop()
84
    {
85
        return $this->webshop;
86
    }
87
88
    /**
89
     * @param int $webshop
90
     *
91
     * @return $this
92
     */
93
    public function setWebshop($webshop)
94
    {
95
        $this->webshop = $webshop;
96
97
        return $this;
98
    }
99
100
    /**
101
     * @return int
102
     */
103
    public function getTargetWebshop()
104
    {
105
        return $this->targetWebshop;
106
    }
107
108
    /**
109
     * @param int $targetWebshop
110
     *
111
     * @return $this
112
     */
113
    public function setTargetWebshop($targetWebshop)
114
    {
115
        $this->targetWebshop = $targetWebshop;
116
117
        return $this;
118
    }
119
120
    /**
121
     * @return string
122
     */
123
    public function getOrderReference()
124
    {
125
        return $this->orderReference;
126
    }
127
128
    /**
129
     * @param string $orderReference
130
     *
131
     * @return $this
132
     */
133
    public function setOrderReference($orderReference)
134
    {
135
        $this->orderReference = $orderReference;
136
137
        return $this;
138
    }
139
}
140

src/SoapTypes/OrdersToShipRequest.php 1 location

@@ 17-139 (lines=123) @@
14
15
use Phpro\SoapClient\Type\RequestInterface;
16
17
class OrdersToShipRequest implements RequestInterface
18
{
19
    /**
20
     * @var string
21
     */
22
    protected $hash = null;
23
24
    /**
25
     * @var int
26
     */
27
    protected $webshop = null;
28
29
    /**
30
     * @var int
31
     */
32
    protected $targetWebshop = null;
33
34
    /**
35
     * @var \DateTime
36
     */
37
    protected $date = null;
38
39
    /**
40
     * Constructor.
41
     *
42
     * @var string
43
     * @var int       $webshop
44
     * @var int       $targetWebshop
45
     * @var \DateTime $date
46
     *
47
     * @param mixed $hash
48
     * @param mixed $webshop
49
     * @param mixed $targetWebshop
50
     * @param mixed $date
51
     */
52
    public function __construct($hash, $webshop, $targetWebshop, $date)
53
    {
54
        $this->hash = $hash;
55
        $this->webshop = $webshop;
56
        $this->targetWebshop = $targetWebshop;
57
        $this->date = $date;
58
    }
59
60
    /**
61
     * @return string
62
     */
63
    public function getHash()
64
    {
65
        return $this->hash;
66
    }
67
68
    /**
69
     * @param string $hash
70
     *
71
     * @return $this
72
     */
73
    public function setHash($hash)
74
    {
75
        $this->hash = $hash;
76
77
        return $this;
78
    }
79
80
    /**
81
     * @return int
82
     */
83
    public function getWebshop()
84
    {
85
        return $this->webshop;
86
    }
87
88
    /**
89
     * @param int $webshop
90
     *
91
     * @return $this
92
     */
93
    public function setWebshop($webshop)
94
    {
95
        $this->webshop = $webshop;
96
97
        return $this;
98
    }
99
100
    /**
101
     * @return int
102
     */
103
    public function getTargetWebshop()
104
    {
105
        return $this->targetWebshop;
106
    }
107
108
    /**
109
     * @param int $targetWebshop
110
     *
111
     * @return $this
112
     */
113
    public function setTargetWebshop($targetWebshop)
114
    {
115
        $this->targetWebshop = $targetWebshop;
116
117
        return $this;
118
    }
119
120
    /**
121
     * @return \DateTime
122
     */
123
    public function getDate()
124
    {
125
        return $this->date;
126
    }
127
128
    /**
129
     * @param \DateTime $date
130
     *
131
     * @return $this
132
     */
133
    public function setDate($date)
134
    {
135
        $this->date = $date;
136
137
        return $this;
138
    }
139
}
140

src/SoapTypes/OrderToShipType.php 1 location

@@ 15-137 (lines=123) @@
12
13
namespace Etrias\PaazlConnector\SoapTypes;
14
15
class OrderToShipType
16
{
17
    /**
18
     * @var int
19
     */
20
    protected $webshop = null;
21
22
    /**
23
     * @var string
24
     */
25
    protected $orderReference = null;
26
27
    /**
28
     * @var string
29
     */
30
    protected $distributor = null;
31
32
    /**
33
     * @var \DateTime
34
     */
35
    protected $deliveryDate = null;
36
37
    /**
38
     * Constructor.
39
     *
40
     * @var int
41
     * @var string    $orderReference
42
     * @var string    $distributor
43
     * @var \DateTime $deliveryDate
44
     *
45
     * @param mixed $webshop
46
     * @param mixed $orderReference
47
     * @param mixed $distributor
48
     * @param mixed $deliveryDate
49
     */
50
    public function __construct($webshop, $orderReference, $distributor, $deliveryDate)
51
    {
52
        $this->webshop = $webshop;
53
        $this->orderReference = $orderReference;
54
        $this->distributor = $distributor;
55
        $this->deliveryDate = $deliveryDate;
56
    }
57
58
    /**
59
     * @return int
60
     */
61
    public function getWebshop()
62
    {
63
        return $this->webshop;
64
    }
65
66
    /**
67
     * @param int $webshop
68
     *
69
     * @return $this
70
     */
71
    public function setWebshop($webshop)
72
    {
73
        $this->webshop = $webshop;
74
75
        return $this;
76
    }
77
78
    /**
79
     * @return string
80
     */
81
    public function getOrderReference()
82
    {
83
        return $this->orderReference;
84
    }
85
86
    /**
87
     * @param string $orderReference
88
     *
89
     * @return $this
90
     */
91
    public function setOrderReference($orderReference)
92
    {
93
        $this->orderReference = $orderReference;
94
95
        return $this;
96
    }
97
98
    /**
99
     * @return string
100
     */
101
    public function getDistributor()
102
    {
103
        return $this->distributor;
104
    }
105
106
    /**
107
     * @param string $distributor
108
     *
109
     * @return $this
110
     */
111
    public function setDistributor($distributor)
112
    {
113
        $this->distributor = $distributor;
114
115
        return $this;
116
    }
117
118
    /**
119
     * @return \DateTime
120
     */
121
    public function getDeliveryDate()
122
    {
123
        return $this->deliveryDate;
124
    }
125
126
    /**
127
     * @param \DateTime $deliveryDate
128
     *
129
     * @return $this
130
     */
131
    public function setDeliveryDate($deliveryDate)
132
    {
133
        $this->deliveryDate = $deliveryDate;
134
135
        return $this;
136
    }
137
}
138

src/SoapTypes/ProofOfDeliveryRequest.php 1 location

@@ 17-139 (lines=123) @@
14
15
use Phpro\SoapClient\Type\RequestInterface;
16
17
class ProofOfDeliveryRequest implements RequestInterface
18
{
19
    /**
20
     * @var string
21
     */
22
    protected $hash = null;
23
24
    /**
25
     * @var int
26
     */
27
    protected $webshop = null;
28
29
    /**
30
     * @var int
31
     */
32
    protected $targetWebshop = null;
33
34
    /**
35
     * @var string
36
     */
37
    protected $barcode = null;
38
39
    /**
40
     * Constructor.
41
     *
42
     * @var string
43
     * @var int    $webshop
44
     * @var int    $targetWebshop
45
     * @var string $barcode
46
     *
47
     * @param mixed $hash
48
     * @param mixed $webshop
49
     * @param mixed $targetWebshop
50
     * @param mixed $barcode
51
     */
52
    public function __construct($hash, $webshop, $targetWebshop, $barcode)
53
    {
54
        $this->hash = $hash;
55
        $this->webshop = $webshop;
56
        $this->targetWebshop = $targetWebshop;
57
        $this->barcode = $barcode;
58
    }
59
60
    /**
61
     * @return string
62
     */
63
    public function getHash()
64
    {
65
        return $this->hash;
66
    }
67
68
    /**
69
     * @param string $hash
70
     *
71
     * @return $this
72
     */
73
    public function setHash($hash)
74
    {
75
        $this->hash = $hash;
76
77
        return $this;
78
    }
79
80
    /**
81
     * @return int
82
     */
83
    public function getWebshop()
84
    {
85
        return $this->webshop;
86
    }
87
88
    /**
89
     * @param int $webshop
90
     *
91
     * @return $this
92
     */
93
    public function setWebshop($webshop)
94
    {
95
        $this->webshop = $webshop;
96
97
        return $this;
98
    }
99
100
    /**
101
     * @return int
102
     */
103
    public function getTargetWebshop()
104
    {
105
        return $this->targetWebshop;
106
    }
107
108
    /**
109
     * @param int $targetWebshop
110
     *
111
     * @return $this
112
     */
113
    public function setTargetWebshop($targetWebshop)
114
    {
115
        $this->targetWebshop = $targetWebshop;
116
117
        return $this;
118
    }
119
120
    /**
121
     * @return string
122
     */
123
    public function getBarcode()
124
    {
125
        return $this->barcode;
126
    }
127
128
    /**
129
     * @param string $barcode
130
     *
131
     * @return $this
132
     */
133
    public function setBarcode($barcode)
134
    {
135
        $this->barcode = $barcode;
136
137
        return $this;
138
    }
139
}
140