1
|
|
|
<?php |
2
|
|
|
/** |
3
|
|
|
* Created by Carl Owens ([email protected]) |
4
|
|
|
* Company: PartFire Ltd (www.partfire.co.uk) |
5
|
|
|
* Copyright © 2016 PartFire Ltd. All rights reserved. |
6
|
|
|
* |
7
|
|
|
* User: Carl Owens |
8
|
|
|
* Date: 06/12/2016 |
9
|
|
|
* Time: 22:37 |
10
|
|
|
* File: Transfer.php |
11
|
|
|
**/ |
12
|
|
|
|
13
|
|
|
namespace PartFire\MangoPayBundle\Models\DTOs; |
14
|
|
|
|
15
|
|
|
class Transfer |
16
|
|
|
{ |
17
|
|
|
protected $resourceId; |
18
|
|
|
|
19
|
|
|
protected $tag; |
20
|
|
|
|
21
|
|
|
protected $authorId; |
22
|
|
|
|
23
|
|
|
protected $creditedUserId; |
24
|
|
|
|
25
|
|
|
protected $debitedCurrency; |
26
|
|
|
|
27
|
|
|
protected $creditedCurrency; |
28
|
|
|
|
29
|
|
|
protected $debitedAmount; |
30
|
|
|
|
31
|
|
|
protected $creditedAmount; |
32
|
|
|
|
33
|
|
|
protected $feeCurrency; |
34
|
|
|
|
35
|
|
|
protected $feeAmount; |
36
|
|
|
|
37
|
|
|
protected $debitedWalledId; |
38
|
|
|
|
39
|
|
|
protected $creditedWalledId; |
40
|
|
|
|
41
|
|
|
protected $status; |
42
|
|
|
|
43
|
|
|
protected $resultCode; |
44
|
|
|
|
45
|
|
|
protected $resultMessage; |
46
|
|
|
|
47
|
|
|
/** |
48
|
|
|
* @return mixed |
49
|
|
|
*/ |
50
|
|
|
public function getTag() |
51
|
|
|
{ |
52
|
|
|
return $this->tag; |
53
|
|
|
} |
54
|
|
|
|
55
|
|
|
/** |
56
|
|
|
* @param mixed $tag |
57
|
|
|
*/ |
58
|
|
|
public function setTag($tag) |
59
|
|
|
{ |
60
|
|
|
$this->tag = $tag; |
61
|
|
|
} |
62
|
|
|
|
63
|
|
|
/** |
64
|
|
|
* @return mixed |
65
|
|
|
*/ |
66
|
|
|
public function getAuthorId() |
67
|
|
|
{ |
68
|
|
|
return $this->authorId; |
69
|
|
|
} |
70
|
|
|
|
71
|
|
|
/** |
72
|
|
|
* @param mixed $authorId |
73
|
|
|
*/ |
74
|
|
|
public function setAuthorId($authorId) |
75
|
|
|
{ |
76
|
|
|
$this->authorId = $authorId; |
77
|
|
|
} |
78
|
|
|
|
79
|
|
|
/** |
80
|
|
|
* @return mixed |
81
|
|
|
*/ |
82
|
|
|
public function getCreditedUserId() |
83
|
|
|
{ |
84
|
|
|
return $this->creditedUserId; |
85
|
|
|
} |
86
|
|
|
|
87
|
|
|
/** |
88
|
|
|
* @param mixed $creditedUserId |
89
|
|
|
*/ |
90
|
|
|
public function setCreditedUserId($creditedUserId) |
91
|
|
|
{ |
92
|
|
|
$this->creditedUserId = $creditedUserId; |
93
|
|
|
} |
94
|
|
|
|
95
|
|
|
/** |
96
|
|
|
* @return mixed |
97
|
|
|
*/ |
98
|
|
|
public function getDebitedCurrency() |
99
|
|
|
{ |
100
|
|
|
return $this->debitedCurrency; |
101
|
|
|
} |
102
|
|
|
|
103
|
|
|
/** |
104
|
|
|
* @param mixed $debitedCurrency |
105
|
|
|
*/ |
106
|
|
|
public function setDebitedCurrency($debitedCurrency) |
107
|
|
|
{ |
108
|
|
|
$this->debitedCurrency = $debitedCurrency; |
109
|
|
|
} |
110
|
|
|
|
111
|
|
|
/** |
112
|
|
|
* @return mixed |
113
|
|
|
*/ |
114
|
|
|
public function getDebitedAmount() |
115
|
|
|
{ |
116
|
|
|
return $this->debitedAmount; |
117
|
|
|
} |
118
|
|
|
|
119
|
|
|
/** |
120
|
|
|
* @param mixed $debitedAmount |
121
|
|
|
*/ |
122
|
|
|
public function setDebitedAmount($debitedAmount) |
123
|
|
|
{ |
124
|
|
|
$this->debitedAmount = $debitedAmount; |
125
|
|
|
} |
126
|
|
|
|
127
|
|
|
/** |
128
|
|
|
* @return mixed |
129
|
|
|
*/ |
130
|
|
|
public function getFeeCurrency() |
131
|
|
|
{ |
132
|
|
|
return $this->feeCurrency; |
133
|
|
|
} |
134
|
|
|
|
135
|
|
|
/** |
136
|
|
|
* @param mixed $feeCurrency |
137
|
|
|
*/ |
138
|
|
|
public function setFeeCurrency($feeCurrency) |
139
|
|
|
{ |
140
|
|
|
$this->feeCurrency = $feeCurrency; |
141
|
|
|
} |
142
|
|
|
|
143
|
|
|
/** |
144
|
|
|
* @return mixed |
145
|
|
|
*/ |
146
|
|
|
public function getFeeAmount() |
147
|
|
|
{ |
148
|
|
|
return $this->feeAmount; |
149
|
|
|
} |
150
|
|
|
|
151
|
|
|
/** |
152
|
|
|
* @param mixed $feeAmount |
153
|
|
|
*/ |
154
|
|
|
public function setFeeAmount($feeAmount) |
155
|
|
|
{ |
156
|
|
|
$this->feeAmount = $feeAmount; |
157
|
|
|
} |
158
|
|
|
|
159
|
|
|
/** |
160
|
|
|
* @return mixed |
161
|
|
|
*/ |
162
|
|
|
public function getDebitedWalledId() |
163
|
|
|
{ |
164
|
|
|
return $this->debitedWalledId; |
165
|
|
|
} |
166
|
|
|
|
167
|
|
|
/** |
168
|
|
|
* @param mixed $debitedWalledId |
169
|
|
|
*/ |
170
|
|
|
public function setDebitedWalledId($debitedWalledId) |
171
|
|
|
{ |
172
|
|
|
$this->debitedWalledId = $debitedWalledId; |
173
|
|
|
} |
174
|
|
|
|
175
|
|
|
/** |
176
|
|
|
* @return mixed |
177
|
|
|
*/ |
178
|
|
|
public function getCreditedWalledId() |
179
|
|
|
{ |
180
|
|
|
return $this->creditedWalledId; |
181
|
|
|
} |
182
|
|
|
|
183
|
|
|
/** |
184
|
|
|
* @param mixed $creditedWalledId |
185
|
|
|
*/ |
186
|
|
|
public function setCreditedWalledId($creditedWalledId) |
187
|
|
|
{ |
188
|
|
|
$this->creditedWalledId = $creditedWalledId; |
189
|
|
|
} |
190
|
|
|
|
191
|
|
|
/** |
192
|
|
|
* @return mixed |
193
|
|
|
*/ |
194
|
|
|
public function getStatus() |
195
|
|
|
{ |
196
|
|
|
return $this->status; |
197
|
|
|
} |
198
|
|
|
|
199
|
|
|
/** |
200
|
|
|
* @param mixed $status |
201
|
|
|
*/ |
202
|
|
|
public function setStatus($status) |
203
|
|
|
{ |
204
|
|
|
$this->status = $status; |
205
|
|
|
} |
206
|
|
|
|
207
|
|
|
/** |
208
|
|
|
* @return mixed |
209
|
|
|
*/ |
210
|
|
|
public function getResultCode() |
211
|
|
|
{ |
212
|
|
|
return $this->resultCode; |
213
|
|
|
} |
214
|
|
|
|
215
|
|
|
/** |
216
|
|
|
* @param mixed $resultCode |
217
|
|
|
*/ |
218
|
|
|
public function setResultCode($resultCode) |
219
|
|
|
{ |
220
|
|
|
$this->resultCode = $resultCode; |
221
|
|
|
} |
222
|
|
|
|
223
|
|
|
/** |
224
|
|
|
* @return mixed |
225
|
|
|
*/ |
226
|
|
|
public function getResultMessage() |
227
|
|
|
{ |
228
|
|
|
return $this->resultMessage; |
229
|
|
|
} |
230
|
|
|
|
231
|
|
|
/** |
232
|
|
|
* @param mixed $resultMessage |
233
|
|
|
*/ |
234
|
|
|
public function setResultMessage($resultMessage) |
235
|
|
|
{ |
236
|
|
|
$this->resultMessage = $resultMessage; |
237
|
|
|
} |
238
|
|
|
|
239
|
|
|
/** |
240
|
|
|
* @return mixed |
241
|
|
|
*/ |
242
|
|
|
public function getResourceId() |
243
|
|
|
{ |
244
|
|
|
return $this->resourceId; |
245
|
|
|
} |
246
|
|
|
|
247
|
|
|
/** |
248
|
|
|
* @param mixed $resourceId |
249
|
|
|
*/ |
250
|
|
|
public function setResourceId($resourceId) |
251
|
|
|
{ |
252
|
|
|
$this->resourceId = $resourceId; |
253
|
|
|
} |
254
|
|
|
|
255
|
|
|
/** |
256
|
|
|
* @return mixed |
257
|
|
|
*/ |
258
|
|
|
public function getCreditedAmount() |
259
|
|
|
{ |
260
|
|
|
return $this->creditedAmount; |
261
|
|
|
} |
262
|
|
|
|
263
|
|
|
/** |
264
|
|
|
* @param mixed $creditedAmount |
265
|
|
|
*/ |
266
|
|
|
public function setCreditedAmount($creditedAmount) |
267
|
|
|
{ |
268
|
|
|
$this->creditedAmount = $creditedAmount; |
269
|
|
|
} |
270
|
|
|
|
271
|
|
|
/** |
272
|
|
|
* @return mixed |
273
|
|
|
*/ |
274
|
|
|
public function getCreditedCurrency() |
275
|
|
|
{ |
276
|
|
|
return $this->creditedCurrency; |
277
|
|
|
} |
278
|
|
|
|
279
|
|
|
/** |
280
|
|
|
* @param mixed $creditedCurrency |
281
|
|
|
*/ |
282
|
|
|
public function setCreditedCurrency($creditedCurrency) |
283
|
|
|
{ |
284
|
|
|
$this->creditedCurrency = $creditedCurrency; |
285
|
|
|
} |
286
|
|
|
|
287
|
|
|
} |
288
|
|
|
|