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/OwnerReservationValidityRBOResponse.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 OwnerReservationValidityRBOResponse
6
{
7
8
    /**
9
     * @var OwnerReservationRBOValidity $Validity
10
     */
11
    protected $Validity = null;
12
13
    /**
14
     * @var RoomRestrictionStatus $RestrictionType
15
     */
16
    protected $RestrictionType = null;
17
18
    /**
19
     * @var int $RateYield_MinLengthValidity
20
     */
21
    protected $RateYield_MinLengthValidity = null;
22
23
    /**
24
     * @var int $RateCodeId
25
     */
26
    protected $RateCodeId = null;
27
28
    /**
29
     * @var int $RoomId
30
     */
31
    protected $RoomId = null;
32
33
    /**
34
     * @var string $RoomNo
35
     */
36
    protected $RoomNo = null;
37
38
    /**
39
     * @var int $RoomTypeId
40
     */
41
    protected $RoomTypeId = null;
42
43
    /**
44
     * @var string $RateCodeName
45
     */
46
    protected $RateCodeName = null;
47
48
    /**
49
     * @var string $RoomTypeName
50
     */
51
    protected $RoomTypeName = null;
52
53
    /**
54
     * @var string $RateCodeDescription
55
     */
56
    protected $RateCodeDescription = null;
57
58
    /**
59
     * @var string $RoomTypeDescription
60
     */
61
    protected $RoomTypeDescription = null;
62
63
    /**
64
     * @var string $Message
65
     */
66
    protected $Message = null;
67
68
    /**
69
     * @var ArrayOfSBDSummary $StayBreakDownRBO
70
     */
71
    protected $StayBreakDownRBO = null;
72
73
    /**
74
     * @param OwnerReservationRBOValidity $Validity
75
     * @param RoomRestrictionStatus $RestrictionType
76
     * @param int $RateYield_MinLengthValidity
77
     * @param int $RateCodeId
78
     * @param int $RoomId
79
     * @param int $RoomTypeId
80
     */
81 View Code Duplication
    public function __construct($Validity, $RestrictionType, $RateYield_MinLengthValidity, $RateCodeId, $RoomId, $RoomTypeId)
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...
82
    {
83
        $this->Validity = $Validity;
84
        $this->RestrictionType = $RestrictionType;
85
        $this->RateYield_MinLengthValidity = $RateYield_MinLengthValidity;
86
        $this->RateCodeId = $RateCodeId;
87
        $this->RoomId = $RoomId;
88
        $this->RoomTypeId = $RoomTypeId;
89
    }
90
91
    /**
92
     * @return OwnerReservationRBOValidity
93
     */
94
    public function getValidity()
95
    {
96
        return $this->Validity;
97
    }
98
99
    /**
100
     * @param OwnerReservationRBOValidity $Validity
101
     * @return \Gueststream\PMS\IQWare\API\OwnerReservationValidityRBOResponse
102
     */
103
    public function setValidity($Validity)
104
    {
105
        $this->Validity = $Validity;
106
        return $this;
107
    }
108
109
    /**
110
     * @return RoomRestrictionStatus
111
     */
112
    public function getRestrictionType()
113
    {
114
        return $this->RestrictionType;
115
    }
116
117
    /**
118
     * @param RoomRestrictionStatus $RestrictionType
119
     * @return \Gueststream\PMS\IQWare\API\OwnerReservationValidityRBOResponse
120
     */
121
    public function setRestrictionType($RestrictionType)
122
    {
123
        $this->RestrictionType = $RestrictionType;
124
        return $this;
125
    }
126
127
    /**
128
     * @return int
129
     */
130
    public function getRateYield_MinLengthValidity()
131
    {
132
        return $this->RateYield_MinLengthValidity;
133
    }
134
135
    /**
136
     * @param int $RateYield_MinLengthValidity
137
     * @return \Gueststream\PMS\IQWare\API\OwnerReservationValidityRBOResponse
138
     */
139
    public function setRateYield_MinLengthValidity($RateYield_MinLengthValidity)
140
    {
141
        $this->RateYield_MinLengthValidity = $RateYield_MinLengthValidity;
142
        return $this;
143
    }
144
145
    /**
146
     * @return int
147
     */
148
    public function getRateCodeId()
149
    {
150
        return $this->RateCodeId;
151
    }
152
153
    /**
154
     * @param int $RateCodeId
155
     * @return \Gueststream\PMS\IQWare\API\OwnerReservationValidityRBOResponse
156
     */
157
    public function setRateCodeId($RateCodeId)
158
    {
159
        $this->RateCodeId = $RateCodeId;
160
        return $this;
161
    }
162
163
    /**
164
     * @return int
165
     */
166
    public function getRoomId()
167
    {
168
        return $this->RoomId;
169
    }
170
171
    /**
172
     * @param int $RoomId
173
     * @return \Gueststream\PMS\IQWare\API\OwnerReservationValidityRBOResponse
174
     */
175
    public function setRoomId($RoomId)
176
    {
177
        $this->RoomId = $RoomId;
178
        return $this;
179
    }
180
181
    /**
182
     * @return string
183
     */
184
    public function getRoomNo()
185
    {
186
        return $this->RoomNo;
187
    }
188
189
    /**
190
     * @param string $RoomNo
191
     * @return \Gueststream\PMS\IQWare\API\OwnerReservationValidityRBOResponse
192
     */
193
    public function setRoomNo($RoomNo)
194
    {
195
        $this->RoomNo = $RoomNo;
196
        return $this;
197
    }
198
199
    /**
200
     * @return int
201
     */
202
    public function getRoomTypeId()
203
    {
204
        return $this->RoomTypeId;
205
    }
206
207
    /**
208
     * @param int $RoomTypeId
209
     * @return \Gueststream\PMS\IQWare\API\OwnerReservationValidityRBOResponse
210
     */
211
    public function setRoomTypeId($RoomTypeId)
212
    {
213
        $this->RoomTypeId = $RoomTypeId;
214
        return $this;
215
    }
216
217
    /**
218
     * @return string
219
     */
220
    public function getRateCodeName()
221
    {
222
        return $this->RateCodeName;
223
    }
224
225
    /**
226
     * @param string $RateCodeName
227
     * @return \Gueststream\PMS\IQWare\API\OwnerReservationValidityRBOResponse
228
     */
229
    public function setRateCodeName($RateCodeName)
230
    {
231
        $this->RateCodeName = $RateCodeName;
232
        return $this;
233
    }
234
235
    /**
236
     * @return string
237
     */
238
    public function getRoomTypeName()
239
    {
240
        return $this->RoomTypeName;
241
    }
242
243
    /**
244
     * @param string $RoomTypeName
245
     * @return \Gueststream\PMS\IQWare\API\OwnerReservationValidityRBOResponse
246
     */
247
    public function setRoomTypeName($RoomTypeName)
248
    {
249
        $this->RoomTypeName = $RoomTypeName;
250
        return $this;
251
    }
252
253
    /**
254
     * @return string
255
     */
256
    public function getRateCodeDescription()
257
    {
258
        return $this->RateCodeDescription;
259
    }
260
261
    /**
262
     * @param string $RateCodeDescription
263
     * @return \Gueststream\PMS\IQWare\API\OwnerReservationValidityRBOResponse
264
     */
265
    public function setRateCodeDescription($RateCodeDescription)
266
    {
267
        $this->RateCodeDescription = $RateCodeDescription;
268
        return $this;
269
    }
270
271
    /**
272
     * @return string
273
     */
274
    public function getRoomTypeDescription()
275
    {
276
        return $this->RoomTypeDescription;
277
    }
278
279
    /**
280
     * @param string $RoomTypeDescription
281
     * @return \Gueststream\PMS\IQWare\API\OwnerReservationValidityRBOResponse
282
     */
283
    public function setRoomTypeDescription($RoomTypeDescription)
284
    {
285
        $this->RoomTypeDescription = $RoomTypeDescription;
286
        return $this;
287
    }
288
289
    /**
290
     * @return string
291
     */
292
    public function getMessage()
293
    {
294
        return $this->Message;
295
    }
296
297
    /**
298
     * @param string $Message
299
     * @return \Gueststream\PMS\IQWare\API\OwnerReservationValidityRBOResponse
300
     */
301
    public function setMessage($Message)
302
    {
303
        $this->Message = $Message;
304
        return $this;
305
    }
306
307
    /**
308
     * @return ArrayOfSBDSummary
309
     */
310
    public function getStayBreakDownRBO()
311
    {
312
        return $this->StayBreakDownRBO;
313
    }
314
315
    /**
316
     * @param ArrayOfSBDSummary $StayBreakDownRBO
317
     * @return \Gueststream\PMS\IQWare\API\OwnerReservationValidityRBOResponse
318
     */
319
    public function setStayBreakDownRBO($StayBreakDownRBO)
320
    {
321
        $this->StayBreakDownRBO = $StayBreakDownRBO;
322
        return $this;
323
    }
324
}
325