1 | <?php |
||
2 | |||
3 | /* |
||
4 | * This file is part of PHP CS Fixer. |
||
5 | * |
||
6 | * (c) Fabien Potencier <[email protected]> |
||
7 | * Dariusz RumiĆski <[email protected]> |
||
8 | * |
||
9 | * This source file is subject to the MIT license that is bundled |
||
10 | * with this source code in the file LICENSE. |
||
11 | */ |
||
12 | |||
13 | namespace Etrias\PaazlConnector\SoapTypes; |
||
14 | |||
15 | View Code Duplication | class LabelType |
|
0 ignored issues
–
show
|
|||
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_() |
||
0 ignored issues
–
show
This method is not in camel caps format.
This check looks for method names that are not written in camelCase. In camelCase names are written without any punctuation, the start of each new
word being marked by a capital letter. Thus the name
database connection seeker becomes
Loading history...
|
|||
70 | { |
||
71 | return $this->_; |
||
72 | } |
||
73 | |||
74 | /** |
||
75 | * @param base64Binary $_ |
||
76 | * |
||
77 | * @return $this |
||
78 | */ |
||
79 | public function set_($_) |
||
0 ignored issues
–
show
This method is not in camel caps format.
This check looks for method names that are not written in camelCase. In camelCase names are written without any punctuation, the start of each new
word being marked by a capital letter. Thus the name
database connection seeker becomes
Loading history...
|
|||
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 |
This check marks property names that have not been written in camelCase.
In camelCase names are written without any punctuation, the start of each new word being marked by a capital letter. Thus the name database connection string becomes
databaseConnectionString
.