Code Duplication    Length = 332-332 lines in 2 locations

src/API/Evaluation.php 1 location

@@ 5-336 (lines=332) @@
2
3
namespace Gueststream\PMS\IQWare\API;
4
5
class Evaluation
6
{
7
8
    /**
9
     * @var int $ID_Stay
10
     */
11
    protected $ID_Stay = null;
12
13
    /**
14
     * @var int $ID_RoomType
15
     */
16
    protected $ID_RoomType = null;
17
18
    /**
19
     * @var int $ID_RateCode
20
     */
21
    protected $ID_RateCode = null;
22
23
    /**
24
     * @var float $TotalStay
25
     */
26
    protected $TotalStay = null;
27
28
    /**
29
     * @var float $TotalStayTx
30
     */
31
    protected $TotalStayTx = null;
32
33
    /**
34
     * @var float $FirstNight
35
     */
36
    protected $FirstNight = null;
37
38
    /**
39
     * @var float $FirstNightTx
40
     */
41
    protected $FirstNightTx = null;
42
43
    /**
44
     * @var float $FirstNightOthers
45
     */
46
    protected $FirstNightOthers = null;
47
48
    /**
49
     * @var float $AvgNight
50
     */
51
    protected $AvgNight = null;
52
53
    /**
54
     * @var float $AvgNightTx
55
     */
56
    protected $AvgNightTx = null;
57
58
    /**
59
     * @var float $TotalRate
60
     */
61
    protected $TotalRate = null;
62
63
    /**
64
     * @var float $TotalOthers
65
     */
66
    protected $TotalOthers = null;
67
68
    /**
69
     * @var ArrayOfDailyEvaluation $DailyEvaluations
70
     */
71
    protected $DailyEvaluations = null;
72
73
    /**
74
     * @param int $ID_Stay
75
     * @param int $ID_RoomType
76
     * @param int $ID_RateCode
77
     * @param float $TotalStay
78
     * @param float $TotalStayTx
79
     * @param float $FirstNight
80
     * @param float $FirstNightTx
81
     * @param float $FirstNightOthers
82
     * @param float $AvgNight
83
     * @param float $AvgNightTx
84
     * @param float $TotalRate
85
     * @param float $TotalOthers
86
     */
87
    public function __construct($ID_Stay, $ID_RoomType, $ID_RateCode, $TotalStay, $TotalStayTx, $FirstNight, $FirstNightTx, $FirstNightOthers, $AvgNight, $AvgNightTx, $TotalRate, $TotalOthers)
88
    {
89
        $this->ID_Stay = $ID_Stay;
90
        $this->ID_RoomType = $ID_RoomType;
91
        $this->ID_RateCode = $ID_RateCode;
92
        $this->TotalStay = $TotalStay;
93
        $this->TotalStayTx = $TotalStayTx;
94
        $this->FirstNight = $FirstNight;
95
        $this->FirstNightTx = $FirstNightTx;
96
        $this->FirstNightOthers = $FirstNightOthers;
97
        $this->AvgNight = $AvgNight;
98
        $this->AvgNightTx = $AvgNightTx;
99
        $this->TotalRate = $TotalRate;
100
        $this->TotalOthers = $TotalOthers;
101
    }
102
103
    /**
104
     * @return int
105
     */
106
    public function getID_Stay()
107
    {
108
        return $this->ID_Stay;
109
    }
110
111
    /**
112
     * @param int $ID_Stay
113
     * @return \Gueststream\PMS\IQWare\API\Evaluation
114
     */
115
    public function setID_Stay($ID_Stay)
116
    {
117
        $this->ID_Stay = $ID_Stay;
118
        return $this;
119
    }
120
121
    /**
122
     * @return int
123
     */
124
    public function getID_RoomType()
125
    {
126
        return $this->ID_RoomType;
127
    }
128
129
    /**
130
     * @param int $ID_RoomType
131
     * @return \Gueststream\PMS\IQWare\API\Evaluation
132
     */
133
    public function setID_RoomType($ID_RoomType)
134
    {
135
        $this->ID_RoomType = $ID_RoomType;
136
        return $this;
137
    }
138
139
    /**
140
     * @return int
141
     */
142
    public function getID_RateCode()
143
    {
144
        return $this->ID_RateCode;
145
    }
146
147
    /**
148
     * @param int $ID_RateCode
149
     * @return \Gueststream\PMS\IQWare\API\Evaluation
150
     */
151
    public function setID_RateCode($ID_RateCode)
152
    {
153
        $this->ID_RateCode = $ID_RateCode;
154
        return $this;
155
    }
156
157
    /**
158
     * @return float
159
     */
160
    public function getTotalStay()
161
    {
162
        return $this->TotalStay;
163
    }
164
165
    /**
166
     * @param float $TotalStay
167
     * @return \Gueststream\PMS\IQWare\API\Evaluation
168
     */
169
    public function setTotalStay($TotalStay)
170
    {
171
        $this->TotalStay = $TotalStay;
172
        return $this;
173
    }
174
175
    /**
176
     * @return float
177
     */
178
    public function getTotalStayTx()
179
    {
180
        return $this->TotalStayTx;
181
    }
182
183
    /**
184
     * @param float $TotalStayTx
185
     * @return \Gueststream\PMS\IQWare\API\Evaluation
186
     */
187
    public function setTotalStayTx($TotalStayTx)
188
    {
189
        $this->TotalStayTx = $TotalStayTx;
190
        return $this;
191
    }
192
193
    /**
194
     * @return float
195
     */
196
    public function getFirstNight()
197
    {
198
        return $this->FirstNight;
199
    }
200
201
    /**
202
     * @param float $FirstNight
203
     * @return \Gueststream\PMS\IQWare\API\Evaluation
204
     */
205
    public function setFirstNight($FirstNight)
206
    {
207
        $this->FirstNight = $FirstNight;
208
        return $this;
209
    }
210
211
    /**
212
     * @return float
213
     */
214
    public function getFirstNightTx()
215
    {
216
        return $this->FirstNightTx;
217
    }
218
219
    /**
220
     * @param float $FirstNightTx
221
     * @return \Gueststream\PMS\IQWare\API\Evaluation
222
     */
223
    public function setFirstNightTx($FirstNightTx)
224
    {
225
        $this->FirstNightTx = $FirstNightTx;
226
        return $this;
227
    }
228
229
    /**
230
     * @return float
231
     */
232
    public function getFirstNightOthers()
233
    {
234
        return $this->FirstNightOthers;
235
    }
236
237
    /**
238
     * @param float $FirstNightOthers
239
     * @return \Gueststream\PMS\IQWare\API\Evaluation
240
     */
241
    public function setFirstNightOthers($FirstNightOthers)
242
    {
243
        $this->FirstNightOthers = $FirstNightOthers;
244
        return $this;
245
    }
246
247
    /**
248
     * @return float
249
     */
250
    public function getAvgNight()
251
    {
252
        return $this->AvgNight;
253
    }
254
255
    /**
256
     * @param float $AvgNight
257
     * @return \Gueststream\PMS\IQWare\API\Evaluation
258
     */
259
    public function setAvgNight($AvgNight)
260
    {
261
        $this->AvgNight = $AvgNight;
262
        return $this;
263
    }
264
265
    /**
266
     * @return float
267
     */
268
    public function getAvgNightTx()
269
    {
270
        return $this->AvgNightTx;
271
    }
272
273
    /**
274
     * @param float $AvgNightTx
275
     * @return \Gueststream\PMS\IQWare\API\Evaluation
276
     */
277
    public function setAvgNightTx($AvgNightTx)
278
    {
279
        $this->AvgNightTx = $AvgNightTx;
280
        return $this;
281
    }
282
283
    /**
284
     * @return float
285
     */
286
    public function getTotalRate()
287
    {
288
        return $this->TotalRate;
289
    }
290
291
    /**
292
     * @param float $TotalRate
293
     * @return \Gueststream\PMS\IQWare\API\Evaluation
294
     */
295
    public function setTotalRate($TotalRate)
296
    {
297
        $this->TotalRate = $TotalRate;
298
        return $this;
299
    }
300
301
    /**
302
     * @return float
303
     */
304
    public function getTotalOthers()
305
    {
306
        return $this->TotalOthers;
307
    }
308
309
    /**
310
     * @param float $TotalOthers
311
     * @return \Gueststream\PMS\IQWare\API\Evaluation
312
     */
313
    public function setTotalOthers($TotalOthers)
314
    {
315
        $this->TotalOthers = $TotalOthers;
316
        return $this;
317
    }
318
319
    /**
320
     * @return ArrayOfDailyEvaluation
321
     */
322
    public function getDailyEvaluations()
323
    {
324
        return $this->DailyEvaluations;
325
    }
326
327
    /**
328
     * @param ArrayOfDailyEvaluation $DailyEvaluations
329
     * @return \Gueststream\PMS\IQWare\API\Evaluation
330
     */
331
    public function setDailyEvaluations($DailyEvaluations)
332
    {
333
        $this->DailyEvaluations = $DailyEvaluations;
334
        return $this;
335
    }
336
}
337

