Code Duplication    Length = 257-259 lines in 2 locations

src/API/CancelResponse.php 1 location

@@ 5-261 (lines=257) @@
2
3
namespace Gueststream\PMS\IQWare\API;
4
5
class CancelResponse
6
{
7
8
    /**
9
     * @var int $CancellationNo
10
     */
11
    protected $CancellationNo = null;
12
13
    /**
14
     * @var Folios $FolioAmounts
15
     */
16
    protected $FolioAmounts = null;
17
18
    /**
19
     * @var int $SfolioPenalty
20
     */
21
    protected $SfolioPenalty = null;
22
23
    /**
24
     * @var float $AmountPenalty
25
     */
26
    protected $AmountPenalty = null;
27
28
    /**
29
     * @var int $ID_TrnCodePenalty
30
     */
31
    protected $ID_TrnCodePenalty = null;
32
33
    /**
34
     * @var int $LedgerType
35
     */
36
    protected $LedgerType = null;
37
38
    /**
39
     * @var int $ID_Account
40
     */
41
    protected $ID_Account = null;
42
43
    /**
44
     * @var int $AccountNo
45
     */
46
    protected $AccountNo = null;
47
48
    /**
49
     * @var int $ID_Dept
50
     */
51
    protected $ID_Dept = null;
52
53
    /**
54
     * @var boolean $MustRefundCard
55
     */
56
    protected $MustRefundCard = null;
57
58
    /**
59
     * @param int $CancellationNo
60
     * @param int $SfolioPenalty
61
     * @param float $AmountPenalty
62
     * @param int $ID_TrnCodePenalty
63
     * @param int $LedgerType
64
     * @param int $ID_Account
65
     * @param int $AccountNo
66
     * @param int $ID_Dept
67
     * @param boolean $MustRefundCard
68
     */
69
    public function __construct($CancellationNo, $SfolioPenalty, $AmountPenalty, $ID_TrnCodePenalty, $LedgerType, $ID_Account, $AccountNo, $ID_Dept, $MustRefundCard)
70
    {
71
        $this->CancellationNo = $CancellationNo;
72
        $this->SfolioPenalty = $SfolioPenalty;
73
        $this->AmountPenalty = $AmountPenalty;
74
        $this->ID_TrnCodePenalty = $ID_TrnCodePenalty;
75
        $this->LedgerType = $LedgerType;
76
        $this->ID_Account = $ID_Account;
77
        $this->AccountNo = $AccountNo;
78
        $this->ID_Dept = $ID_Dept;
79
        $this->MustRefundCard = $MustRefundCard;
80
    }
81
82
    /**
83
     * @return int
84
     */
85
    public function getCancellationNo()
86
    {
87
        return $this->CancellationNo;
88
    }
89
90
    /**
91
     * @param int $CancellationNo
92
     * @return \Gueststream\PMS\IQWare\API\CancelResponse
93
     */
94
    public function setCancellationNo($CancellationNo)
95
    {
96
        $this->CancellationNo = $CancellationNo;
97
        return $this;
98
    }
99
100
    /**
101
     * @return Folios
102
     */
103
    public function getFolioAmounts()
104
    {
105
        return $this->FolioAmounts;
106
    }
107
108
    /**
109
     * @param Folios $FolioAmounts
110
     * @return \Gueststream\PMS\IQWare\API\CancelResponse
111
     */
112
    public function setFolioAmounts($FolioAmounts)
113
    {
114
        $this->FolioAmounts = $FolioAmounts;
115
        return $this;
116
    }
117
118
    /**
119
     * @return int
120
     */
121
    public function getSfolioPenalty()
122
    {
123
        return $this->SfolioPenalty;
124
    }
125
126
    /**
127
     * @param int $SfolioPenalty
128
     * @return \Gueststream\PMS\IQWare\API\CancelResponse
129
     */
130
    public function setSfolioPenalty($SfolioPenalty)
131
    {
132
        $this->SfolioPenalty = $SfolioPenalty;
133
        return $this;
134
    }
135
136
    /**
137
     * @return float
138
     */
139
    public function getAmountPenalty()
140
    {
141
        return $this->AmountPenalty;
142
    }
143
144
    /**
145
     * @param float $AmountPenalty
146
     * @return \Gueststream\PMS\IQWare\API\CancelResponse
147
     */
148
    public function setAmountPenalty($AmountPenalty)
149
    {
150
        $this->AmountPenalty = $AmountPenalty;
151
        return $this;
152
    }
153
154
    /**
155
     * @return int
156
     */
157
    public function getID_TrnCodePenalty()
158
    {
159
        return $this->ID_TrnCodePenalty;
160
    }
161
162
    /**
163
     * @param int $ID_TrnCodePenalty
164
     * @return \Gueststream\PMS\IQWare\API\CancelResponse
165
     */
166
    public function setID_TrnCodePenalty($ID_TrnCodePenalty)
167
    {
168
        $this->ID_TrnCodePenalty = $ID_TrnCodePenalty;
169
        return $this;
170
    }
171
172
    /**
173
     * @return int
174
     */
175
    public function getLedgerType()
176
    {
177
        return $this->LedgerType;
178
    }
179
180
    /**
181
     * @param int $LedgerType
182
     * @return \Gueststream\PMS\IQWare\API\CancelResponse
183
     */
184
    public function setLedgerType($LedgerType)
185
    {
186
        $this->LedgerType = $LedgerType;
187
        return $this;
188
    }
189
190
    /**
191
     * @return int
192
     */
193
    public function getID_Account()
194
    {
195
        return $this->ID_Account;
196
    }
197
198
    /**
199
     * @param int $ID_Account
200
     * @return \Gueststream\PMS\IQWare\API\CancelResponse
201
     */
202
    public function setID_Account($ID_Account)
203
    {
204
        $this->ID_Account = $ID_Account;
205
        return $this;
206
    }
207
208
    /**
209
     * @return int
210
     */
211
    public function getAccountNo()
212
    {
213
        return $this->AccountNo;
214
    }
215
216
    /**
217
     * @param int $AccountNo
218
     * @return \Gueststream\PMS\IQWare\API\CancelResponse
219
     */
220
    public function setAccountNo($AccountNo)
221
    {
222
        $this->AccountNo = $AccountNo;
223
        return $this;
224
    }
225
226
    /**
227
     * @return int
228
     */
229
    public function getID_Dept()
230
    {
231
        return $this->ID_Dept;
232
    }
233
234
    /**
235
     * @param int $ID_Dept
236
     * @return \Gueststream\PMS\IQWare\API\CancelResponse
237
     */
238
    public function setID_Dept($ID_Dept)
239
    {
240
        $this->ID_Dept = $ID_Dept;
241
        return $this;
242
    }
243
244
    /**
245
     * @return boolean
246
     */
247
    public function getMustRefundCard()
248
    {
249
        return $this->MustRefundCard;
250
    }
251
252
    /**
253
     * @param boolean $MustRefundCard
254
     * @return \Gueststream\PMS\IQWare\API\CancelResponse
255
     */
256
    public function setMustRefundCard($MustRefundCard)
257
    {
258
        $this->MustRefundCard = $MustRefundCard;
259
        return $this;
260
    }
261
}
262

