1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
/** |
4
|
|
|
* MIT License |
5
|
|
|
* Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file. |
6
|
|
|
*/ |
7
|
|
|
|
8
|
|
|
namespace SprykerEco\Zed\Payone\Business\Api\Response\Container; |
9
|
|
|
|
10
|
|
|
class AuthorizationResponseContainer extends AbstractResponseContainer |
11
|
|
|
{ |
12
|
|
|
/** |
13
|
|
|
* @var int |
14
|
|
|
*/ |
15
|
|
|
protected $txid; |
16
|
|
|
|
17
|
|
|
/** |
18
|
|
|
* @var int |
19
|
|
|
*/ |
20
|
|
|
protected $userid; |
21
|
|
|
|
22
|
|
|
/** |
23
|
|
|
* @var string |
24
|
|
|
*/ |
25
|
|
|
protected $protect_result_avs; |
26
|
|
|
|
27
|
|
|
/** |
28
|
|
|
* @var string |
29
|
|
|
*/ |
30
|
|
|
protected $clearing_bankaccountholder; |
31
|
|
|
|
32
|
|
|
/** |
33
|
|
|
* @var string |
34
|
|
|
*/ |
35
|
|
|
protected $clearing_bankcountry; |
36
|
|
|
|
37
|
|
|
/** |
38
|
|
|
* @var string |
39
|
|
|
*/ |
40
|
|
|
protected $clearing_bankaccount; |
41
|
|
|
|
42
|
|
|
/** |
43
|
|
|
* @var string |
44
|
|
|
*/ |
45
|
|
|
protected $clearing_bankcode; |
46
|
|
|
|
47
|
|
|
/** |
48
|
|
|
* @var string |
49
|
|
|
*/ |
50
|
|
|
protected $clearing_bankiban; |
51
|
|
|
|
52
|
|
|
/** |
53
|
|
|
* @var string |
54
|
|
|
*/ |
55
|
|
|
protected $clearing_bankbic; |
56
|
|
|
|
57
|
|
|
/** |
58
|
|
|
* @var string |
59
|
|
|
*/ |
60
|
|
|
protected $clearing_bankcity; |
61
|
|
|
|
62
|
|
|
/** |
63
|
|
|
* @var string |
64
|
|
|
*/ |
65
|
|
|
protected $clearing_bankname; |
66
|
|
|
|
67
|
|
|
/** |
68
|
|
|
* @var string |
69
|
|
|
*/ |
70
|
|
|
protected $redirecturl; |
71
|
|
|
|
72
|
|
|
/** |
73
|
|
|
* @var string |
74
|
|
|
*/ |
75
|
|
|
protected $mandate_identification; |
76
|
|
|
|
77
|
|
|
/** |
78
|
|
|
* @var string |
79
|
|
|
*/ |
80
|
|
|
protected $creditor_identifier; |
81
|
|
|
|
82
|
|
|
/** |
83
|
|
|
* @var string |
84
|
|
|
*/ |
85
|
|
|
protected $creditor_name; |
86
|
|
|
|
87
|
|
|
/** |
88
|
|
|
* @var string |
89
|
|
|
*/ |
90
|
|
|
protected $creditor_street; |
91
|
|
|
|
92
|
|
|
/** |
93
|
|
|
* @var string |
94
|
|
|
*/ |
95
|
|
|
protected $creditor_zip; |
96
|
|
|
|
97
|
|
|
/** |
98
|
|
|
* @var string |
99
|
|
|
*/ |
100
|
|
|
protected $creditor_city; |
101
|
|
|
|
102
|
|
|
/** |
103
|
|
|
* @var string |
104
|
|
|
*/ |
105
|
|
|
protected $creditor_country; |
106
|
|
|
|
107
|
|
|
/** |
108
|
|
|
* @var string |
109
|
|
|
*/ |
110
|
|
|
protected $creditor_email; |
111
|
|
|
|
112
|
|
|
/** |
113
|
|
|
* @var string |
114
|
|
|
*/ |
115
|
|
|
protected $clearing_date; |
116
|
|
|
|
117
|
|
|
/** |
118
|
|
|
* @var string |
119
|
|
|
*/ |
120
|
|
|
protected $clearing_amount; |
121
|
|
|
|
122
|
|
|
/** |
123
|
|
|
* @param string $clearing_bankaccount |
124
|
|
|
* |
125
|
|
|
* @return void |
126
|
|
|
*/ |
127
|
|
|
public function setClearingBankaccount($clearing_bankaccount) |
128
|
|
|
{ |
129
|
|
|
$this->clearing_bankaccount = $clearing_bankaccount; |
130
|
|
|
} |
131
|
|
|
|
132
|
|
|
/** |
133
|
|
|
* @return string |
134
|
|
|
*/ |
135
|
|
|
public function getClearingBankaccount() |
136
|
|
|
{ |
137
|
|
|
return $this->clearing_bankaccount; |
138
|
|
|
} |
139
|
|
|
|
140
|
|
|
/** |
141
|
|
|
* @param string $clearing_bankaccountholder |
142
|
|
|
* |
143
|
|
|
* @return void |
144
|
|
|
*/ |
145
|
|
|
public function setClearingBankaccountholder($clearing_bankaccountholder) |
146
|
|
|
{ |
147
|
|
|
$this->clearing_bankaccountholder = $clearing_bankaccountholder; |
148
|
|
|
} |
149
|
|
|
|
150
|
|
|
/** |
151
|
|
|
* @return string |
152
|
|
|
*/ |
153
|
|
|
public function getClearingBankaccountholder() |
154
|
|
|
{ |
155
|
|
|
return $this->clearing_bankaccountholder; |
156
|
|
|
} |
157
|
|
|
|
158
|
|
|
/** |
159
|
|
|
* @param string $clearing_bankbic |
160
|
|
|
* |
161
|
|
|
* @return void |
162
|
|
|
*/ |
163
|
|
|
public function setClearingBankbic($clearing_bankbic) |
164
|
|
|
{ |
165
|
|
|
$this->clearing_bankbic = $clearing_bankbic; |
166
|
|
|
} |
167
|
|
|
|
168
|
|
|
/** |
169
|
|
|
* @return string |
170
|
|
|
*/ |
171
|
|
|
public function getClearingBankbic() |
172
|
|
|
{ |
173
|
|
|
return $this->clearing_bankbic; |
174
|
|
|
} |
175
|
|
|
|
176
|
|
|
/** |
177
|
|
|
* @param string $clearing_bankcity |
178
|
|
|
* |
179
|
|
|
* @return void |
180
|
|
|
*/ |
181
|
|
|
public function setClearingBankcity($clearing_bankcity) |
182
|
|
|
{ |
183
|
|
|
$this->clearing_bankcity = $clearing_bankcity; |
184
|
|
|
} |
185
|
|
|
|
186
|
|
|
/** |
187
|
|
|
* @return string |
188
|
|
|
*/ |
189
|
|
|
public function getClearingBankcity() |
190
|
|
|
{ |
191
|
|
|
return $this->clearing_bankcity; |
192
|
|
|
} |
193
|
|
|
|
194
|
|
|
/** |
195
|
|
|
* @param string $clearing_bankcode |
196
|
|
|
* |
197
|
|
|
* @return void |
198
|
|
|
*/ |
199
|
|
|
public function setClearingBankcode($clearing_bankcode) |
200
|
|
|
{ |
201
|
|
|
$this->clearing_bankcode = $clearing_bankcode; |
202
|
|
|
} |
203
|
|
|
|
204
|
|
|
/** |
205
|
|
|
* @return string |
206
|
|
|
*/ |
207
|
|
|
public function getClearingBankcode() |
208
|
|
|
{ |
209
|
|
|
return $this->clearing_bankcode; |
210
|
|
|
} |
211
|
|
|
|
212
|
|
|
/** |
213
|
|
|
* @param string $clearing_bankcountry |
214
|
|
|
* |
215
|
|
|
* @return void |
216
|
|
|
*/ |
217
|
|
|
public function setClearingBankcountry($clearing_bankcountry) |
218
|
|
|
{ |
219
|
|
|
$this->clearing_bankcountry = $clearing_bankcountry; |
220
|
|
|
} |
221
|
|
|
|
222
|
|
|
/** |
223
|
|
|
* @return string |
224
|
|
|
*/ |
225
|
|
|
public function getClearingBankcountry() |
226
|
|
|
{ |
227
|
|
|
return $this->clearing_bankcountry; |
228
|
|
|
} |
229
|
|
|
|
230
|
|
|
/** |
231
|
|
|
* @param string $clearing_bankiban |
232
|
|
|
* |
233
|
|
|
* @return void |
234
|
|
|
*/ |
235
|
|
|
public function setClearingBankiban($clearing_bankiban) |
236
|
|
|
{ |
237
|
|
|
$this->clearing_bankiban = $clearing_bankiban; |
238
|
|
|
} |
239
|
|
|
|
240
|
|
|
/** |
241
|
|
|
* @return string |
242
|
|
|
*/ |
243
|
|
|
public function getClearingBankiban() |
244
|
|
|
{ |
245
|
|
|
return $this->clearing_bankiban; |
246
|
|
|
} |
247
|
|
|
|
248
|
|
|
/** |
249
|
|
|
* @param string $clearing_bankname |
250
|
|
|
* |
251
|
|
|
* @return void |
252
|
|
|
*/ |
253
|
|
|
public function setClearingBankname($clearing_bankname) |
254
|
|
|
{ |
255
|
|
|
$this->clearing_bankname = $clearing_bankname; |
256
|
|
|
} |
257
|
|
|
|
258
|
|
|
/** |
259
|
|
|
* @return string |
260
|
|
|
*/ |
261
|
|
|
public function getClearingBankname() |
262
|
|
|
{ |
263
|
|
|
return $this->clearing_bankname; |
264
|
|
|
} |
265
|
|
|
|
266
|
|
|
/** |
267
|
|
|
* @param string $protect_result_avs |
268
|
|
|
* |
269
|
|
|
* @return void |
270
|
|
|
*/ |
271
|
|
|
public function setProtectResultAvs($protect_result_avs) |
272
|
|
|
{ |
273
|
|
|
$this->protect_result_avs = $protect_result_avs; |
274
|
|
|
} |
275
|
|
|
|
276
|
|
|
/** |
277
|
|
|
* @return string |
278
|
|
|
*/ |
279
|
|
|
public function getProtectResultAvs() |
280
|
|
|
{ |
281
|
|
|
return $this->protect_result_avs; |
282
|
|
|
} |
283
|
|
|
|
284
|
|
|
/** |
285
|
|
|
* @param int $txid |
286
|
|
|
* |
287
|
|
|
* @return void |
288
|
|
|
*/ |
289
|
|
|
public function setTxid($txid) |
290
|
|
|
{ |
291
|
|
|
$this->txid = $txid; |
292
|
|
|
} |
293
|
|
|
|
294
|
|
|
/** |
295
|
|
|
* @return int |
296
|
|
|
*/ |
297
|
|
|
public function getTxid() |
298
|
|
|
{ |
299
|
|
|
return $this->txid; |
300
|
|
|
} |
301
|
|
|
|
302
|
|
|
/** |
303
|
|
|
* @param int $userid |
304
|
|
|
* |
305
|
|
|
* @return void |
306
|
|
|
*/ |
307
|
|
|
public function setUserid($userid) |
308
|
|
|
{ |
309
|
|
|
$this->userid = $userid; |
310
|
|
|
} |
311
|
|
|
|
312
|
|
|
/** |
313
|
|
|
* @return int |
314
|
|
|
*/ |
315
|
|
|
public function getUserid() |
316
|
|
|
{ |
317
|
|
|
return $this->userid; |
318
|
|
|
} |
319
|
|
|
|
320
|
|
|
/** |
321
|
|
|
* @param string $redirecturl |
322
|
|
|
* |
323
|
|
|
* @return void |
324
|
|
|
*/ |
325
|
|
|
public function setRedirecturl($redirecturl) |
326
|
|
|
{ |
327
|
|
|
$this->redirecturl = $redirecturl; |
328
|
|
|
} |
329
|
|
|
|
330
|
|
|
/** |
331
|
|
|
* @return string |
332
|
|
|
*/ |
333
|
|
|
public function getRedirecturl() |
334
|
|
|
{ |
335
|
|
|
return $this->redirecturl; |
336
|
|
|
} |
337
|
|
|
|
338
|
|
|
/** |
339
|
|
|
* @param string $creditorCity |
340
|
|
|
* |
341
|
|
|
* @return void |
342
|
|
|
*/ |
343
|
|
|
public function setCreditorCity($creditorCity) |
344
|
|
|
{ |
345
|
|
|
$this->creditor_city = $creditorCity; |
346
|
|
|
} |
347
|
|
|
|
348
|
|
|
/** |
349
|
|
|
* @return string |
350
|
|
|
*/ |
351
|
|
|
public function getCreditorCity() |
352
|
|
|
{ |
353
|
|
|
return $this->creditor_city; |
354
|
|
|
} |
355
|
|
|
|
356
|
|
|
/** |
357
|
|
|
* @param string $creditorCountry |
358
|
|
|
* |
359
|
|
|
* @return void |
360
|
|
|
*/ |
361
|
|
|
public function setCreditorCountry($creditorCountry) |
362
|
|
|
{ |
363
|
|
|
$this->creditor_country = $creditorCountry; |
364
|
|
|
} |
365
|
|
|
|
366
|
|
|
/** |
367
|
|
|
* @return string |
368
|
|
|
*/ |
369
|
|
|
public function getCreditorCountry() |
370
|
|
|
{ |
371
|
|
|
return $this->creditor_country; |
372
|
|
|
} |
373
|
|
|
|
374
|
|
|
/** |
375
|
|
|
* @param string $creditorEmail |
376
|
|
|
* |
377
|
|
|
* @return void |
378
|
|
|
*/ |
379
|
|
|
public function setCreditorEmail($creditorEmail) |
380
|
|
|
{ |
381
|
|
|
$this->creditor_email = $creditorEmail; |
382
|
|
|
} |
383
|
|
|
|
384
|
|
|
/** |
385
|
|
|
* @return string |
386
|
|
|
*/ |
387
|
|
|
public function getCreditorEmail() |
388
|
|
|
{ |
389
|
|
|
return $this->creditor_email; |
390
|
|
|
} |
391
|
|
|
|
392
|
|
|
/** |
393
|
|
|
* @param string $creditorIdentifier |
394
|
|
|
* |
395
|
|
|
* @return void |
396
|
|
|
*/ |
397
|
|
|
public function setCreditorIdentifier($creditorIdentifier) |
398
|
|
|
{ |
399
|
|
|
$this->creditor_identifier = $creditorIdentifier; |
400
|
|
|
} |
401
|
|
|
|
402
|
|
|
/** |
403
|
|
|
* @return string |
404
|
|
|
*/ |
405
|
|
|
public function getCreditorIdentifier() |
406
|
|
|
{ |
407
|
|
|
return $this->creditor_identifier; |
408
|
|
|
} |
409
|
|
|
|
410
|
|
|
/** |
411
|
|
|
* @param string $creditorName |
412
|
|
|
* |
413
|
|
|
* @return void |
414
|
|
|
*/ |
415
|
|
|
public function setCreditorName($creditorName) |
416
|
|
|
{ |
417
|
|
|
$this->creditor_name = $creditorName; |
418
|
|
|
} |
419
|
|
|
|
420
|
|
|
/** |
421
|
|
|
* @return string |
422
|
|
|
*/ |
423
|
|
|
public function getCreditorName() |
424
|
|
|
{ |
425
|
|
|
return $this->creditor_name; |
426
|
|
|
} |
427
|
|
|
|
428
|
|
|
/** |
429
|
|
|
* @param string $creditorStreet |
430
|
|
|
* |
431
|
|
|
* @return void |
432
|
|
|
*/ |
433
|
|
|
public function setCreditorStreet($creditorStreet) |
434
|
|
|
{ |
435
|
|
|
$this->creditor_street = $creditorStreet; |
436
|
|
|
} |
437
|
|
|
|
438
|
|
|
/** |
439
|
|
|
* @return string |
440
|
|
|
*/ |
441
|
|
|
public function getCreditorStreet() |
442
|
|
|
{ |
443
|
|
|
return $this->creditor_street; |
444
|
|
|
} |
445
|
|
|
|
446
|
|
|
/** |
447
|
|
|
* @param string $creditorZip |
448
|
|
|
* |
449
|
|
|
* @return void |
450
|
|
|
*/ |
451
|
|
|
public function setCreditorZip($creditorZip) |
452
|
|
|
{ |
453
|
|
|
$this->creditor_zip = $creditorZip; |
454
|
|
|
} |
455
|
|
|
|
456
|
|
|
/** |
457
|
|
|
* @return string |
458
|
|
|
*/ |
459
|
|
|
public function getCreditorZip() |
460
|
|
|
{ |
461
|
|
|
return $this->creditor_zip; |
462
|
|
|
} |
463
|
|
|
|
464
|
|
|
/** |
465
|
|
|
* @param string $mandateIdentification |
466
|
|
|
* |
467
|
|
|
* @return void |
468
|
|
|
*/ |
469
|
|
|
public function setMandateIdentification($mandateIdentification) |
470
|
|
|
{ |
471
|
|
|
$this->mandate_identification = $mandateIdentification; |
472
|
|
|
} |
473
|
|
|
|
474
|
|
|
/** |
475
|
|
|
* @return string |
476
|
|
|
*/ |
477
|
|
|
public function getMandateIdentification() |
478
|
|
|
{ |
479
|
|
|
return $this->mandate_identification; |
480
|
|
|
} |
481
|
|
|
|
482
|
|
|
/** |
483
|
|
|
* @param string $clearingAmount |
484
|
|
|
* |
485
|
|
|
* @return void |
486
|
|
|
*/ |
487
|
|
|
public function setClearingAmount($clearingAmount) |
488
|
|
|
{ |
489
|
|
|
$this->clearing_amount = $clearingAmount; |
490
|
|
|
} |
491
|
|
|
|
492
|
|
|
/** |
493
|
|
|
* @return string |
494
|
|
|
*/ |
495
|
|
|
public function getClearingAmount() |
496
|
|
|
{ |
497
|
|
|
return $this->clearing_amount; |
498
|
|
|
} |
499
|
|
|
|
500
|
|
|
/** |
501
|
|
|
* @param string $clearingDate |
502
|
|
|
* |
503
|
|
|
* @return void |
504
|
|
|
*/ |
505
|
|
|
public function setClearingDate($clearingDate) |
506
|
|
|
{ |
507
|
|
|
$this->clearing_date = $clearingDate; |
508
|
|
|
} |
509
|
|
|
|
510
|
|
|
/** |
511
|
|
|
* @return string |
512
|
|
|
*/ |
513
|
|
|
public function getClearingDate() |
514
|
|
|
{ |
515
|
|
|
return $this->clearing_date; |
516
|
|
|
} |
517
|
|
|
} |
518
|
|
|
|