Code Duplication    Length = 151-151 lines in 2 locations

src/SoapTypes/LabelMetaDataType.php 1 location

@@ 15-165 (lines=151) @@
12
13
namespace Etrias\PaazlConnector\SoapTypes;
14
15
class LabelMetaDataType
16
{
17
    /**
18
     * @var string
19
     */
20
    protected $orderReference = null;
21
22
    /**
23
     * @var string
24
     */
25
    protected $barcode = null;
26
27
    /**
28
     * @var string
29
     */
30
    protected $trackingNumber = null;
31
32
    /**
33
     * @var string
34
     */
35
    protected $batch = null;
36
37
    /**
38
     * @var additionalDocumentType
39
     */
40
    protected $additionalDocument = null;
41
42
    /**
43
     * Constructor.
44
     *
45
     * @var string
46
     * @var string                 $barcode
47
     * @var string                 $trackingNumber
48
     * @var string                 $batch
49
     * @var additionalDocumentType $additionalDocument
50
     *
51
     * @param mixed $orderReference
52
     * @param mixed $barcode
53
     * @param mixed $trackingNumber
54
     * @param mixed $batch
55
     * @param mixed $additionalDocument
56
     */
57
    public function __construct($orderReference, $barcode, $trackingNumber, $batch, $additionalDocument)
58
    {
59
        $this->orderReference = $orderReference;
60
        $this->barcode = $barcode;
61
        $this->trackingNumber = $trackingNumber;
62
        $this->batch = $batch;
63
        $this->additionalDocument = $additionalDocument;
64
    }
65
66
    /**
67
     * @return string
68
     */
69
    public function getOrderReference()
70
    {
71
        return $this->orderReference;
72
    }
73
74
    /**
75
     * @param string $orderReference
76
     *
77
     * @return $this
78
     */
79
    public function setOrderReference($orderReference)
80
    {
81
        $this->orderReference = $orderReference;
82
83
        return $this;
84
    }
85
86
    /**
87
     * @return string
88
     */
89
    public function getBarcode()
90
    {
91
        return $this->barcode;
92
    }
93
94
    /**
95
     * @param string $barcode
96
     *
97
     * @return $this
98
     */
99
    public function setBarcode($barcode)
100
    {
101
        $this->barcode = $barcode;
102
103
        return $this;
104
    }
105
106
    /**
107
     * @return string
108
     */
109
    public function getTrackingNumber()
110
    {
111
        return $this->trackingNumber;
112
    }
113
114
    /**
115
     * @param string $trackingNumber
116
     *
117
     * @return $this
118
     */
119
    public function setTrackingNumber($trackingNumber)
120
    {
121
        $this->trackingNumber = $trackingNumber;
122
123
        return $this;
124
    }
125
126
    /**
127
     * @return string
128
     */
129
    public function getBatch()
130
    {
131
        return $this->batch;
132
    }
133
134
    /**
135
     * @param string $batch
136
     *
137
     * @return $this
138
     */
139
    public function setBatch($batch)
140
    {
141
        $this->batch = $batch;
142
143
        return $this;
144
    }
145
146
    /**
147
     * @return additionalDocumentType
148
     */
149
    public function getAdditionalDocument()
150
    {
151
        return $this->additionalDocument;
152
    }
153
154
    /**
155
     * @param additionalDocumentType $additionalDocument
156
     *
157
     * @return $this
158
     */
159
    public function setAdditionalDocument($additionalDocument)
160
    {
161
        $this->additionalDocument = $additionalDocument;
162
163
        return $this;
164
    }
165
}
166

src/SoapTypes/LabelType.php 1 location

@@ 15-165 (lines=151) @@
12
13
namespace Etrias\PaazlConnector\SoapTypes;
14
15
class LabelType
16
{
17
    /**
18
     * @var base64Binary
19
     */
20
    protected $_ = null;
21
22
    /**
23
     * @var string
24
     */
25
    protected $orderReference = null;
26
27
    /**
28
     * @var string
29
     */
30
    protected $barcode = null;
31
32
    /**
33
     * @var string
34
     */
35
    protected $trackingNumber = null;
36
37
    /**
38
     * @var string
39
     */
40
    protected $batch = null;
41
42
    /**
43
     * Constructor.
44
     *
45
     * @var base64Binary
46
     * @var string       $orderReference
47
     * @var string       $barcode
48
     * @var string       $trackingNumber
49
     * @var string       $batch
50
     *
51
     * @param mixed $_
52
     * @param mixed $orderReference
53
     * @param mixed $barcode
54
     * @param mixed $trackingNumber
55
     * @param mixed $batch
56
     */
57
    public function __construct($_, $orderReference, $barcode, $trackingNumber, $batch)
58
    {
59
        $this->_ = $_;
60
        $this->orderReference = $orderReference;
61
        $this->barcode = $barcode;
62
        $this->trackingNumber = $trackingNumber;
63
        $this->batch = $batch;
64
    }
65
66
    /**
67
     * @return base64Binary
68
     */
69
    public function get_()
70
    {
71
        return $this->_;
72
    }
73
74
    /**
75
     * @param base64Binary $_
76
     *
77
     * @return $this
78
     */
79
    public function set_($_)
80
    {
81
        $this->_ = $_;
82
83
        return $this;
84
    }
85
86
    /**
87
     * @return string
88
     */
89
    public function getOrderReference()
90
    {
91
        return $this->orderReference;
92
    }
93
94
    /**
95
     * @param string $orderReference
96
     *
97
     * @return $this
98
     */
99
    public function setOrderReference($orderReference)
100
    {
101
        $this->orderReference = $orderReference;
102
103
        return $this;
104
    }
105
106
    /**
107
     * @return string
108
     */
109
    public function getBarcode()
110
    {
111
        return $this->barcode;
112
    }
113
114
    /**
115
     * @param string $barcode
116
     *
117
     * @return $this
118
     */
119
    public function setBarcode($barcode)
120
    {
121
        $this->barcode = $barcode;
122
123
        return $this;
124
    }
125
126
    /**
127
     * @return string
128
     */
129
    public function getTrackingNumber()
130
    {
131
        return $this->trackingNumber;
132
    }
133
134
    /**
135
     * @param string $trackingNumber
136
     *
137
     * @return $this
138
     */
139
    public function setTrackingNumber($trackingNumber)
140
    {
141
        $this->trackingNumber = $trackingNumber;
142
143
        return $this;
144
    }
145
146
    /**
147
     * @return string
148
     */
149
    public function getBatch()
150
    {
151
        return $this->batch;
152
    }
153
154
    /**
155
     * @param string $batch
156
     *
157
     * @return $this
158
     */
159
    public function setBatch($batch)
160
    {
161
        $this->batch = $batch;
162
163
        return $this;
164
    }
165
}
166