Issues (1169)

Security Analysis    no request data  

This project does not seem to handle request data directly as such no vulnerable execution paths were found.

  Cross-Site Scripting
Cross-Site Scripting enables an attacker to inject code into the response of a web-request that is viewed by other users. It can for example be used to bypass access controls, or even to take over other users' accounts.
  File Exposure
File Exposure allows an attacker to gain access to local files that he should not be able to access. These files can for example include database credentials, or other configuration files.
  File Manipulation
File Manipulation enables an attacker to write custom data to files. This potentially leads to injection of arbitrary code on the server.
  Object Injection
Object Injection enables an attacker to inject an object into PHP code, and can lead to arbitrary code execution, file exposure, or file manipulation attacks.
  Code Injection
Code Injection enables an attacker to execute arbitrary code on the server.
  Response Splitting
Response Splitting can be used to send arbitrary responses.
  File Inclusion
File Inclusion enables an attacker to inject custom files into PHP's file loading mechanism, either explicitly passed to include, or for example via PHP's auto-loading mechanism.
  Command Injection
Command Injection enables an attacker to inject a shell command that is execute with the privileges of the web-server. This can be used to expose sensitive data, or gain access of your server.
  SQL Injection
SQL Injection enables an attacker to execute arbitrary SQL code on your database server gaining access to user data, or manipulating user data.
  XPath Injection
XPath Injection enables an attacker to modify the parts of XML document that are read. If that XML document is for example used for authentication, this can lead to further vulnerabilities similar to SQL Injection.
  LDAP Injection
LDAP Injection enables an attacker to inject LDAP statements potentially granting permission to run unauthorized queries, or modify content inside the LDAP tree.
  Header Injection
  Other Vulnerability
This category comprises other attack vectors such as manipulating the PHP runtime, loading custom extensions, freezing the runtime, or similar.
  Regex Injection
Regex Injection enables an attacker to execute arbitrary code in your PHP process.
  XML Injection
XML Injection enables an attacker to read files on your local filesystem including configuration files, or can be abused to freeze your web-server process.
  Variable Injection
Variable Injection enables an attacker to overwrite program variables with custom data, and can lead to further vulnerabilities.
Unfortunately, the security analysis is currently not available for your project. If you are a non-commercial open-source project, please contact support to gain access.

src/API/SummarySBD.php (1 issue)