src/API/StayValue.php 1 location

@@ 5-336 (lines=332) @@
2
3
namespace Gueststream\PMS\IQWare\API;
4
5
class StayValue
6
{
7
8
    /**
9
     * @var int $GUID
10
     */
11
    protected $GUID = null;
12
13
    /**
14
     * @var int $ID_Stay
15
     */
16
    protected $ID_Stay = null;
17
18
    /**
19
     * @var int $ID_RoomType
20
     */
21
    protected $ID_RoomType = null;
22
23
    /**
24
     * @var int $ID_RateCode
25
     */
26
    protected $ID_RateCode = null;
27
28
    /**
29
     * @var float $FirstNight
30
     */
31
    protected $FirstNight = null;
32
33
    /**
34
     * @var float $FirstNightTax
35
     */
36
    protected $FirstNightTax = null;
37
38
    /**
39
     * @var float $AvgNight
40
     */
41
    protected $AvgNight = null;
42
43
    /**
44
     * @var float $AvgNightTax
45
     */
46
    protected $AvgNightTax = null;
47
48
    /**
49
     * @var float $TotalStay
50
     */
51
    protected $TotalStay = null;
52
53
    /**
54
     * @var float $TotalStayTax
55
     */
56
    protected $TotalStayTax = null;
57
58
    /**
59
     * @var float $RequiredDeposit
60
     */
61
    protected $RequiredDeposit = null;
62
63
    /**
64
     * @var float $TotalOthers
65
     */
66
    protected $TotalOthers = null;
67
68
    /**
69
     * @var ArrayOfStayDailyValue $StayDailyValuesArray
70
     */
71
    protected $StayDailyValuesArray = null;
72
73
    /**
74
     * @param int $GUID
75
     * @param int $ID_Stay
76
     * @param int $ID_RoomType
77
     * @param int $ID_RateCode
78
     * @param float $FirstNight
79
     * @param float $FirstNightTax
80
     * @param float $AvgNight
81
     * @param float $AvgNightTax
82
     * @param float $TotalStay
83
     * @param float $TotalStayTax
84
     * @param float $RequiredDeposit
85
     * @param float $TotalOthers
86
     */
87
    public function __construct($GUID, $ID_Stay, $ID_RoomType, $ID_RateCode, $FirstNight, $FirstNightTax, $AvgNight, $AvgNightTax, $TotalStay, $TotalStayTax, $RequiredDeposit, $TotalOthers)
88
    {
89
        $this->GUID = $GUID;
90
        $this->ID_Stay = $ID_Stay;
91
        $this->ID_RoomType = $ID_RoomType;
92
        $this->ID_RateCode = $ID_RateCode;
93
        $this->FirstNight = $FirstNight;
94
        $this->FirstNightTax = $FirstNightTax;
95
        $this->AvgNight = $AvgNight;
96
        $this->AvgNightTax = $AvgNightTax;
97
        $this->TotalStay = $TotalStay;
98
        $this->TotalStayTax = $TotalStayTax;
99
        $this->RequiredDeposit = $RequiredDeposit;
100
        $this->TotalOthers = $TotalOthers;
101
    }
102
103
    /**
104
     * @return int
105
     */
106
    public function getGUID()
107
    {
108
        return $this->GUID;
109
    }
110
111
    /**
112
     * @param int $GUID
113
     * @return \Gueststream\PMS\IQWare\API\StayValue
114
     */
115
    public function setGUID($GUID)
116
    {
117
        $this->GUID = $GUID;
118
        return $this;
119
    }
120
121
    /**
122
     * @return int
123
     */
124
    public function getID_Stay()
125
    {
126
        return $this->ID_Stay;
127
    }
128
129
    /**
130
     * @param int $ID_Stay
131
     * @return \Gueststream\PMS\IQWare\API\StayValue
132
     */
133
    public function setID_Stay($ID_Stay)
134
    {
135
        $this->ID_Stay = $ID_Stay;
136
        return $this;
137
    }
138
139
    /**
140
     * @return int
141
     */
142
    public function getID_RoomType()
143
    {
144
        return $this->ID_RoomType;
145
    }
146
147
    /**
148
     * @param int $ID_RoomType
149
     * @return \Gueststream\PMS\IQWare\API\StayValue
150
     */
151
    public function setID_RoomType($ID_RoomType)
152
    {
153
        $this->ID_RoomType = $ID_RoomType;
154
        return $this;
155
    }
156
157
    /**
158
     * @return int
159
     */
160
    public function getID_RateCode()
161
    {
162
        return $this->ID_RateCode;
163
    }
164
165
    /**
166
     * @param int $ID_RateCode
167
     * @return \Gueststream\PMS\IQWare\API\StayValue
168
     */
169
    public function setID_RateCode($ID_RateCode)
170
    {
171
        $this->ID_RateCode = $ID_RateCode;
172
        return $this;
173
    }
174
175
    /**
176
     * @return float
177
     */
178
    public function getFirstNight()
179
    {
180
        return $this->FirstNight;
181
    }
182
183
    /**
184
     * @param float $FirstNight
185
     * @return \Gueststream\PMS\IQWare\API\StayValue
186
     */
187
    public function setFirstNight($FirstNight)
188
    {
189
        $this->FirstNight = $FirstNight;
190
        return $this;
191
    }
192
193
    /**
194
     * @return float
195
     */
196
    public function getFirstNightTax()
197
    {
198
        return $this->FirstNightTax;
199
    }
200
201
    /**
202
     * @param float $FirstNightTax
203
     * @return \Gueststream\PMS\IQWare\API\StayValue
204
     */
205
    public function setFirstNightTax($FirstNightTax)
206
    {
207
        $this->FirstNightTax = $FirstNightTax;
208
        return $this;
209
    }
210
211
    /**
212
     * @return float
213
     */
214
    public function getAvgNight()
215
    {
216
        return $this->AvgNight;
217
    }
218
219
    /**
220
     * @param float $AvgNight
221
     * @return \Gueststream\PMS\IQWare\API\StayValue
222
     */
223
    public function setAvgNight($AvgNight)
224
    {
225
        $this->AvgNight = $AvgNight;
226
        return $this;
227
    }
228
229
    /**
230
     * @return float
231
     */
232
    public function getAvgNightTax()
233
    {
234
        return $this->AvgNightTax;
235
    }
236
237
    /**
238
     * @param float $AvgNightTax
239
     * @return \Gueststream\PMS\IQWare\API\StayValue
240
     */
241
    public function setAvgNightTax($AvgNightTax)
242
    {
243
        $this->AvgNightTax = $AvgNightTax;
244
        return $this;
245
    }
246
247
    /**
248
     * @return float
249
     */
250
    public function getTotalStay()
251
    {
252
        return $this->TotalStay;
253
    }
254
255
    /**
256
     * @param float $TotalStay
257
     * @return \Gueststream\PMS\IQWare\API\StayValue
258
     */
259
    public function setTotalStay($TotalStay)
260
    {
261
        $this->TotalStay = $TotalStay;
262
        return $this;
263
    }
264
265
    /**
266
     * @return float
267
     */
268
    public function getTotalStayTax()
269
    {
270
        return $this->TotalStayTax;
271
    }
272
273
    /**
274
     * @param float $TotalStayTax
275
     * @return \Gueststream\PMS\IQWare\API\StayValue
276
     */
277
    public function setTotalStayTax($TotalStayTax)
278
    {
279
        $this->TotalStayTax = $TotalStayTax;
280
        return $this;
281
    }
282
283
    /**
284
     * @return float
285
     */
286
    public function getRequiredDeposit()
287
    {
288
        return $this->RequiredDeposit;
289
    }
290
291
    /**
292
     * @param float $RequiredDeposit
293
     * @return \Gueststream\PMS\IQWare\API\StayValue
294
     */
295
    public function setRequiredDeposit($RequiredDeposit)
296
    {
297
        $this->RequiredDeposit = $RequiredDeposit;
298
        return $this;
299
    }
300
301
    /**
302
     * @return float
303
     */
304
    public function getTotalOthers()
305
    {
306
        return $this->TotalOthers;
307
    }
308
309
    /**
310
     * @param float $TotalOthers
311
     * @return \Gueststream\PMS\IQWare\API\StayValue
312
     */
313
    public function setTotalOthers($TotalOthers)
314
    {
315
        $this->TotalOthers = $TotalOthers;
316
        return $this;
317
    }
318
319
    /**
320
     * @return ArrayOfStayDailyValue
321
     */
322
    public function getStayDailyValuesArray()
323
    {
324
        return $this->StayDailyValuesArray;
325
    }
326
327
    /**
328
     * @param ArrayOfStayDailyValue $StayDailyValuesArray
329
     * @return \Gueststream\PMS\IQWare\API\StayValue
330
     */
331
    public function setStayDailyValuesArray($StayDailyValuesArray)
332
    {
333
        $this->StayDailyValuesArray = $StayDailyValuesArray;
334
        return $this;
335
    }
336
}
337