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 $debitedAmount; |
28
|
|
|
|
29
|
|
|
protected $feeCurrency; |
30
|
|
|
|
31
|
|
|
protected $feeAmount; |
32
|
|
|
|
33
|
|
|
protected $debitedWalledId; |
34
|
|
|
|
35
|
|
|
protected $creditedWalledId; |
36
|
|
|
|
37
|
|
|
protected $status; |
38
|
|
|
|
39
|
|
|
protected $resultCode; |
40
|
|
|
|
41
|
|
|
protected $resultMessage; |
42
|
|
|
|
43
|
|
|
/** |
44
|
|
|
* @return mixed |
45
|
|
|
*/ |
46
|
|
|
public function getTag() |
47
|
|
|
{ |
48
|
|
|
return $this->tag; |
49
|
|
|
} |
50
|
|
|
|
51
|
|
|
/** |
52
|
|
|
* @param mixed $tag |
53
|
|
|
*/ |
54
|
|
|
public function setTag($tag) |
55
|
|
|
{ |
56
|
|
|
$this->tag = $tag; |
57
|
|
|
} |
58
|
|
|
|
59
|
|
|
/** |
60
|
|
|
* @return mixed |
61
|
|
|
*/ |
62
|
|
|
public function getAuthorId() |
63
|
|
|
{ |
64
|
|
|
return $this->authorId; |
65
|
|
|
} |
66
|
|
|
|
67
|
|
|
/** |
68
|
|
|
* @param mixed $authorId |
69
|
|
|
*/ |
70
|
|
|
public function setAuthorId($authorId) |
71
|
|
|
{ |
72
|
|
|
$this->authorId = $authorId; |
73
|
|
|
} |
74
|
|
|
|
75
|
|
|
/** |
76
|
|
|
* @return mixed |
77
|
|
|
*/ |
78
|
|
|
public function getCreditedUserId() |
79
|
|
|
{ |
80
|
|
|
return $this->creditedUserId; |
81
|
|
|
} |
82
|
|
|
|
83
|
|
|
/** |
84
|
|
|
* @param mixed $creditedUserId |
85
|
|
|
*/ |
86
|
|
|
public function setCreditedUserId($creditedUserId) |
87
|
|
|
{ |
88
|
|
|
$this->creditedUserId = $creditedUserId; |
89
|
|
|
} |
90
|
|
|
|
91
|
|
|
/** |
92
|
|
|
* @return mixed |
93
|
|
|
*/ |
94
|
|
|
public function getDebitedCurrency() |
95
|
|
|
{ |
96
|
|
|
return $this->debitedCurrency; |
97
|
|
|
} |
98
|
|
|
|
99
|
|
|
/** |
100
|
|
|
* @param mixed $debitedCurrency |
101
|
|
|
*/ |
102
|
|
|
public function setDebitedCurrency($debitedCurrency) |
103
|
|
|
{ |
104
|
|
|
$this->debitedCurrency = $debitedCurrency; |
105
|
|
|
} |
106
|
|
|
|
107
|
|
|
/** |
108
|
|
|
* @return mixed |
109
|
|
|
*/ |
110
|
|
|
public function getDebitedAmount() |
111
|
|
|
{ |
112
|
|
|
return $this->debitedAmount; |
113
|
|
|
} |
114
|
|
|
|
115
|
|
|
/** |
116
|
|
|
* @param mixed $debitedAmount |
117
|
|
|
*/ |
118
|
|
|
public function setDebitedAmount($debitedAmount) |
119
|
|
|
{ |
120
|
|
|
$this->debitedAmount = $debitedAmount; |
121
|
|
|
} |
122
|
|
|
|
123
|
|
|
/** |
124
|
|
|
* @return mixed |
125
|
|
|
*/ |
126
|
|
|
public function getFeeCurrency() |
127
|
|
|
{ |
128
|
|
|
return $this->feeCurrency; |
129
|
|
|
} |
130
|
|
|
|
131
|
|
|
/** |
132
|
|
|
* @param mixed $feeCurrency |
133
|
|
|
*/ |
134
|
|
|
public function setFeeCurrency($feeCurrency) |
135
|
|
|
{ |
136
|
|
|
$this->feeCurrency = $feeCurrency; |
137
|
|
|
} |
138
|
|
|
|
139
|
|
|
/** |
140
|
|
|
* @return mixed |
141
|
|
|
*/ |
142
|
|
|
public function getFeeAmount() |
143
|
|
|
{ |
144
|
|
|
return $this->feeAmount; |
145
|
|
|
} |
146
|
|
|
|
147
|
|
|
/** |
148
|
|
|
* @param mixed $feeAmount |
149
|
|
|
*/ |
150
|
|
|
public function setFeeAmount($feeAmount) |
151
|
|
|
{ |
152
|
|
|
$this->feeAmount = $feeAmount; |
153
|
|
|
} |
154
|
|
|
|
155
|
|
|
/** |
156
|
|
|
* @return mixed |
157
|
|
|
*/ |
158
|
|
|
public function getDebitedWalledId() |
159
|
|
|
{ |
160
|
|
|
return $this->debitedWalledId; |
161
|
|
|
} |
162
|
|
|
|
163
|
|
|
/** |
164
|
|
|
* @param mixed $debitedWalledId |
165
|
|
|
*/ |
166
|
|
|
public function setDebitedWalledId($debitedWalledId) |
167
|
|
|
{ |
168
|
|
|
$this->debitedWalledId = $debitedWalledId; |
169
|
|
|
} |
170
|
|
|
|
171
|
|
|
/** |
172
|
|
|
* @return mixed |
173
|
|
|
*/ |
174
|
|
|
public function getCreditedWalledId() |
175
|
|
|
{ |
176
|
|
|
return $this->creditedWalledId; |
177
|
|
|
} |
178
|
|
|
|
179
|
|
|
/** |
180
|
|
|
* @param mixed $creditedWalledId |
181
|
|
|
*/ |
182
|
|
|
public function setCreditedWalledId($creditedWalledId) |
183
|
|
|
{ |
184
|
|
|
$this->creditedWalledId = $creditedWalledId; |
185
|
|
|
} |
186
|
|
|
|
187
|
|
|
/** |
188
|
|
|
* @return mixed |
189
|
|
|
*/ |
190
|
|
|
public function getStatus() |
191
|
|
|
{ |
192
|
|
|
return $this->status; |
193
|
|
|
} |
194
|
|
|
|
195
|
|
|
/** |
196
|
|
|
* @param mixed $status |
197
|
|
|
*/ |
198
|
|
|
public function setStatus($status) |
199
|
|
|
{ |
200
|
|
|
$this->status = $status; |
201
|
|
|
} |
202
|
|
|
|
203
|
|
|
/** |
204
|
|
|
* @return mixed |
205
|
|
|
*/ |
206
|
|
|
public function getResultCode() |
207
|
|
|
{ |
208
|
|
|
return $this->resultCode; |
209
|
|
|
} |
210
|
|
|
|
211
|
|
|
/** |
212
|
|
|
* @param mixed $resultCode |
213
|
|
|
*/ |
214
|
|
|
public function setResultCode($resultCode) |
215
|
|
|
{ |
216
|
|
|
$this->resultCode = $resultCode; |
217
|
|
|
} |
218
|
|
|
|
219
|
|
|
/** |
220
|
|
|
* @return mixed |
221
|
|
|
*/ |
222
|
|
|
public function getResultMessage() |
223
|
|
|
{ |
224
|
|
|
return $this->resultMessage; |
225
|
|
|
} |
226
|
|
|
|
227
|
|
|
/** |
228
|
|
|
* @param mixed $resultMessage |
229
|
|
|
*/ |
230
|
|
|
public function setResultMessage($resultMessage) |
231
|
|
|
{ |
232
|
|
|
$this->resultMessage = $resultMessage; |
233
|
|
|
} |
234
|
|
|
|
235
|
|
|
/** |
236
|
|
|
* @return mixed |
237
|
|
|
*/ |
238
|
|
|
public function getResourceId() |
239
|
|
|
{ |
240
|
|
|
return $this->resourceId; |
241
|
|
|
} |
242
|
|
|
|
243
|
|
|
/** |
244
|
|
|
* @param mixed $resourceId |
245
|
|
|
*/ |
246
|
|
|
public function setResourceId($resourceId) |
247
|
|
|
{ |
248
|
|
|
$this->resourceId = $resourceId; |
249
|
|
|
} |
250
|
|
|
} |
251
|
|
|
|