Upgrade to new PHP Analysis Engine

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 SummarySBD
6
{
7
8
    /**
9
     * @var int $RoomNo
10
     */
11
    protected $RoomNo = 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 float $ResaFeeBeforeTaxes
35
     */
36
    protected $ResaFeeBeforeTaxes = null;
37
38
    /**
39
     * @var float $ResaFeeTaxes
40
     */
41
    protected $ResaFeeTaxes = null;
42
43
    /**
44
     * @var float $TotalAdvDepositBeforeTaxes
45
     */
46
    protected $TotalAdvDepositBeforeTaxes = null;
47
48
    /**
49
     * @var float $TotalAdvDepositTaxes
50
     */
51
    protected $TotalAdvDepositTaxes = null;
52
53
    /**
54
     * @var float $FirstNightAdvDepositBeforeTaxes
55
     */
56
    protected $FirstNightAdvDepositBeforeTaxes = null;
57
58
    /**
59
     * @var float $FirstNightAdvDepositTaxes
60
     */
61
    protected $FirstNightAdvDepositTaxes = null;
62
63
    /**
64
     * @var int $ID_Currency
65
     */
66
    protected $ID_Currency = null;
67
68
    /**
69
     * @var float $FolioA
70
     */
71
    protected $FolioA = null;
72
73
    /**
74
     * @param int $RoomNo
75
     * @param float $TotalBeforeTaxes
76
     * @param float $TotalTaxes
77
     * @param float $InsuranceBeforeTaxes
78
     * @param float $InsuranceTaxes
79
     * @param float $ResaFeeBeforeTaxes
80
     * @param float $ResaFeeTaxes
81
     * @param float $TotalAdvDepositBeforeTaxes
82
     * @param float $TotalAdvDepositTaxes
83
     * @param float $FirstNightAdvDepositBeforeTaxes
84
     * @param float $FirstNightAdvDepositTaxes
85
     * @param int $ID_Currency
86
     * @param float $FolioA
87
     */
88 View Code Duplication
    public function __construct($RoomNo, $TotalBeforeTaxes, $TotalTaxes, $InsuranceBeforeTaxes, $InsuranceTaxes, $ResaFeeBeforeTaxes, $ResaFeeTaxes, $TotalAdvDepositBeforeTaxes, $TotalAdvDepositTaxes, $FirstNightAdvDepositBeforeTaxes, $FirstNightAdvDepositTaxes, $ID_Currency, $FolioA)
0 ignored issues
show
This method seems to be duplicated in your project.

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.

Loading history...
89
    {
90
        $this->RoomNo = $RoomNo;
91
        $this->TotalBeforeTaxes = $TotalBeforeTaxes;
92
        $this->TotalTaxes = $TotalTaxes;
93
        $this->InsuranceBeforeTaxes = $InsuranceBeforeTaxes;
94
        $this->InsuranceTaxes = $InsuranceTaxes;
95
        $this->ResaFeeBeforeTaxes = $ResaFeeBeforeTaxes;
96
        $this->ResaFeeTaxes = $ResaFeeTaxes;
97
        $this->TotalAdvDepositBeforeTaxes = $TotalAdvDepositBeforeTaxes;
98
        $this->TotalAdvDepositTaxes = $TotalAdvDepositTaxes;
99
        $this->FirstNightAdvDepositBeforeTaxes = $FirstNightAdvDepositBeforeTaxes;
100
        $this->FirstNightAdvDepositTaxes = $FirstNightAdvDepositTaxes;
101
        $this->ID_Currency = $ID_Currency;
102
        $this->FolioA = $FolioA;
103
    }
104
105
    /**
106
     * @return int
107
     */
108
    public function getRoomNo()
109
    {
110
        return $this->RoomNo;
111
    }
112
113
    /**
114
     * @param int $RoomNo
115
     * @return \Gueststream\PMS\IQWare\API\SummarySBD
116
     */
117
    public function setRoomNo($RoomNo)
118
    {
119
        $this->RoomNo = $RoomNo;
120
        return $this;
121
    }
122
123
    /**
124
     * @return float
125
     */
126
    public function getTotalBeforeTaxes()
127
    {
128
        return $this->TotalBeforeTaxes;
129
    }
130
131
    /**
132
     * @param float $TotalBeforeTaxes
133
     * @return \Gueststream\PMS\IQWare\API\SummarySBD
134
     */
135
    public function setTotalBeforeTaxes($TotalBeforeTaxes)
136
    {
137
        $this->TotalBeforeTaxes = $TotalBeforeTaxes;
138
        return $this;
139
    }
140
141
    /**
142
     * @return float
143
     */
144
    public function getTotalTaxes()
145
    {
146
        return $this->TotalTaxes;
147
    }
148
149
    /**
150
     * @param float $TotalTaxes
151
     * @return \Gueststream\PMS\IQWare\API\SummarySBD
152
     */
153
    public function setTotalTaxes($TotalTaxes)
154
    {
155
        $this->TotalTaxes = $TotalTaxes;
156
        return $this;
157
    }
158
159
    /**
160
     * @return float
161
     */
162
    public function getInsuranceBeforeTaxes()
163
    {
164
        return $this->InsuranceBeforeTaxes;
165
    }
166
167
    /**
168
     * @param float $InsuranceBeforeTaxes
169
     * @return \Gueststream\PMS\IQWare\API\SummarySBD
170
     */
171
    public function setInsuranceBeforeTaxes($InsuranceBeforeTaxes)
172
    {
173
        $this->InsuranceBeforeTaxes = $InsuranceBeforeTaxes;
174
        return $this;
175
    }
176
177
    /**
178
     * @return float
179
     */
180
    public function getInsuranceTaxes()
181
    {
182
        return $this->InsuranceTaxes;
183
    }
184
185
    /**
186
     * @param float $InsuranceTaxes
187
     * @return \Gueststream\PMS\IQWare\API\SummarySBD
188
     */
189
    public function setInsuranceTaxes($InsuranceTaxes)
190
    {
191
        $this->InsuranceTaxes = $InsuranceTaxes;
192
        return $this;
193
    }
194
195
    /**
196
     * @return float
197
     */
198
    public function getResaFeeBeforeTaxes()
199
    {
200
        return $this->ResaFeeBeforeTaxes;
201
    }
202
203
    /**
204
     * @param float $ResaFeeBeforeTaxes
205
     * @return \Gueststream\PMS\IQWare\API\SummarySBD
206
     */
207
    public function setResaFeeBeforeTaxes($ResaFeeBeforeTaxes)
208
    {
209
        $this->ResaFeeBeforeTaxes = $ResaFeeBeforeTaxes;
210
        return $this;
211
    }
212
213
    /**
214
     * @return float
215
     */
216
    public function getResaFeeTaxes()
217
    {
218
        return $this->ResaFeeTaxes;
219
    }
220
221
    /**
222
     * @param float $ResaFeeTaxes
223
     * @return \Gueststream\PMS\IQWare\API\SummarySBD
224
     */
225
    public function setResaFeeTaxes($ResaFeeTaxes)
226
    {
227
        $this->ResaFeeTaxes = $ResaFeeTaxes;
228
        return $this;
229
    }
230
231
    /**
232
     * @return float
233
     */
234
    public function getTotalAdvDepositBeforeTaxes()
235
    {
236
        return $this->TotalAdvDepositBeforeTaxes;
237
    }
238
239
    /**
240
     * @param float $TotalAdvDepositBeforeTaxes
241
     * @return \Gueststream\PMS\IQWare\API\SummarySBD
242
     */
243
    public function setTotalAdvDepositBeforeTaxes($TotalAdvDepositBeforeTaxes)
244
    {
245
        $this->TotalAdvDepositBeforeTaxes = $TotalAdvDepositBeforeTaxes;
246
        return $this;
247
    }
248
249
    /**
250
     * @return float
251
     */
252
    public function getTotalAdvDepositTaxes()
253
    {
254
        return $this->TotalAdvDepositTaxes;
255
    }
256
257
    /**
258
     * @param float $TotalAdvDepositTaxes
259
     * @return \Gueststream\PMS\IQWare\API\SummarySBD
260
     */
261
    public function setTotalAdvDepositTaxes($TotalAdvDepositTaxes)
262
    {
263
        $this->TotalAdvDepositTaxes = $TotalAdvDepositTaxes;
264
        return $this;
265
    }
266
267
    /**
268
     * @return float
269
     */
270
    public function getFirstNightAdvDepositBeforeTaxes()
271
    {
272
        return $this->FirstNightAdvDepositBeforeTaxes;
273
    }
274
275
    /**
276
     * @param float $FirstNightAdvDepositBeforeTaxes
277
     * @return \Gueststream\PMS\IQWare\API\SummarySBD
278
     */
279
    public function setFirstNightAdvDepositBeforeTaxes($FirstNightAdvDepositBeforeTaxes)
280
    {
281
        $this->FirstNightAdvDepositBeforeTaxes = $FirstNightAdvDepositBeforeTaxes;
282
        return $this;
283
    }
284
285
    /**
286
     * @return float
287
     */
288
    public function getFirstNightAdvDepositTaxes()
289
    {
290
        return $this->FirstNightAdvDepositTaxes;
291
    }
292
293
    /**
294
     * @param float $FirstNightAdvDepositTaxes
295
     * @return \Gueststream\PMS\IQWare\API\SummarySBD
296
     */
297
    public function setFirstNightAdvDepositTaxes($FirstNightAdvDepositTaxes)
298
    {
299
        $this->FirstNightAdvDepositTaxes = $FirstNightAdvDepositTaxes;
300
        return $this;
301
    }
302
303
    /**
304
     * @return int
305
     */
306
    public function getID_Currency()
307
    {
308
        return $this->ID_Currency;
309
    }
310
311
    /**
312
     * @param int $ID_Currency
313
     * @return \Gueststream\PMS\IQWare\API\SummarySBD
314
     */
315
    public function setID_Currency($ID_Currency)
316
    {
317
        $this->ID_Currency = $ID_Currency;
318
        return $this;
319
    }
320
321
    /**
322
     * @return float
323
     */
324
    public function getFolioA()
325
    {
326
        return $this->FolioA;
327
    }
328
329
    /**
330
     * @param float $FolioA
331
     * @return \Gueststream\PMS\IQWare\API\SummarySBD
332
     */
333
    public function setFolioA($FolioA)
334
    {
335
        $this->FolioA = $FolioA;
336
        return $this;
337
    }
338
}
339