src/API/PostTransaction.php 1 location

@@ 5-263 (lines=259) @@
2
3
namespace Gueststream\PMS\IQWare\API;
4
5
class PostTransaction
6
{
7
8
    /**
9
     * @var int $intGUID
10
     */
11
    protected $intGUID = null;
12
13
    /**
14
     * @var int $ID_Account
15
     */
16
    protected $ID_Account = null;
17
18
    /**
19
     * @var int $AccountNo
20
     */
21
    protected $AccountNo = null;
22
23
    /**
24
     * @var int $ID_TrnCodePenalty
25
     */
26
    protected $ID_TrnCodePenalty = null;
27
28
    /**
29
     * @var float $AmountPenalty
30
     */
31
    protected $AmountPenalty = null;
32
33
    /**
34
     * @var int $SfolioPenalty
35
     */
36
    protected $SfolioPenalty = null;
37
38
    /**
39
     * @var int $LedgerType
40
     */
41
    protected $LedgerType = null;
42
43
    /**
44
     * @var int $ID_Dept
45
     */
46
    protected $ID_Dept = null;
47
48
    /**
49
     * @var string $Comments
50
     */
51
    protected $Comments = null;
52
53
    /**
54
     * @var string $Reference
55
     */
56
    protected $Reference = null;
57
58
    /**
59
     * @param int $intGUID
60
     * @param int $ID_Account
61
     * @param int $AccountNo
62
     * @param int $ID_TrnCodePenalty
63
     * @param float $AmountPenalty
64
     * @param int $SfolioPenalty
65
     * @param int $LedgerType
66
     * @param int $ID_Dept
67
     * @param string $Comments
68
     * @param string $Reference
69
     */
70
    public function __construct($intGUID, $ID_Account, $AccountNo, $ID_TrnCodePenalty, $AmountPenalty, $SfolioPenalty, $LedgerType, $ID_Dept, $Comments, $Reference)
71
    {
72
        $this->intGUID = $intGUID;
73
        $this->ID_Account = $ID_Account;
74
        $this->AccountNo = $AccountNo;
75
        $this->ID_TrnCodePenalty = $ID_TrnCodePenalty;
76
        $this->AmountPenalty = $AmountPenalty;
77
        $this->SfolioPenalty = $SfolioPenalty;
78
        $this->LedgerType = $LedgerType;
79
        $this->ID_Dept = $ID_Dept;
80
        $this->Comments = $Comments;
81
        $this->Reference = $Reference;
82
    }
83
84
    /**
85
     * @return int
86
     */
87
    public function getIntGUID()
88
    {
89
        return $this->intGUID;
90
    }
91
92
    /**
93
     * @param int $intGUID
94
     * @return \Gueststream\PMS\IQWare\API\PostTransaction
95
     */
96
    public function setIntGUID($intGUID)
97
    {
98
        $this->intGUID = $intGUID;
99
        return $this;
100
    }
101
102
    /**
103
     * @return int
104
     */
105
    public function getID_Account()
106
    {
107
        return $this->ID_Account;
108
    }
109
110
    /**
111
     * @param int $ID_Account
112
     * @return \Gueststream\PMS\IQWare\API\PostTransaction
113
     */
114
    public function setID_Account($ID_Account)
115
    {
116
        $this->ID_Account = $ID_Account;
117
        return $this;
118
    }
119
120
    /**
121
     * @return int
122
     */
123
    public function getAccountNo()
124
    {
125
        return $this->AccountNo;
126
    }
127
128
    /**
129
     * @param int $AccountNo
130
     * @return \Gueststream\PMS\IQWare\API\PostTransaction
131
     */
132
    public function setAccountNo($AccountNo)
133
    {
134
        $this->AccountNo = $AccountNo;
135
        return $this;
136
    }
137
138
    /**
139
     * @return int
140
     */
141
    public function getID_TrnCodePenalty()
142
    {
143
        return $this->ID_TrnCodePenalty;
144
    }
145
146
    /**
147
     * @param int $ID_TrnCodePenalty
148
     * @return \Gueststream\PMS\IQWare\API\PostTransaction
149
     */
150
    public function setID_TrnCodePenalty($ID_TrnCodePenalty)
151
    {
152
        $this->ID_TrnCodePenalty = $ID_TrnCodePenalty;
153
        return $this;
154
    }
155
156
    /**
157
     * @return float
158
     */
159
    public function getAmountPenalty()
160
    {
161
        return $this->AmountPenalty;
162
    }
163
164
    /**
165
     * @param float $AmountPenalty
166
     * @return \Gueststream\PMS\IQWare\API\PostTransaction
167
     */
168
    public function setAmountPenalty($AmountPenalty)
169
    {
170
        $this->AmountPenalty = $AmountPenalty;
171
        return $this;
172
    }
173
174
    /**
175
     * @return int
176
     */
177
    public function getSfolioPenalty()
178
    {
179
        return $this->SfolioPenalty;
180
    }
181
182
    /**
183
     * @param int $SfolioPenalty
184
     * @return \Gueststream\PMS\IQWare\API\PostTransaction
185
     */
186
    public function setSfolioPenalty($SfolioPenalty)
187
    {
188
        $this->SfolioPenalty = $SfolioPenalty;
189
        return $this;
190
    }
191
192
    /**
193
     * @return int
194
     */
195
    public function getLedgerType()
196
    {
197
        return $this->LedgerType;
198
    }
199
200
    /**
201
     * @param int $LedgerType
202
     * @return \Gueststream\PMS\IQWare\API\PostTransaction
203
     */
204
    public function setLedgerType($LedgerType)
205
    {
206
        $this->LedgerType = $LedgerType;
207
        return $this;
208
    }
209
210
    /**
211
     * @return int
212
     */
213
    public function getID_Dept()
214
    {
215
        return $this->ID_Dept;
216
    }
217
218
    /**
219
     * @param int $ID_Dept
220
     * @return \Gueststream\PMS\IQWare\API\PostTransaction
221
     */
222
    public function setID_Dept($ID_Dept)
223
    {
224
        $this->ID_Dept = $ID_Dept;
225
        return $this;
226
    }
227
228
    /**
229
     * @return string
230
     */
231
    public function getComments()
232
    {
233
        return $this->Comments;
234
    }
235
236
    /**
237
     * @param string $Comments
238
     * @return \Gueststream\PMS\IQWare\API\PostTransaction
239
     */
240
    public function setComments($Comments)
241
    {
242
        $this->Comments = $Comments;
243
        return $this;
244
    }
245
246
    /**
247
     * @return string
248
     */
249
    public function getReference()
250
    {
251
        return $this->Reference;
252
    }
253
254
    /**
255
     * @param string $Reference
256
     * @return \Gueststream\PMS\IQWare\API\PostTransaction
257
     */
258
    public function setReference($Reference)
259
    {
260
        $this->Reference = $Reference;
261
        return $this;
262
    }
263
}
264