This project does not seem to handle request data directly as such no vulnerable execution paths were found.
include
, or for example
via PHP's auto-loading mechanism.
These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
1 | <?php |
||
2 | |||
3 | namespace Gueststream\PMS\IQWare\API; |
||
4 | |||
5 | class SBDSummary |
||
6 | { |
||
7 | |||
8 | /** |
||
9 | * @var int $RoomIndex |
||
10 | */ |
||
11 | protected $RoomIndex = null; |
||
12 | |||
13 | /** |
||
14 | * @var float $TotalBeforeTaxes |
||
15 | */ |
||
16 | protected $TotalBeforeTaxes = null; |
||
17 | |||
18 | /** |
||
19 | * @var float $TotalTaxes |
||
20 | */ |
||
21 | protected $TotalTaxes = null; |
||
22 | |||
23 | /** |
||
24 | * @var float $InsuranceBeforeTaxes |
||
25 | */ |
||
26 | protected $InsuranceBeforeTaxes = null; |
||
27 | |||
28 | /** |
||
29 | * @var float $InsuranceTaxes |
||
30 | */ |
||
31 | protected $InsuranceTaxes = null; |
||
32 | |||
33 | /** |
||
34 | * @var int $ID_Currency |
||
35 | */ |
||
36 | protected $ID_Currency = null; |
||
37 | |||
38 | /** |
||
39 | * @var RequiredDeposit $RequiredDeposit |
||
40 | */ |
||
41 | protected $RequiredDeposit = null; |
||
42 | |||
43 | /** |
||
44 | * @var float $ResortFeeBeforeTaxes |
||
45 | */ |
||
46 | protected $ResortFeeBeforeTaxes = null; |
||
47 | |||
48 | /** |
||
49 | * @var float $ResortFeeTaxes |
||
50 | */ |
||
51 | protected $ResortFeeTaxes = null; |
||
52 | |||
53 | /** |
||
54 | * @var float $TotalAdvDepositBeforeTaxes |
||
55 | */ |
||
56 | protected $TotalAdvDepositBeforeTaxes = null; |
||
57 | |||
58 | /** |
||
59 | * @var float $TotalAdvDepositTaxes |
||
60 | */ |
||
61 | protected $TotalAdvDepositTaxes = null; |
||
62 | |||
63 | /** |
||
64 | * @var ArrayOfBreakdownByDay $BreakdownList |
||
65 | */ |
||
66 | protected $BreakdownList = null; |
||
67 | |||
68 | /** |
||
69 | * @var float $FirstNightAdvDepositTaxes |
||
70 | */ |
||
71 | protected $FirstNightAdvDepositTaxes = null; |
||
72 | |||
73 | /** |
||
74 | * @var float $FirstNightAdvDepositBeforeTaxes |
||
75 | */ |
||
76 | protected $FirstNightAdvDepositBeforeTaxes = null; |
||
77 | |||
78 | /** |
||
79 | * @param int $RoomIndex |
||
80 | * @param float $TotalBeforeTaxes |
||
81 | * @param float $TotalTaxes |
||
82 | * @param float $InsuranceBeforeTaxes |
||
83 | * @param float $InsuranceTaxes |
||
84 | * @param int $ID_Currency |
||
85 | * @param float $ResortFeeBeforeTaxes |
||
86 | * @param float $ResortFeeTaxes |
||
87 | * @param float $TotalAdvDepositBeforeTaxes |
||
88 | * @param float $TotalAdvDepositTaxes |
||
89 | * @param float $FirstNightAdvDepositTaxes |
||
90 | * @param float $FirstNightAdvDepositBeforeTaxes |
||
91 | */ |
||
92 | View Code Duplication | public function __construct($RoomIndex, $TotalBeforeTaxes, $TotalTaxes, $InsuranceBeforeTaxes, $InsuranceTaxes, $ID_Currency, $ResortFeeBeforeTaxes, $ResortFeeTaxes, $TotalAdvDepositBeforeTaxes, $TotalAdvDepositTaxes, $FirstNightAdvDepositTaxes, $FirstNightAdvDepositBeforeTaxes) |
|
0 ignored issues
–
show
|
|||
93 | { |
||
94 | $this->RoomIndex = $RoomIndex; |
||
95 | $this->TotalBeforeTaxes = $TotalBeforeTaxes; |
||
96 | $this->TotalTaxes = $TotalTaxes; |
||
97 | $this->InsuranceBeforeTaxes = $InsuranceBeforeTaxes; |
||
98 | $this->InsuranceTaxes = $InsuranceTaxes; |
||
99 | $this->ID_Currency = $ID_Currency; |
||
100 | $this->ResortFeeBeforeTaxes = $ResortFeeBeforeTaxes; |
||
101 | $this->ResortFeeTaxes = $ResortFeeTaxes; |
||
102 | $this->TotalAdvDepositBeforeTaxes = $TotalAdvDepositBeforeTaxes; |
||
103 | $this->TotalAdvDepositTaxes = $TotalAdvDepositTaxes; |
||
104 | $this->FirstNightAdvDepositTaxes = $FirstNightAdvDepositTaxes; |
||
105 | $this->FirstNightAdvDepositBeforeTaxes = $FirstNightAdvDepositBeforeTaxes; |
||
106 | } |
||
107 | |||
108 | /** |
||
109 | * @return int |
||
110 | */ |
||
111 | public function getRoomIndex() |
||
112 | { |
||
113 | return $this->RoomIndex; |
||
114 | } |
||
115 | |||
116 | /** |
||
117 | * @param int $RoomIndex |
||
118 | * @return \Gueststream\PMS\IQWare\API\SBDSummary |
||
119 | */ |
||
120 | public function setRoomIndex($RoomIndex) |
||
121 | { |
||
122 | $this->RoomIndex = $RoomIndex; |
||
123 | return $this; |
||
124 | } |
||
125 | |||
126 | /** |
||
127 | * @return float |
||
128 | */ |
||
129 | public function getTotalBeforeTaxes() |
||
130 | { |
||
131 | return $this->TotalBeforeTaxes; |
||
132 | } |
||
133 | |||
134 | /** |
||
135 | * @param float $TotalBeforeTaxes |
||
136 | * @return \Gueststream\PMS\IQWare\API\SBDSummary |
||
137 | */ |
||
138 | public function setTotalBeforeTaxes($TotalBeforeTaxes) |
||
139 | { |
||
140 | $this->TotalBeforeTaxes = $TotalBeforeTaxes; |
||
141 | return $this; |
||
142 | } |
||
143 | |||
144 | /** |
||
145 | * @return float |
||
146 | */ |
||
147 | public function getTotalTaxes() |
||
148 | { |
||
149 | return $this->TotalTaxes; |
||
150 | } |
||
151 | |||
152 | /** |
||
153 | * @param float $TotalTaxes |
||
154 | * @return \Gueststream\PMS\IQWare\API\SBDSummary |
||
155 | */ |
||
156 | public function setTotalTaxes($TotalTaxes) |
||
157 | { |
||
158 | $this->TotalTaxes = $TotalTaxes; |
||
159 | return $this; |
||
160 | } |
||
161 | |||
162 | /** |
||
163 | * @return float |
||
164 | */ |
||
165 | public function getInsuranceBeforeTaxes() |
||
166 | { |
||
167 | return $this->InsuranceBeforeTaxes; |
||
168 | } |
||
169 | |||
170 | /** |
||
171 | * @param float $InsuranceBeforeTaxes |
||
172 | * @return \Gueststream\PMS\IQWare\API\SBDSummary |
||
173 | */ |
||
174 | public function setInsuranceBeforeTaxes($InsuranceBeforeTaxes) |
||
175 | { |
||
176 | $this->InsuranceBeforeTaxes = $InsuranceBeforeTaxes; |
||
177 | return $this; |
||
178 | } |
||
179 | |||
180 | /** |
||
181 | * @return float |
||
182 | */ |
||
183 | public function getInsuranceTaxes() |
||
184 | { |
||
185 | return $this->InsuranceTaxes; |
||
186 | } |
||
187 | |||
188 | /** |
||
189 | * @param float $InsuranceTaxes |
||
190 | * @return \Gueststream\PMS\IQWare\API\SBDSummary |
||
191 | */ |
||
192 | public function setInsuranceTaxes($InsuranceTaxes) |
||
193 | { |
||
194 | $this->InsuranceTaxes = $InsuranceTaxes; |
||
195 | return $this; |
||
196 | } |
||
197 | |||
198 | /** |
||
199 | * @return int |
||
200 | */ |
||
201 | public function getID_Currency() |
||
202 | { |
||
203 | return $this->ID_Currency; |
||
204 | } |
||
205 | |||
206 | /** |
||
207 | * @param int $ID_Currency |
||
208 | * @return \Gueststream\PMS\IQWare\API\SBDSummary |
||
209 | */ |
||
210 | public function setID_Currency($ID_Currency) |
||
211 | { |
||
212 | $this->ID_Currency = $ID_Currency; |
||
213 | return $this; |
||
214 | } |
||
215 | |||
216 | /** |
||
217 | * @return RequiredDeposit |
||
218 | */ |
||
219 | public function getRequiredDeposit() |
||
220 | { |
||
221 | return $this->RequiredDeposit; |
||
222 | } |
||
223 | |||
224 | /** |
||
225 | * @param RequiredDeposit $RequiredDeposit |
||
226 | * @return \Gueststream\PMS\IQWare\API\SBDSummary |
||
227 | */ |
||
228 | public function setRequiredDeposit($RequiredDeposit) |
||
229 | { |
||
230 | $this->RequiredDeposit = $RequiredDeposit; |
||
231 | return $this; |
||
232 | } |
||
233 | |||
234 | /** |
||
235 | * @return float |
||
236 | */ |
||
237 | public function getResortFeeBeforeTaxes() |
||
238 | { |
||
239 | return $this->ResortFeeBeforeTaxes; |
||
240 | } |
||
241 | |||
242 | /** |
||
243 | * @param float $ResortFeeBeforeTaxes |
||
244 | * @return \Gueststream\PMS\IQWare\API\SBDSummary |
||
245 | */ |
||
246 | public function setResortFeeBeforeTaxes($ResortFeeBeforeTaxes) |
||
247 | { |
||
248 | $this->ResortFeeBeforeTaxes = $ResortFeeBeforeTaxes; |
||
249 | return $this; |
||
250 | } |
||
251 | |||
252 | /** |
||
253 | * @return float |
||
254 | */ |
||
255 | public function getResortFeeTaxes() |
||
256 | { |
||
257 | return $this->ResortFeeTaxes; |
||
258 | } |
||
259 | |||
260 | /** |
||
261 | * @param float $ResortFeeTaxes |
||
262 | * @return \Gueststream\PMS\IQWare\API\SBDSummary |
||
263 | */ |
||
264 | public function setResortFeeTaxes($ResortFeeTaxes) |
||
265 | { |
||
266 | $this->ResortFeeTaxes = $ResortFeeTaxes; |
||
267 | return $this; |
||
268 | } |
||
269 | |||
270 | /** |
||
271 | * @return float |
||
272 | */ |
||
273 | public function getTotalAdvDepositBeforeTaxes() |
||
274 | { |
||
275 | return $this->TotalAdvDepositBeforeTaxes; |
||
276 | } |
||
277 | |||
278 | /** |
||
279 | * @param float $TotalAdvDepositBeforeTaxes |
||
280 | * @return \Gueststream\PMS\IQWare\API\SBDSummary |
||
281 | */ |
||
282 | public function setTotalAdvDepositBeforeTaxes($TotalAdvDepositBeforeTaxes) |
||
283 | { |
||
284 | $this->TotalAdvDepositBeforeTaxes = $TotalAdvDepositBeforeTaxes; |
||
285 | return $this; |
||
286 | } |
||
287 | |||
288 | /** |
||
289 | * @return float |
||
290 | */ |
||
291 | public function getTotalAdvDepositTaxes() |
||
292 | { |
||
293 | return $this->TotalAdvDepositTaxes; |
||
294 | } |
||
295 | |||
296 | /** |
||
297 | * @param float $TotalAdvDepositTaxes |
||
298 | * @return \Gueststream\PMS\IQWare\API\SBDSummary |
||
299 | */ |
||
300 | public function setTotalAdvDepositTaxes($TotalAdvDepositTaxes) |
||
301 | { |
||
302 | $this->TotalAdvDepositTaxes = $TotalAdvDepositTaxes; |
||
303 | return $this; |
||
304 | } |
||
305 | |||
306 | /** |
||
307 | * @return ArrayOfBreakdownByDay |
||
308 | */ |
||
309 | public function getBreakdownList() |
||
310 | { |
||
311 | return $this->BreakdownList; |
||
312 | } |
||
313 | |||
314 | /** |
||
315 | * @param ArrayOfBreakdownByDay $BreakdownList |
||
316 | * @return \Gueststream\PMS\IQWare\API\SBDSummary |
||
317 | */ |
||
318 | public function setBreakdownList($BreakdownList) |
||
319 | { |
||
320 | $this->BreakdownList = $BreakdownList; |
||
321 | return $this; |
||
322 | } |
||
323 | |||
324 | /** |
||
325 | * @return float |
||
326 | */ |
||
327 | public function getFirstNightAdvDepositTaxes() |
||
328 | { |
||
329 | return $this->FirstNightAdvDepositTaxes; |
||
330 | } |
||
331 | |||
332 | /** |
||
333 | * @param float $FirstNightAdvDepositTaxes |
||
334 | * @return \Gueststream\PMS\IQWare\API\SBDSummary |
||
335 | */ |
||
336 | public function setFirstNightAdvDepositTaxes($FirstNightAdvDepositTaxes) |
||
337 | { |
||
338 | $this->FirstNightAdvDepositTaxes = $FirstNightAdvDepositTaxes; |
||
339 | return $this; |
||
340 | } |
||
341 | |||
342 | /** |
||
343 | * @return float |
||
344 | */ |
||
345 | public function getFirstNightAdvDepositBeforeTaxes() |
||
346 | { |
||
347 | return $this->FirstNightAdvDepositBeforeTaxes; |
||
348 | } |
||
349 | |||
350 | /** |
||
351 | * @param float $FirstNightAdvDepositBeforeTaxes |
||
352 | * @return \Gueststream\PMS\IQWare\API\SBDSummary |
||
353 | */ |
||
354 | public function setFirstNightAdvDepositBeforeTaxes($FirstNightAdvDepositBeforeTaxes) |
||
355 | { |
||
356 | $this->FirstNightAdvDepositBeforeTaxes = $FirstNightAdvDepositBeforeTaxes; |
||
357 | return $this; |
||
358 | } |
||
359 | } |
||
360 |
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.