|
1
|
|
|
<?php |
|
2
|
|
|
/** |
|
3
|
|
|
* Created by Carl Owens ([email protected]) |
|
4
|
|
|
* Company: PartFire Ltd (www.partfire.co.uk) |
|
5
|
|
|
* Copyright © 2017 PartFire Ltd. All rights reserved. |
|
6
|
|
|
* |
|
7
|
|
|
* User: Carl Owens |
|
8
|
|
|
* Date: 19/01/2017 |
|
9
|
|
|
* Time: 12:21 |
|
10
|
|
|
* File: CardDirectPayIn.php |
|
11
|
|
|
**/ |
|
12
|
|
|
|
|
13
|
|
|
namespace PartFire\MangoPayBundle\Models\DTOs; |
|
14
|
|
|
|
|
15
|
|
|
class CardDirectPayIn |
|
16
|
|
|
{ |
|
17
|
|
|
private $resourceId; |
|
18
|
|
|
|
|
19
|
|
|
private $tag; |
|
20
|
|
|
|
|
21
|
|
|
private $authorId; |
|
22
|
|
|
|
|
23
|
|
|
private $creditedUserId; |
|
24
|
|
|
|
|
25
|
|
|
private $creditedWalletId; |
|
26
|
|
|
|
|
27
|
|
|
private $debitedFunds; |
|
28
|
|
|
|
|
29
|
|
|
private $fees; |
|
30
|
|
|
|
|
31
|
|
|
private $feesCurrency; |
|
32
|
|
|
|
|
33
|
|
|
private $secureModeReturnUrl; |
|
34
|
|
|
|
|
35
|
|
|
private $cardId; |
|
36
|
|
|
|
|
37
|
|
|
private $secureMode; |
|
38
|
|
|
|
|
39
|
|
|
private $secureModeNeeded; |
|
40
|
|
|
|
|
41
|
|
|
private $secureModeRedirectUrl; |
|
42
|
|
|
|
|
43
|
|
|
private $statementDescriptor; |
|
44
|
|
|
|
|
45
|
|
|
private $amount; |
|
46
|
|
|
|
|
47
|
|
|
private $currency; |
|
48
|
|
|
|
|
49
|
|
|
private $cardType; |
|
50
|
|
|
|
|
51
|
|
|
private $status; |
|
52
|
|
|
|
|
53
|
|
|
/** |
|
54
|
|
|
* @return mixed |
|
55
|
|
|
*/ |
|
56
|
|
|
public function getTag() |
|
57
|
|
|
{ |
|
58
|
|
|
return $this->tag; |
|
59
|
|
|
} |
|
60
|
|
|
|
|
61
|
|
|
/** |
|
62
|
|
|
* @param mixed $tag |
|
63
|
|
|
*/ |
|
64
|
|
|
public function setTag($tag) |
|
65
|
|
|
{ |
|
66
|
|
|
$this->tag = $tag; |
|
67
|
|
|
} |
|
68
|
|
|
|
|
69
|
|
|
/** |
|
70
|
|
|
* @return mixed |
|
71
|
|
|
*/ |
|
72
|
|
|
public function getAuthorId() |
|
73
|
|
|
{ |
|
74
|
|
|
return $this->authorId; |
|
75
|
|
|
} |
|
76
|
|
|
|
|
77
|
|
|
/** |
|
78
|
|
|
* @param mixed $authorId |
|
79
|
|
|
*/ |
|
80
|
|
|
public function setAuthorId($authorId) |
|
81
|
|
|
{ |
|
82
|
|
|
$this->authorId = $authorId; |
|
83
|
|
|
} |
|
84
|
|
|
|
|
85
|
|
|
/** |
|
86
|
|
|
* @return mixed |
|
87
|
|
|
*/ |
|
88
|
|
|
public function getCreditedUserId() |
|
89
|
|
|
{ |
|
90
|
|
|
return $this->creditedUserId; |
|
91
|
|
|
} |
|
92
|
|
|
|
|
93
|
|
|
/** |
|
94
|
|
|
* @param mixed $creditedUserId |
|
95
|
|
|
*/ |
|
96
|
|
|
public function setCreditedUserId($creditedUserId) |
|
97
|
|
|
{ |
|
98
|
|
|
$this->creditedUserId = $creditedUserId; |
|
99
|
|
|
} |
|
100
|
|
|
|
|
101
|
|
|
/** |
|
102
|
|
|
* @return mixed |
|
103
|
|
|
*/ |
|
104
|
|
|
public function getCreditedWalletId() |
|
105
|
|
|
{ |
|
106
|
|
|
return $this->creditedWalletId; |
|
107
|
|
|
} |
|
108
|
|
|
|
|
109
|
|
|
/** |
|
110
|
|
|
* @param mixed $creditedWalletId |
|
111
|
|
|
*/ |
|
112
|
|
|
public function setCreditedWalletId($creditedWalletId) |
|
113
|
|
|
{ |
|
114
|
|
|
$this->creditedWalletId = $creditedWalletId; |
|
115
|
|
|
} |
|
116
|
|
|
|
|
117
|
|
|
/** |
|
118
|
|
|
* @return mixed |
|
119
|
|
|
*/ |
|
120
|
|
|
public function getDebitedFunds() |
|
121
|
|
|
{ |
|
122
|
|
|
return $this->debitedFunds; |
|
123
|
|
|
} |
|
124
|
|
|
|
|
125
|
|
|
/** |
|
126
|
|
|
* @param mixed $debitedFunds |
|
127
|
|
|
*/ |
|
128
|
|
|
public function setDebitedFunds($debitedFunds) |
|
129
|
|
|
{ |
|
130
|
|
|
$this->debitedFunds = $debitedFunds; |
|
131
|
|
|
} |
|
132
|
|
|
|
|
133
|
|
|
/** |
|
134
|
|
|
* @return mixed |
|
135
|
|
|
*/ |
|
136
|
|
|
public function getFees() |
|
137
|
|
|
{ |
|
138
|
|
|
return $this->fees; |
|
139
|
|
|
} |
|
140
|
|
|
|
|
141
|
|
|
/** |
|
142
|
|
|
* @param mixed $fees |
|
143
|
|
|
*/ |
|
144
|
|
|
public function setFees($fees) |
|
145
|
|
|
{ |
|
146
|
|
|
$this->fees = $fees; |
|
147
|
|
|
} |
|
148
|
|
|
|
|
149
|
|
|
/** |
|
150
|
|
|
* @return mixed |
|
151
|
|
|
*/ |
|
152
|
|
|
public function getFeesCurrency() |
|
153
|
|
|
{ |
|
154
|
|
|
return $this->feesCurrency; |
|
155
|
|
|
} |
|
156
|
|
|
|
|
157
|
|
|
/** |
|
158
|
|
|
* @param mixed $feesCurrency |
|
159
|
|
|
*/ |
|
160
|
|
|
public function setFeesCurrency($feesCurrency) |
|
161
|
|
|
{ |
|
162
|
|
|
$this->feesCurrency = $feesCurrency; |
|
163
|
|
|
} |
|
164
|
|
|
|
|
165
|
|
|
/** |
|
166
|
|
|
* @return mixed |
|
167
|
|
|
*/ |
|
168
|
|
|
public function getSecureModeReturnUrl() |
|
169
|
|
|
{ |
|
170
|
|
|
return $this->secureModeReturnUrl; |
|
171
|
|
|
} |
|
172
|
|
|
|
|
173
|
|
|
/** |
|
174
|
|
|
* @param mixed $secureModeReturnUrl |
|
175
|
|
|
*/ |
|
176
|
|
|
public function setSecureModeReturnUrl($secureModeReturnUrl) |
|
177
|
|
|
{ |
|
178
|
|
|
$this->secureModeReturnUrl = $secureModeReturnUrl; |
|
179
|
|
|
} |
|
180
|
|
|
|
|
181
|
|
|
/** |
|
182
|
|
|
* @return mixed |
|
183
|
|
|
*/ |
|
184
|
|
|
public function getCardId() |
|
185
|
|
|
{ |
|
186
|
|
|
return $this->cardId; |
|
187
|
|
|
} |
|
188
|
|
|
|
|
189
|
|
|
/** |
|
190
|
|
|
* @param mixed $cardId |
|
191
|
|
|
*/ |
|
192
|
|
|
public function setCardId($cardId) |
|
193
|
|
|
{ |
|
194
|
|
|
$this->cardId = $cardId; |
|
195
|
|
|
} |
|
196
|
|
|
|
|
197
|
|
|
/** |
|
198
|
|
|
* @return mixed |
|
199
|
|
|
*/ |
|
200
|
|
|
public function getSecureMode() |
|
201
|
|
|
{ |
|
202
|
|
|
return $this->secureMode; |
|
203
|
|
|
} |
|
204
|
|
|
|
|
205
|
|
|
/** |
|
206
|
|
|
* @param mixed $secureMode |
|
207
|
|
|
*/ |
|
208
|
|
|
public function setSecureMode($secureMode) |
|
209
|
|
|
{ |
|
210
|
|
|
$this->secureMode = $secureMode; |
|
211
|
|
|
} |
|
212
|
|
|
|
|
213
|
|
|
/** |
|
214
|
|
|
* @return mixed |
|
215
|
|
|
*/ |
|
216
|
|
|
public function getStatementDescriptor() |
|
217
|
|
|
{ |
|
218
|
|
|
return $this->statementDescriptor; |
|
219
|
|
|
} |
|
220
|
|
|
|
|
221
|
|
|
/** |
|
222
|
|
|
* @param mixed $statementDescriptor |
|
223
|
|
|
*/ |
|
224
|
|
|
public function setStatementDescriptor($statementDescriptor) |
|
225
|
|
|
{ |
|
226
|
|
|
$this->statementDescriptor = $statementDescriptor; |
|
227
|
|
|
} |
|
228
|
|
|
|
|
229
|
|
|
/** |
|
230
|
|
|
* @return mixed |
|
231
|
|
|
*/ |
|
232
|
|
|
public function getAmount() |
|
233
|
|
|
{ |
|
234
|
|
|
return $this->amount; |
|
235
|
|
|
} |
|
236
|
|
|
|
|
237
|
|
|
/** |
|
238
|
|
|
* @param mixed $amount |
|
239
|
|
|
*/ |
|
240
|
|
|
public function setAmount($amount) |
|
241
|
|
|
{ |
|
242
|
|
|
$this->amount = $amount; |
|
243
|
|
|
} |
|
244
|
|
|
|
|
245
|
|
|
/** |
|
246
|
|
|
* @return mixed |
|
247
|
|
|
*/ |
|
248
|
|
|
public function getCurrency() |
|
249
|
|
|
{ |
|
250
|
|
|
return $this->currency; |
|
251
|
|
|
} |
|
252
|
|
|
|
|
253
|
|
|
/** |
|
254
|
|
|
* @param mixed $currency |
|
255
|
|
|
*/ |
|
256
|
|
|
public function setCurrency($currency) |
|
257
|
|
|
{ |
|
258
|
|
|
$this->currency = $currency; |
|
259
|
|
|
} |
|
260
|
|
|
|
|
261
|
|
|
/** |
|
262
|
|
|
* @return mixed |
|
263
|
|
|
*/ |
|
264
|
|
|
public function getCardType() |
|
265
|
|
|
{ |
|
266
|
|
|
return $this->cardType; |
|
267
|
|
|
} |
|
268
|
|
|
|
|
269
|
|
|
/** |
|
270
|
|
|
* @param mixed $cardType |
|
271
|
|
|
*/ |
|
272
|
|
|
public function setCardType($cardType) |
|
273
|
|
|
{ |
|
274
|
|
|
$this->cardType = $cardType; |
|
275
|
|
|
} |
|
276
|
|
|
|
|
277
|
|
|
/** |
|
278
|
|
|
* @return mixed |
|
279
|
|
|
*/ |
|
280
|
|
|
public function getStatus() |
|
281
|
|
|
{ |
|
282
|
|
|
return $this->status; |
|
283
|
|
|
} |
|
284
|
|
|
|
|
285
|
|
|
/** |
|
286
|
|
|
* @param mixed $status |
|
287
|
|
|
*/ |
|
288
|
|
|
public function setStatus($status) |
|
289
|
|
|
{ |
|
290
|
|
|
$this->status = $status; |
|
291
|
|
|
} |
|
292
|
|
|
|
|
293
|
|
|
/** |
|
294
|
|
|
* @return mixed |
|
295
|
|
|
*/ |
|
296
|
|
|
public function getSecureModeNeeded() |
|
297
|
|
|
{ |
|
298
|
|
|
return $this->secureModeNeeded; |
|
299
|
|
|
} |
|
300
|
|
|
|
|
301
|
|
|
/** |
|
302
|
|
|
* @param mixed $secureModeNeeded |
|
303
|
|
|
*/ |
|
304
|
|
|
public function setSecureModeNeeded($secureModeNeeded) |
|
305
|
|
|
{ |
|
306
|
|
|
$this->secureModeNeeded = $secureModeNeeded; |
|
307
|
|
|
} |
|
308
|
|
|
|
|
309
|
|
|
/** |
|
310
|
|
|
* @return mixed |
|
311
|
|
|
*/ |
|
312
|
|
|
public function getSecureModeRedirectUrl() |
|
313
|
|
|
{ |
|
314
|
|
|
return $this->secureModeRedirectUrl; |
|
315
|
|
|
} |
|
316
|
|
|
|
|
317
|
|
|
/** |
|
318
|
|
|
* @param mixed $secureModeRedirectUrl |
|
319
|
|
|
*/ |
|
320
|
|
|
public function setSecureModeRedirectUrl($secureModeRedirectUrl) |
|
321
|
|
|
{ |
|
322
|
|
|
$this->secureModeRedirectUrl = $secureModeRedirectUrl; |
|
323
|
|
|
} |
|
324
|
|
|
|
|
325
|
|
|
/** |
|
326
|
|
|
* @return mixed |
|
327
|
|
|
*/ |
|
328
|
|
|
public function getResourceId() |
|
329
|
|
|
{ |
|
330
|
|
|
return $this->resourceId; |
|
331
|
|
|
} |
|
332
|
|
|
|
|
333
|
|
|
/** |
|
334
|
|
|
* @param mixed $resourceId |
|
335
|
|
|
*/ |
|
336
|
|
|
public function setResourceId($resourceId) |
|
337
|
|
|
{ |
|
338
|
|
|
$this->resourceId = $resourceId; |
|
339
|
|
|
} |
|
340
|
|
|
} |
|
341
|
|
|
|