1
|
|
|
<?php |
|
|
|
|
2
|
|
|
|
3
|
|
|
namespace net\authorize\api\contract\v1; |
4
|
|
|
|
5
|
|
|
/** |
6
|
|
|
* Class representing TransactionDetailsType |
7
|
|
|
* |
8
|
|
|
*
|
9
|
|
|
* XSD Type: transactionDetailsType |
10
|
|
|
*/ |
11
|
|
|
class TransactionDetailsType |
12
|
|
|
{ |
13
|
|
|
|
14
|
|
|
/** |
15
|
|
|
* @property string $transId |
16
|
|
|
*/ |
17
|
|
|
private $transId = null; |
18
|
|
|
|
19
|
|
|
/** |
20
|
|
|
* @property string $refTransId |
21
|
|
|
*/ |
22
|
|
|
private $refTransId = null; |
23
|
|
|
|
24
|
|
|
/** |
25
|
|
|
* @property string $splitTenderId |
26
|
|
|
*/ |
27
|
|
|
private $splitTenderId = null; |
28
|
|
|
|
29
|
|
|
/** |
30
|
|
|
* @property \DateTime $submitTimeUTC |
31
|
|
|
*/ |
32
|
|
|
private $submitTimeUTC = null; |
33
|
|
|
|
34
|
|
|
/** |
35
|
|
|
* @property \DateTime $submitTimeLocal |
36
|
|
|
*/ |
37
|
|
|
private $submitTimeLocal = null; |
38
|
|
|
|
39
|
|
|
/** |
40
|
|
|
* @property string $transactionType |
41
|
|
|
*/ |
42
|
|
|
private $transactionType = null; |
43
|
|
|
|
44
|
|
|
/** |
45
|
|
|
* @property string $transactionStatus |
46
|
|
|
*/ |
47
|
|
|
private $transactionStatus = null; |
48
|
|
|
|
49
|
|
|
/** |
50
|
|
|
* @property integer $responseCode |
51
|
|
|
*/ |
52
|
|
|
private $responseCode = null; |
53
|
|
|
|
54
|
|
|
/** |
55
|
|
|
* @property integer $responseReasonCode |
56
|
|
|
*/ |
57
|
|
|
private $responseReasonCode = null; |
58
|
|
|
|
59
|
|
|
/** |
60
|
|
|
* @property \net\authorize\api\contract\v1\SubscriptionPaymentType $subscription |
61
|
|
|
*/ |
62
|
|
|
private $subscription = null; |
63
|
|
|
|
64
|
|
|
/** |
65
|
|
|
* @property string $responseReasonDescription |
66
|
|
|
*/ |
67
|
|
|
private $responseReasonDescription = null; |
68
|
|
|
|
69
|
|
|
/** |
70
|
|
|
* @property string $authCode |
71
|
|
|
*/ |
72
|
|
|
private $authCode = null; |
73
|
|
|
|
74
|
|
|
/** |
75
|
|
|
* @property string $aVSResponse |
76
|
|
|
*/ |
77
|
|
|
private $aVSResponse = null; |
78
|
|
|
|
79
|
|
|
/** |
80
|
|
|
* @property string $cardCodeResponse |
81
|
|
|
*/ |
82
|
|
|
private $cardCodeResponse = null; |
83
|
|
|
|
84
|
|
|
/** |
85
|
|
|
* @property string $cAVVResponse |
86
|
|
|
*/ |
87
|
|
|
private $cAVVResponse = null; |
88
|
|
|
|
89
|
|
|
/** |
90
|
|
|
* @property string $fDSFilterAction |
91
|
|
|
*/ |
92
|
|
|
private $fDSFilterAction = null; |
93
|
|
|
|
94
|
|
|
/** |
95
|
|
|
* @property \net\authorize\api\contract\v1\FDSFilterType[] $fDSFilters |
96
|
|
|
*/ |
97
|
|
|
private $fDSFilters = null; |
98
|
|
|
|
99
|
|
|
/** |
100
|
|
|
* @property \net\authorize\api\contract\v1\BatchDetailsType $batch |
101
|
|
|
*/ |
102
|
|
|
private $batch = null; |
103
|
|
|
|
104
|
|
|
/** |
105
|
|
|
* @property \net\authorize\api\contract\v1\OrderExType $order |
106
|
|
|
*/ |
107
|
|
|
private $order = null; |
108
|
|
|
|
109
|
|
|
/** |
110
|
|
|
* @property float $requestedAmount |
111
|
|
|
*/ |
112
|
|
|
private $requestedAmount = null; |
113
|
|
|
|
114
|
|
|
/** |
115
|
|
|
* @property float $authAmount |
116
|
|
|
*/ |
117
|
|
|
private $authAmount = null; |
118
|
|
|
|
119
|
|
|
/** |
120
|
|
|
* @property float $settleAmount |
121
|
|
|
*/ |
122
|
|
|
private $settleAmount = null; |
123
|
|
|
|
124
|
|
|
/** |
125
|
|
|
* @property \net\authorize\api\contract\v1\ExtendedAmountType $tax |
126
|
|
|
*/ |
127
|
|
|
private $tax = null; |
128
|
|
|
|
129
|
|
|
/** |
130
|
|
|
* @property \net\authorize\api\contract\v1\ExtendedAmountType $shipping |
131
|
|
|
*/ |
132
|
|
|
private $shipping = null; |
133
|
|
|
|
134
|
|
|
/** |
135
|
|
|
* @property \net\authorize\api\contract\v1\ExtendedAmountType $duty |
136
|
|
|
*/ |
137
|
|
|
private $duty = null; |
138
|
|
|
|
139
|
|
|
/** |
140
|
|
|
* @property \net\authorize\api\contract\v1\LineItemType[] $lineItems |
141
|
|
|
*/ |
142
|
|
|
private $lineItems = null; |
143
|
|
|
|
144
|
|
|
/** |
145
|
|
|
* @property float $prepaidBalanceRemaining |
146
|
|
|
*/ |
147
|
|
|
private $prepaidBalanceRemaining = null; |
148
|
|
|
|
149
|
|
|
/** |
150
|
|
|
* @property boolean $taxExempt |
151
|
|
|
*/ |
152
|
|
|
private $taxExempt = null; |
153
|
|
|
|
154
|
|
|
/** |
155
|
|
|
* @property \net\authorize\api\contract\v1\PaymentMaskedType $payment |
156
|
|
|
*/ |
157
|
|
|
private $payment = null; |
158
|
|
|
|
159
|
|
|
/** |
160
|
|
|
* @property \net\authorize\api\contract\v1\CustomerDataType $customer |
161
|
|
|
*/ |
162
|
|
|
private $customer = null; |
163
|
|
|
|
164
|
|
|
/** |
165
|
|
|
* @property \net\authorize\api\contract\v1\CustomerAddressType $billTo |
166
|
|
|
*/ |
167
|
|
|
private $billTo = null; |
168
|
|
|
|
169
|
|
|
/** |
170
|
|
|
* @property \net\authorize\api\contract\v1\NameAndAddressType $shipTo |
171
|
|
|
*/ |
172
|
|
|
private $shipTo = null; |
173
|
|
|
|
174
|
|
|
/** |
175
|
|
|
* @property boolean $recurringBilling |
176
|
|
|
*/ |
177
|
|
|
private $recurringBilling = null; |
178
|
|
|
|
179
|
|
|
/** |
180
|
|
|
* @property string $customerIP |
181
|
|
|
*/ |
182
|
|
|
private $customerIP = null; |
183
|
|
|
|
184
|
|
|
/** |
185
|
|
|
* @property string $product |
186
|
|
|
*/ |
187
|
|
|
private $product = null; |
188
|
|
|
|
189
|
|
|
/** |
190
|
|
|
* @property string $entryMode |
191
|
|
|
*/ |
192
|
|
|
private $entryMode = null; |
193
|
|
|
|
194
|
|
|
/** |
195
|
|
|
* @property string $marketType |
196
|
|
|
*/ |
197
|
|
|
private $marketType = null; |
198
|
|
|
|
199
|
|
|
/** |
200
|
|
|
* @property string $mobileDeviceId |
201
|
|
|
*/ |
202
|
|
|
private $mobileDeviceId = null; |
203
|
|
|
|
204
|
|
|
/** |
205
|
|
|
* @property string $customerSignature |
206
|
|
|
*/ |
207
|
|
|
private $customerSignature = null; |
208
|
|
|
|
209
|
|
|
/** |
210
|
|
|
* @property \net\authorize\api\contract\v1\ReturnedItemType[] $returnedItems |
211
|
|
|
*/ |
212
|
|
|
private $returnedItems = null; |
213
|
|
|
|
214
|
|
|
/** |
215
|
|
|
* @property \net\authorize\api\contract\v1\SolutionType $solution |
216
|
|
|
*/ |
217
|
|
|
private $solution = null; |
218
|
|
|
|
219
|
|
|
/** |
220
|
|
|
* @property |
221
|
|
|
* \net\authorize\api\contract\v1\TransactionDetailsType\EmvDetailsAType\TagAType[] |
222
|
|
|
* $emvDetails |
223
|
|
|
*/ |
224
|
|
|
private $emvDetails = null; |
225
|
|
|
|
226
|
|
|
/** |
227
|
|
|
* @property \net\authorize\api\contract\v1\CustomerProfileIdType $profile |
228
|
|
|
*/ |
229
|
|
|
private $profile = null; |
230
|
|
|
|
231
|
|
|
/** |
232
|
|
|
* @property \net\authorize\api\contract\v1\ExtendedAmountType $surcharge |
233
|
|
|
*/ |
234
|
|
|
private $surcharge = null; |
235
|
|
|
|
236
|
|
|
/** |
237
|
|
|
* @property string $employeeId |
238
|
|
|
*/ |
239
|
|
|
private $employeeId = null; |
240
|
|
|
|
241
|
|
|
/** |
242
|
|
|
* @property \net\authorize\api\contract\v1\ExtendedAmountType $tip |
243
|
|
|
*/ |
244
|
|
|
private $tip = null; |
245
|
|
|
|
246
|
|
|
/** |
247
|
|
|
* @property \net\authorize\api\contract\v1\OtherTaxType $otherTax |
248
|
|
|
*/ |
249
|
|
|
private $otherTax = null; |
250
|
|
|
|
251
|
|
|
/** |
252
|
|
|
* @property \net\authorize\api\contract\v1\NameAndAddressType $shipFrom |
253
|
|
|
*/ |
254
|
|
|
private $shipFrom = null; |
255
|
|
|
|
256
|
|
|
/** |
257
|
|
|
* Gets as transId |
258
|
|
|
* |
259
|
|
|
* @return string |
260
|
|
|
*/ |
261
|
|
|
public function getTransId() |
262
|
|
|
{ |
263
|
|
|
return $this->transId; |
264
|
|
|
} |
265
|
|
|
|
266
|
|
|
/** |
267
|
|
|
* Sets a new transId |
268
|
|
|
* |
269
|
|
|
* @param string $transId |
270
|
|
|
* @return self |
271
|
|
|
*/ |
272
|
|
|
public function setTransId($transId) |
273
|
|
|
{ |
274
|
|
|
$this->transId = $transId;
|
275
|
|
|
return $this; |
276
|
|
|
} |
277
|
|
|
|
278
|
|
|
/** |
279
|
|
|
* Gets as refTransId |
280
|
|
|
* |
281
|
|
|
* @return string |
282
|
|
|
*/ |
283
|
|
|
public function getRefTransId() |
284
|
|
|
{ |
285
|
|
|
return $this->refTransId; |
286
|
|
|
} |
287
|
|
|
|
288
|
|
|
/** |
289
|
|
|
* Sets a new refTransId |
290
|
|
|
* |
291
|
|
|
* @param string $refTransId |
292
|
|
|
* @return self |
293
|
|
|
*/ |
294
|
|
|
public function setRefTransId($refTransId) |
295
|
|
|
{ |
296
|
|
|
$this->refTransId = $refTransId;
|
297
|
|
|
return $this; |
298
|
|
|
} |
299
|
|
|
|
300
|
|
|
/** |
301
|
|
|
* Gets as splitTenderId |
302
|
|
|
* |
303
|
|
|
* @return string |
304
|
|
|
*/ |
305
|
|
|
public function getSplitTenderId() |
306
|
|
|
{ |
307
|
|
|
return $this->splitTenderId; |
308
|
|
|
} |
309
|
|
|
|
310
|
|
|
/** |
311
|
|
|
* Sets a new splitTenderId |
312
|
|
|
* |
313
|
|
|
* @param string $splitTenderId |
314
|
|
|
* @return self |
315
|
|
|
*/ |
316
|
|
|
public function setSplitTenderId($splitTenderId) |
317
|
|
|
{ |
318
|
|
|
$this->splitTenderId = $splitTenderId;
|
319
|
|
|
return $this; |
320
|
|
|
} |
321
|
|
|
|
322
|
|
|
/** |
323
|
|
|
* Gets as submitTimeUTC |
324
|
|
|
* |
325
|
|
|
* @return \DateTime |
326
|
|
|
*/ |
327
|
|
|
public function getSubmitTimeUTC() |
328
|
|
|
{ |
329
|
|
|
return $this->submitTimeUTC; |
330
|
|
|
} |
331
|
|
|
|
332
|
|
|
/** |
333
|
|
|
* Sets a new submitTimeUTC |
334
|
|
|
* |
335
|
|
|
* @param \DateTime $submitTimeUTC |
336
|
|
|
* @return self |
337
|
|
|
*/ |
338
|
|
|
public function setSubmitTimeUTC(\DateTime $submitTimeUTC) |
339
|
|
|
{ |
340
|
|
|
$this->submitTimeUTC = $submitTimeUTC;
|
341
|
|
|
return $this; |
342
|
|
|
} |
343
|
|
|
|
344
|
|
|
/** |
345
|
|
|
* Gets as submitTimeLocal |
346
|
|
|
* |
347
|
|
|
* @return \DateTime |
348
|
|
|
*/ |
349
|
|
|
public function getSubmitTimeLocal() |
350
|
|
|
{ |
351
|
|
|
return $this->submitTimeLocal; |
352
|
|
|
} |
353
|
|
|
|
354
|
|
|
/** |
355
|
|
|
* Sets a new submitTimeLocal |
356
|
|
|
* |
357
|
|
|
* @param \DateTime $submitTimeLocal |
358
|
|
|
* @return self |
359
|
|
|
*/ |
360
|
|
|
public function setSubmitTimeLocal(\DateTime $submitTimeLocal) |
361
|
|
|
{ |
362
|
|
|
$this->submitTimeLocal = $submitTimeLocal;
|
363
|
|
|
return $this; |
364
|
|
|
} |
365
|
|
|
|
366
|
|
|
/** |
367
|
|
|
* Gets as transactionType |
368
|
|
|
* |
369
|
|
|
* @return string |
370
|
|
|
*/ |
371
|
|
|
public function getTransactionType() |
372
|
|
|
{ |
373
|
|
|
return $this->transactionType; |
374
|
|
|
} |
375
|
|
|
|
376
|
|
|
/** |
377
|
|
|
* Sets a new transactionType |
378
|
|
|
* |
379
|
|
|
* @param string $transactionType |
380
|
|
|
* @return self |
381
|
|
|
*/ |
382
|
|
|
public function setTransactionType($transactionType) |
383
|
|
|
{ |
384
|
|
|
$this->transactionType = $transactionType;
|
385
|
|
|
return $this; |
386
|
|
|
} |
387
|
|
|
|
388
|
|
|
/** |
389
|
|
|
* Gets as transactionStatus |
390
|
|
|
* |
391
|
|
|
* @return string |
392
|
|
|
*/ |
393
|
|
|
public function getTransactionStatus() |
394
|
|
|
{ |
395
|
|
|
return $this->transactionStatus; |
396
|
|
|
} |
397
|
|
|
|
398
|
|
|
/** |
399
|
|
|
* Sets a new transactionStatus |
400
|
|
|
* |
401
|
|
|
* @param string $transactionStatus |
402
|
|
|
* @return self |
403
|
|
|
*/ |
404
|
|
|
public function setTransactionStatus($transactionStatus) |
405
|
|
|
{ |
406
|
|
|
$this->transactionStatus = $transactionStatus;
|
407
|
|
|
return $this; |
408
|
|
|
} |
409
|
|
|
|
410
|
|
|
/** |
411
|
|
|
* Gets as responseCode |
412
|
|
|
* |
413
|
|
|
* @return integer |
414
|
|
|
*/ |
415
|
|
|
public function getResponseCode() |
416
|
|
|
{ |
417
|
|
|
return $this->responseCode; |
418
|
|
|
} |
419
|
|
|
|
420
|
|
|
/** |
421
|
|
|
* Sets a new responseCode |
422
|
|
|
* |
423
|
|
|
* @param integer $responseCode |
424
|
|
|
* @return self |
425
|
|
|
*/ |
426
|
|
|
public function setResponseCode($responseCode) |
427
|
|
|
{ |
428
|
|
|
$this->responseCode = $responseCode;
|
429
|
|
|
return $this; |
430
|
|
|
} |
431
|
|
|
|
432
|
|
|
/** |
433
|
|
|
* Gets as responseReasonCode |
434
|
|
|
* |
435
|
|
|
* @return integer |
436
|
|
|
*/ |
437
|
|
|
public function getResponseReasonCode() |
438
|
|
|
{ |
439
|
|
|
return $this->responseReasonCode; |
440
|
|
|
} |
441
|
|
|
|
442
|
|
|
/** |
443
|
|
|
* Sets a new responseReasonCode |
444
|
|
|
* |
445
|
|
|
* @param integer $responseReasonCode |
446
|
|
|
* @return self |
447
|
|
|
*/ |
448
|
|
|
public function setResponseReasonCode($responseReasonCode) |
449
|
|
|
{ |
450
|
|
|
$this->responseReasonCode = $responseReasonCode;
|
451
|
|
|
return $this; |
452
|
|
|
} |
453
|
|
|
|
454
|
|
|
/** |
455
|
|
|
* Gets as subscription |
456
|
|
|
* |
457
|
|
|
* @return \net\authorize\api\contract\v1\SubscriptionPaymentType |
458
|
|
|
*/ |
459
|
|
|
public function getSubscription() |
460
|
|
|
{ |
461
|
|
|
return $this->subscription; |
462
|
|
|
} |
463
|
|
|
|
464
|
|
|
/** |
465
|
|
|
* Sets a new subscription |
466
|
|
|
* |
467
|
|
|
* @param \net\authorize\api\contract\v1\SubscriptionPaymentType $subscription |
468
|
|
|
* @return self |
469
|
|
|
*/ |
470
|
|
|
public function setSubscription(\net\authorize\api\contract\v1\SubscriptionPaymentType $subscription) |
471
|
|
|
{ |
472
|
|
|
$this->subscription = $subscription;
|
473
|
|
|
return $this; |
474
|
|
|
} |
475
|
|
|
|
476
|
|
|
/** |
477
|
|
|
* Gets as responseReasonDescription |
478
|
|
|
* |
479
|
|
|
* @return string |
480
|
|
|
*/ |
481
|
|
|
public function getResponseReasonDescription() |
482
|
|
|
{ |
483
|
|
|
return $this->responseReasonDescription; |
484
|
|
|
} |
485
|
|
|
|
486
|
|
|
/** |
487
|
|
|
* Sets a new responseReasonDescription |
488
|
|
|
* |
489
|
|
|
* @param string $responseReasonDescription |
490
|
|
|
* @return self |
491
|
|
|
*/ |
492
|
|
|
public function setResponseReasonDescription($responseReasonDescription) |
493
|
|
|
{ |
494
|
|
|
$this->responseReasonDescription = $responseReasonDescription;
|
495
|
|
|
return $this; |
496
|
|
|
} |
497
|
|
|
|
498
|
|
|
/** |
499
|
|
|
* Gets as authCode |
500
|
|
|
* |
501
|
|
|
* @return string |
502
|
|
|
*/ |
503
|
|
|
public function getAuthCode() |
504
|
|
|
{ |
505
|
|
|
return $this->authCode; |
506
|
|
|
} |
507
|
|
|
|
508
|
|
|
/** |
509
|
|
|
* Sets a new authCode |
510
|
|
|
* |
511
|
|
|
* @param string $authCode |
512
|
|
|
* @return self |
513
|
|
|
*/ |
514
|
|
|
public function setAuthCode($authCode) |
515
|
|
|
{ |
516
|
|
|
$this->authCode = $authCode;
|
517
|
|
|
return $this; |
518
|
|
|
} |
519
|
|
|
|
520
|
|
|
/** |
521
|
|
|
* Gets as aVSResponse |
522
|
|
|
* |
523
|
|
|
* @return string |
524
|
|
|
*/ |
525
|
|
|
public function getAVSResponse() |
526
|
|
|
{ |
527
|
|
|
return $this->aVSResponse; |
528
|
|
|
} |
529
|
|
|
|
530
|
|
|
/** |
531
|
|
|
* Sets a new aVSResponse |
532
|
|
|
* |
533
|
|
|
* @param string $aVSResponse |
534
|
|
|
* @return self |
535
|
|
|
*/ |
536
|
|
|
public function setAVSResponse($aVSResponse) |
537
|
|
|
{ |
538
|
|
|
$this->aVSResponse = $aVSResponse;
|
539
|
|
|
return $this; |
540
|
|
|
} |
541
|
|
|
|
542
|
|
|
/** |
543
|
|
|
* Gets as cardCodeResponse |
544
|
|
|
* |
545
|
|
|
* @return string |
546
|
|
|
*/ |
547
|
|
|
public function getCardCodeResponse() |
548
|
|
|
{ |
549
|
|
|
return $this->cardCodeResponse; |
550
|
|
|
} |
551
|
|
|
|
552
|
|
|
/** |
553
|
|
|
* Sets a new cardCodeResponse |
554
|
|
|
* |
555
|
|
|
* @param string $cardCodeResponse |
556
|
|
|
* @return self |
557
|
|
|
*/ |
558
|
|
|
public function setCardCodeResponse($cardCodeResponse) |
559
|
|
|
{ |
560
|
|
|
$this->cardCodeResponse = $cardCodeResponse;
|
561
|
|
|
return $this; |
562
|
|
|
} |
563
|
|
|
|
564
|
|
|
/** |
565
|
|
|
* Gets as cAVVResponse |
566
|
|
|
* |
567
|
|
|
* @return string |
568
|
|
|
*/ |
569
|
|
|
public function getCAVVResponse() |
570
|
|
|
{ |
571
|
|
|
return $this->cAVVResponse; |
572
|
|
|
} |
573
|
|
|
|
574
|
|
|
/** |
575
|
|
|
* Sets a new cAVVResponse |
576
|
|
|
* |
577
|
|
|
* @param string $cAVVResponse |
578
|
|
|
* @return self |
579
|
|
|
*/ |
580
|
|
|
public function setCAVVResponse($cAVVResponse) |
581
|
|
|
{ |
582
|
|
|
$this->cAVVResponse = $cAVVResponse;
|
583
|
|
|
return $this; |
584
|
|
|
} |
585
|
|
|
|
586
|
|
|
/** |
587
|
|
|
* Gets as fDSFilterAction |
588
|
|
|
* |
589
|
|
|
* @return string |
590
|
|
|
*/ |
591
|
|
|
public function getFDSFilterAction() |
592
|
|
|
{ |
593
|
|
|
return $this->fDSFilterAction; |
594
|
|
|
} |
595
|
|
|
|
596
|
|
|
/** |
597
|
|
|
* Sets a new fDSFilterAction |
598
|
|
|
* |
599
|
|
|
* @param string $fDSFilterAction |
600
|
|
|
* @return self |
601
|
|
|
*/ |
602
|
|
|
public function setFDSFilterAction($fDSFilterAction) |
603
|
|
|
{ |
604
|
|
|
$this->fDSFilterAction = $fDSFilterAction;
|
605
|
|
|
return $this; |
606
|
|
|
} |
607
|
|
|
|
608
|
|
|
/** |
609
|
|
|
* Adds as fDSFilter |
610
|
|
|
* |
611
|
|
|
* @return self |
612
|
|
|
* @param \net\authorize\api\contract\v1\FDSFilterType $fDSFilter |
613
|
|
|
*/ |
614
|
|
|
public function addToFDSFilters(\net\authorize\api\contract\v1\FDSFilterType $fDSFilter) |
615
|
|
|
{ |
616
|
|
|
$this->fDSFilters[] = $fDSFilter;
|
617
|
|
|
return $this; |
618
|
|
|
} |
619
|
|
|
|
620
|
|
|
/** |
621
|
|
|
* isset fDSFilters |
622
|
|
|
* |
623
|
|
|
* @param scalar $index |
624
|
|
|
* @return boolean |
625
|
|
|
*/ |
626
|
|
|
public function issetFDSFilters($index) |
627
|
|
|
{ |
628
|
|
|
return isset($this->fDSFilters[$index]); |
629
|
|
|
} |
630
|
|
|
|
631
|
|
|
/** |
632
|
|
|
* unset fDSFilters |
633
|
|
|
* |
634
|
|
|
* @param scalar $index |
635
|
|
|
* @return void |
636
|
|
|
*/ |
637
|
|
|
public function unsetFDSFilters($index) |
638
|
|
|
{ |
639
|
|
|
unset($this->fDSFilters[$index]); |
640
|
|
|
} |
641
|
|
|
|
642
|
|
|
/** |
643
|
|
|
* Gets as fDSFilters |
644
|
|
|
* |
645
|
|
|
* @return \net\authorize\api\contract\v1\FDSFilterType[] |
646
|
|
|
*/ |
647
|
|
|
public function getFDSFilters() |
648
|
|
|
{ |
649
|
|
|
return $this->fDSFilters; |
650
|
|
|
} |
651
|
|
|
|
652
|
|
|
/** |
653
|
|
|
* Sets a new fDSFilters |
654
|
|
|
* |
655
|
|
|
* @param \net\authorize\api\contract\v1\FDSFilterType[] $fDSFilters |
656
|
|
|
* @return self |
657
|
|
|
*/ |
658
|
|
|
public function setFDSFilters(array $fDSFilters) |
659
|
|
|
{ |
660
|
|
|
$this->fDSFilters = $fDSFilters;
|
661
|
|
|
return $this; |
662
|
|
|
} |
663
|
|
|
|
664
|
|
|
/** |
665
|
|
|
* Gets as batch |
666
|
|
|
* |
667
|
|
|
* @return \net\authorize\api\contract\v1\BatchDetailsType |
668
|
|
|
*/ |
669
|
|
|
public function getBatch() |
670
|
|
|
{ |
671
|
|
|
return $this->batch; |
672
|
|
|
} |
673
|
|
|
|
674
|
|
|
/** |
675
|
|
|
* Sets a new batch |
676
|
|
|
* |
677
|
|
|
* @param \net\authorize\api\contract\v1\BatchDetailsType $batch |
678
|
|
|
* @return self |
679
|
|
|
*/ |
680
|
|
|
public function setBatch(\net\authorize\api\contract\v1\BatchDetailsType $batch) |
681
|
|
|
{ |
682
|
|
|
$this->batch = $batch;
|
683
|
|
|
return $this; |
684
|
|
|
} |
685
|
|
|
|
686
|
|
|
/** |
687
|
|
|
* Gets as order |
688
|
|
|
* |
689
|
|
|
* @return \net\authorize\api\contract\v1\OrderExType |
690
|
|
|
*/ |
691
|
|
|
public function getOrder() |
692
|
|
|
{ |
693
|
|
|
return $this->order; |
694
|
|
|
} |
695
|
|
|
|
696
|
|
|
/** |
697
|
|
|
* Sets a new order |
698
|
|
|
* |
699
|
|
|
* @param \net\authorize\api\contract\v1\OrderExType $order |
700
|
|
|
* @return self |
701
|
|
|
*/ |
702
|
|
|
public function setOrder(\net\authorize\api\contract\v1\OrderExType $order) |
703
|
|
|
{ |
704
|
|
|
$this->order = $order;
|
705
|
|
|
return $this; |
706
|
|
|
} |
707
|
|
|
|
708
|
|
|
/** |
709
|
|
|
* Gets as requestedAmount |
710
|
|
|
* |
711
|
|
|
* @return float |
712
|
|
|
*/ |
713
|
|
|
public function getRequestedAmount() |
714
|
|
|
{ |
715
|
|
|
return $this->requestedAmount; |
716
|
|
|
} |
717
|
|
|
|
718
|
|
|
/** |
719
|
|
|
* Sets a new requestedAmount |
720
|
|
|
* |
721
|
|
|
* @param float $requestedAmount |
722
|
|
|
* @return self |
723
|
|
|
*/ |
724
|
|
|
public function setRequestedAmount($requestedAmount) |
725
|
|
|
{ |
726
|
|
|
$this->requestedAmount = $requestedAmount;
|
727
|
|
|
return $this; |
728
|
|
|
} |
729
|
|
|
|
730
|
|
|
/** |
731
|
|
|
* Gets as authAmount |
732
|
|
|
* |
733
|
|
|
* @return float |
734
|
|
|
*/ |
735
|
|
|
public function getAuthAmount() |
736
|
|
|
{ |
737
|
|
|
return $this->authAmount; |
738
|
|
|
} |
739
|
|
|
|
740
|
|
|
/** |
741
|
|
|
* Sets a new authAmount |
742
|
|
|
* |
743
|
|
|
* @param float $authAmount |
744
|
|
|
* @return self |
745
|
|
|
*/ |
746
|
|
|
public function setAuthAmount($authAmount) |
747
|
|
|
{ |
748
|
|
|
$this->authAmount = $authAmount;
|
749
|
|
|
return $this; |
750
|
|
|
} |
751
|
|
|
|
752
|
|
|
/** |
753
|
|
|
* Gets as settleAmount |
754
|
|
|
* |
755
|
|
|
* @return float |
756
|
|
|
*/ |
757
|
|
|
public function getSettleAmount() |
758
|
|
|
{ |
759
|
|
|
return $this->settleAmount; |
760
|
|
|
} |
761
|
|
|
|
762
|
|
|
/** |
763
|
|
|
* Sets a new settleAmount |
764
|
|
|
* |
765
|
|
|
* @param float $settleAmount |
766
|
|
|
* @return self |
767
|
|
|
*/ |
768
|
|
|
public function setSettleAmount($settleAmount) |
769
|
|
|
{ |
770
|
|
|
$this->settleAmount = $settleAmount;
|
771
|
|
|
return $this; |
772
|
|
|
} |
773
|
|
|
|
774
|
|
|
/** |
775
|
|
|
* Gets as tax |
776
|
|
|
* |
777
|
|
|
* @return \net\authorize\api\contract\v1\ExtendedAmountType |
778
|
|
|
*/ |
779
|
|
|
public function getTax() |
780
|
|
|
{ |
781
|
|
|
return $this->tax; |
782
|
|
|
} |
783
|
|
|
|
784
|
|
|
/** |
785
|
|
|
* Sets a new tax |
786
|
|
|
* |
787
|
|
|
* @param \net\authorize\api\contract\v1\ExtendedAmountType $tax |
788
|
|
|
* @return self |
789
|
|
|
*/ |
790
|
|
|
public function setTax(\net\authorize\api\contract\v1\ExtendedAmountType $tax) |
791
|
|
|
{ |
792
|
|
|
$this->tax = $tax;
|
793
|
|
|
return $this; |
794
|
|
|
} |
795
|
|
|
|
796
|
|
|
/** |
797
|
|
|
* Gets as shipping |
798
|
|
|
* |
799
|
|
|
* @return \net\authorize\api\contract\v1\ExtendedAmountType |
800
|
|
|
*/ |
801
|
|
|
public function getShipping() |
802
|
|
|
{ |
803
|
|
|
return $this->shipping; |
804
|
|
|
} |
805
|
|
|
|
806
|
|
|
/** |
807
|
|
|
* Sets a new shipping |
808
|
|
|
* |
809
|
|
|
* @param \net\authorize\api\contract\v1\ExtendedAmountType $shipping |
810
|
|
|
* @return self |
811
|
|
|
*/ |
812
|
|
|
public function setShipping(\net\authorize\api\contract\v1\ExtendedAmountType $shipping) |
813
|
|
|
{ |
814
|
|
|
$this->shipping = $shipping;
|
815
|
|
|
return $this; |
816
|
|
|
} |
817
|
|
|
|
818
|
|
|
/** |
819
|
|
|
* Gets as duty |
820
|
|
|
* |
821
|
|
|
* @return \net\authorize\api\contract\v1\ExtendedAmountType |
822
|
|
|
*/ |
823
|
|
|
public function getDuty() |
824
|
|
|
{ |
825
|
|
|
return $this->duty; |
826
|
|
|
} |
827
|
|
|
|
828
|
|
|
/** |
829
|
|
|
* Sets a new duty |
830
|
|
|
* |
831
|
|
|
* @param \net\authorize\api\contract\v1\ExtendedAmountType $duty |
832
|
|
|
* @return self |
833
|
|
|
*/ |
834
|
|
|
public function setDuty(\net\authorize\api\contract\v1\ExtendedAmountType $duty) |
835
|
|
|
{ |
836
|
|
|
$this->duty = $duty;
|
837
|
|
|
return $this; |
838
|
|
|
} |
839
|
|
|
|
840
|
|
|
/** |
841
|
|
|
* Adds as lineItem |
842
|
|
|
* |
843
|
|
|
* @return self |
844
|
|
|
* @param \net\authorize\api\contract\v1\LineItemType $lineItem |
845
|
|
|
*/ |
846
|
|
|
public function addToLineItems(\net\authorize\api\contract\v1\LineItemType $lineItem) |
847
|
|
|
{ |
848
|
|
|
$this->lineItems[] = $lineItem;
|
849
|
|
|
return $this; |
850
|
|
|
} |
851
|
|
|
|
852
|
|
|
/** |
853
|
|
|
* isset lineItems |
854
|
|
|
* |
855
|
|
|
* @param scalar $index |
856
|
|
|
* @return boolean |
857
|
|
|
*/ |
858
|
|
|
public function issetLineItems($index) |
859
|
|
|
{ |
860
|
|
|
return isset($this->lineItems[$index]); |
861
|
|
|
} |
862
|
|
|
|
863
|
|
|
/** |
864
|
|
|
* unset lineItems |
865
|
|
|
* |
866
|
|
|
* @param scalar $index |
867
|
|
|
* @return void |
868
|
|
|
*/ |
869
|
|
|
public function unsetLineItems($index) |
870
|
|
|
{ |
871
|
|
|
unset($this->lineItems[$index]); |
872
|
|
|
} |
873
|
|
|
|
874
|
|
|
/** |
875
|
|
|
* Gets as lineItems |
876
|
|
|
* |
877
|
|
|
* @return \net\authorize\api\contract\v1\LineItemType[] |
878
|
|
|
*/ |
879
|
|
|
public function getLineItems() |
880
|
|
|
{ |
881
|
|
|
return $this->lineItems; |
882
|
|
|
} |
883
|
|
|
|
884
|
|
|
/** |
885
|
|
|
* Sets a new lineItems |
886
|
|
|
* |
887
|
|
|
* @param \net\authorize\api\contract\v1\LineItemType[] $lineItems |
888
|
|
|
* @return self |
889
|
|
|
*/ |
890
|
|
|
public function setLineItems(array $lineItems) |
891
|
|
|
{ |
892
|
|
|
$this->lineItems = $lineItems;
|
893
|
|
|
return $this; |
894
|
|
|
} |
895
|
|
|
|
896
|
|
|
/** |
897
|
|
|
* Gets as prepaidBalanceRemaining |
898
|
|
|
* |
899
|
|
|
* @return float |
900
|
|
|
*/ |
901
|
|
|
public function getPrepaidBalanceRemaining() |
902
|
|
|
{ |
903
|
|
|
return $this->prepaidBalanceRemaining; |
904
|
|
|
} |
905
|
|
|
|
906
|
|
|
/** |
907
|
|
|
* Sets a new prepaidBalanceRemaining |
908
|
|
|
* |
909
|
|
|
* @param float $prepaidBalanceRemaining |
910
|
|
|
* @return self |
911
|
|
|
*/ |
912
|
|
|
public function setPrepaidBalanceRemaining($prepaidBalanceRemaining) |
913
|
|
|
{ |
914
|
|
|
$this->prepaidBalanceRemaining = $prepaidBalanceRemaining;
|
915
|
|
|
return $this; |
916
|
|
|
} |
917
|
|
|
|
918
|
|
|
/** |
919
|
|
|
* Gets as taxExempt |
920
|
|
|
* |
921
|
|
|
* @return boolean |
922
|
|
|
*/ |
923
|
|
|
public function getTaxExempt() |
924
|
|
|
{ |
925
|
|
|
return $this->taxExempt; |
926
|
|
|
} |
927
|
|
|
|
928
|
|
|
/** |
929
|
|
|
* Sets a new taxExempt |
930
|
|
|
* |
931
|
|
|
* @param boolean $taxExempt |
932
|
|
|
* @return self |
933
|
|
|
*/ |
934
|
|
|
public function setTaxExempt($taxExempt) |
935
|
|
|
{ |
936
|
|
|
$this->taxExempt = $taxExempt;
|
937
|
|
|
return $this; |
938
|
|
|
} |
939
|
|
|
|
940
|
|
|
/** |
941
|
|
|
* Gets as payment |
942
|
|
|
* |
943
|
|
|
* @return \net\authorize\api\contract\v1\PaymentMaskedType |
944
|
|
|
*/ |
945
|
|
|
public function getPayment() |
946
|
|
|
{ |
947
|
|
|
return $this->payment; |
948
|
|
|
} |
949
|
|
|
|
950
|
|
|
/** |
951
|
|
|
* Sets a new payment |
952
|
|
|
* |
953
|
|
|
* @param \net\authorize\api\contract\v1\PaymentMaskedType $payment |
954
|
|
|
* @return self |
955
|
|
|
*/ |
956
|
|
|
public function setPayment(\net\authorize\api\contract\v1\PaymentMaskedType $payment) |
957
|
|
|
{ |
958
|
|
|
$this->payment = $payment;
|
959
|
|
|
return $this; |
960
|
|
|
} |
961
|
|
|
|
962
|
|
|
/** |
963
|
|
|
* Gets as customer |
964
|
|
|
* |
965
|
|
|
* @return \net\authorize\api\contract\v1\CustomerDataType |
966
|
|
|
*/ |
967
|
|
|
public function getCustomer() |
968
|
|
|
{ |
969
|
|
|
return $this->customer; |
970
|
|
|
} |
971
|
|
|
|
972
|
|
|
/** |
973
|
|
|
* Sets a new customer |
974
|
|
|
* |
975
|
|
|
* @param \net\authorize\api\contract\v1\CustomerDataType $customer |
976
|
|
|
* @return self |
977
|
|
|
*/ |
978
|
|
|
public function setCustomer(\net\authorize\api\contract\v1\CustomerDataType $customer) |
979
|
|
|
{ |
980
|
|
|
$this->customer = $customer;
|
981
|
|
|
return $this; |
982
|
|
|
} |
983
|
|
|
|
984
|
|
|
/** |
985
|
|
|
* Gets as billTo |
986
|
|
|
* |
987
|
|
|
* @return \net\authorize\api\contract\v1\CustomerAddressType |
988
|
|
|
*/ |
989
|
|
|
public function getBillTo() |
990
|
|
|
{ |
991
|
|
|
return $this->billTo; |
992
|
|
|
} |
993
|
|
|
|
994
|
|
|
/** |
995
|
|
|
* Sets a new billTo |
996
|
|
|
* |
997
|
|
|
* @param \net\authorize\api\contract\v1\CustomerAddressType $billTo |
998
|
|
|
* @return self |
999
|
|
|
*/ |
1000
|
|
|
public function setBillTo(\net\authorize\api\contract\v1\CustomerAddressType $billTo) |
1001
|
|
|
{ |
1002
|
|
|
$this->billTo = $billTo;
|
1003
|
|
|
return $this; |
1004
|
|
|
} |
1005
|
|
|
|
1006
|
|
|
/** |
1007
|
|
|
* Gets as shipTo |
1008
|
|
|
* |
1009
|
|
|
* @return \net\authorize\api\contract\v1\NameAndAddressType |
1010
|
|
|
*/ |
1011
|
|
|
public function getShipTo() |
1012
|
|
|
{ |
1013
|
|
|
return $this->shipTo; |
1014
|
|
|
} |
1015
|
|
|
|
1016
|
|
|
/** |
1017
|
|
|
* Sets a new shipTo |
1018
|
|
|
* |
1019
|
|
|
* @param \net\authorize\api\contract\v1\NameAndAddressType $shipTo |
1020
|
|
|
* @return self |
1021
|
|
|
*/ |
1022
|
|
|
public function setShipTo(\net\authorize\api\contract\v1\NameAndAddressType $shipTo) |
1023
|
|
|
{ |
1024
|
|
|
$this->shipTo = $shipTo;
|
1025
|
|
|
return $this; |
1026
|
|
|
} |
1027
|
|
|
|
1028
|
|
|
/** |
1029
|
|
|
* Gets as recurringBilling |
1030
|
|
|
* |
1031
|
|
|
* @return boolean |
1032
|
|
|
*/ |
1033
|
|
|
public function getRecurringBilling() |
1034
|
|
|
{ |
1035
|
|
|
return $this->recurringBilling; |
1036
|
|
|
} |
1037
|
|
|
|
1038
|
|
|
/** |
1039
|
|
|
* Sets a new recurringBilling |
1040
|
|
|
* |
1041
|
|
|
* @param boolean $recurringBilling |
1042
|
|
|
* @return self |
1043
|
|
|
*/ |
1044
|
|
|
public function setRecurringBilling($recurringBilling) |
1045
|
|
|
{ |
1046
|
|
|
$this->recurringBilling = $recurringBilling;
|
1047
|
|
|
return $this; |
1048
|
|
|
} |
1049
|
|
|
|
1050
|
|
|
/** |
1051
|
|
|
* Gets as customerIP |
1052
|
|
|
* |
1053
|
|
|
* @return string |
1054
|
|
|
*/ |
1055
|
|
|
public function getCustomerIP() |
1056
|
|
|
{ |
1057
|
|
|
return $this->customerIP; |
1058
|
|
|
} |
1059
|
|
|
|
1060
|
|
|
/** |
1061
|
|
|
* Sets a new customerIP |
1062
|
|
|
* |
1063
|
|
|
* @param string $customerIP |
1064
|
|
|
* @return self |
1065
|
|
|
*/ |
1066
|
|
|
public function setCustomerIP($customerIP) |
1067
|
|
|
{ |
1068
|
|
|
$this->customerIP = $customerIP;
|
1069
|
|
|
return $this; |
1070
|
|
|
} |
1071
|
|
|
|
1072
|
|
|
/** |
1073
|
|
|
* Gets as product |
1074
|
|
|
* |
1075
|
|
|
* @return string |
1076
|
|
|
*/ |
1077
|
|
|
public function getProduct() |
1078
|
|
|
{ |
1079
|
|
|
return $this->product; |
1080
|
|
|
} |
1081
|
|
|
|
1082
|
|
|
/** |
1083
|
|
|
* Sets a new product |
1084
|
|
|
* |
1085
|
|
|
* @param string $product |
1086
|
|
|
* @return self |
1087
|
|
|
*/ |
1088
|
|
|
public function setProduct($product) |
1089
|
|
|
{ |
1090
|
|
|
$this->product = $product;
|
1091
|
|
|
return $this; |
1092
|
|
|
} |
1093
|
|
|
|
1094
|
|
|
/** |
1095
|
|
|
* Gets as entryMode |
1096
|
|
|
* |
1097
|
|
|
* @return string |
1098
|
|
|
*/ |
1099
|
|
|
public function getEntryMode() |
1100
|
|
|
{ |
1101
|
|
|
return $this->entryMode; |
1102
|
|
|
} |
1103
|
|
|
|
1104
|
|
|
/** |
1105
|
|
|
* Sets a new entryMode |
1106
|
|
|
* |
1107
|
|
|
* @param string $entryMode |
1108
|
|
|
* @return self |
1109
|
|
|
*/ |
1110
|
|
|
public function setEntryMode($entryMode) |
1111
|
|
|
{ |
1112
|
|
|
$this->entryMode = $entryMode;
|
1113
|
|
|
return $this; |
1114
|
|
|
} |
1115
|
|
|
|
1116
|
|
|
/** |
1117
|
|
|
* Gets as marketType |
1118
|
|
|
* |
1119
|
|
|
* @return string |
1120
|
|
|
*/ |
1121
|
|
|
public function getMarketType() |
1122
|
|
|
{ |
1123
|
|
|
return $this->marketType; |
1124
|
|
|
} |
1125
|
|
|
|
1126
|
|
|
/** |
1127
|
|
|
* Sets a new marketType |
1128
|
|
|
* |
1129
|
|
|
* @param string $marketType |
1130
|
|
|
* @return self |
1131
|
|
|
*/ |
1132
|
|
|
public function setMarketType($marketType) |
1133
|
|
|
{ |
1134
|
|
|
$this->marketType = $marketType;
|
1135
|
|
|
return $this; |
1136
|
|
|
} |
1137
|
|
|
|
1138
|
|
|
/** |
1139
|
|
|
* Gets as mobileDeviceId |
1140
|
|
|
* |
1141
|
|
|
* @return string |
1142
|
|
|
*/ |
1143
|
|
|
public function getMobileDeviceId() |
1144
|
|
|
{ |
1145
|
|
|
return $this->mobileDeviceId; |
1146
|
|
|
} |
1147
|
|
|
|
1148
|
|
|
/** |
1149
|
|
|
* Sets a new mobileDeviceId |
1150
|
|
|
* |
1151
|
|
|
* @param string $mobileDeviceId |
1152
|
|
|
* @return self |
1153
|
|
|
*/ |
1154
|
|
|
public function setMobileDeviceId($mobileDeviceId) |
1155
|
|
|
{ |
1156
|
|
|
$this->mobileDeviceId = $mobileDeviceId;
|
1157
|
|
|
return $this; |
1158
|
|
|
} |
1159
|
|
|
|
1160
|
|
|
/** |
1161
|
|
|
* Gets as customerSignature |
1162
|
|
|
* |
1163
|
|
|
* @return string |
1164
|
|
|
*/ |
1165
|
|
|
public function getCustomerSignature() |
1166
|
|
|
{ |
1167
|
|
|
return $this->customerSignature; |
1168
|
|
|
} |
1169
|
|
|
|
1170
|
|
|
/** |
1171
|
|
|
* Sets a new customerSignature |
1172
|
|
|
* |
1173
|
|
|
* @param string $customerSignature |
1174
|
|
|
* @return self |
1175
|
|
|
*/ |
1176
|
|
|
public function setCustomerSignature($customerSignature) |
1177
|
|
|
{ |
1178
|
|
|
$this->customerSignature = $customerSignature;
|
1179
|
|
|
return $this; |
1180
|
|
|
} |
1181
|
|
|
|
1182
|
|
|
/** |
1183
|
|
|
* Adds as returnedItem |
1184
|
|
|
* |
1185
|
|
|
* @return self |
1186
|
|
|
* @param \net\authorize\api\contract\v1\ReturnedItemType $returnedItem |
1187
|
|
|
*/ |
1188
|
|
|
public function addToReturnedItems(\net\authorize\api\contract\v1\ReturnedItemType $returnedItem) |
1189
|
|
|
{ |
1190
|
|
|
$this->returnedItems[] = $returnedItem;
|
1191
|
|
|
return $this; |
1192
|
|
|
} |
1193
|
|
|
|
1194
|
|
|
/** |
1195
|
|
|
* isset returnedItems |
1196
|
|
|
* |
1197
|
|
|
* @param scalar $index |
1198
|
|
|
* @return boolean |
1199
|
|
|
*/ |
1200
|
|
|
public function issetReturnedItems($index) |
1201
|
|
|
{ |
1202
|
|
|
return isset($this->returnedItems[$index]); |
1203
|
|
|
} |
1204
|
|
|
|
1205
|
|
|
/** |
1206
|
|
|
* unset returnedItems |
1207
|
|
|
* |
1208
|
|
|
* @param scalar $index |
1209
|
|
|
* @return void |
1210
|
|
|
*/ |
1211
|
|
|
public function unsetReturnedItems($index) |
1212
|
|
|
{ |
1213
|
|
|
unset($this->returnedItems[$index]); |
1214
|
|
|
} |
1215
|
|
|
|
1216
|
|
|
/** |
1217
|
|
|
* Gets as returnedItems |
1218
|
|
|
* |
1219
|
|
|
* @return \net\authorize\api\contract\v1\ReturnedItemType[] |
1220
|
|
|
*/ |
1221
|
|
|
public function getReturnedItems() |
1222
|
|
|
{ |
1223
|
|
|
return $this->returnedItems; |
1224
|
|
|
} |
1225
|
|
|
|
1226
|
|
|
/** |
1227
|
|
|
* Sets a new returnedItems |
1228
|
|
|
* |
1229
|
|
|
* @param \net\authorize\api\contract\v1\ReturnedItemType[] $returnedItems |
1230
|
|
|
* @return self |
1231
|
|
|
*/ |
1232
|
|
|
public function setReturnedItems(array $returnedItems) |
1233
|
|
|
{ |
1234
|
|
|
$this->returnedItems = $returnedItems;
|
1235
|
|
|
return $this; |
1236
|
|
|
} |
1237
|
|
|
|
1238
|
|
|
/** |
1239
|
|
|
* Gets as solution |
1240
|
|
|
* |
1241
|
|
|
* @return \net\authorize\api\contract\v1\SolutionType |
1242
|
|
|
*/ |
1243
|
|
|
public function getSolution() |
1244
|
|
|
{ |
1245
|
|
|
return $this->solution; |
1246
|
|
|
} |
1247
|
|
|
|
1248
|
|
|
/** |
1249
|
|
|
* Sets a new solution |
1250
|
|
|
* |
1251
|
|
|
* @param \net\authorize\api\contract\v1\SolutionType $solution |
1252
|
|
|
* @return self |
1253
|
|
|
*/ |
1254
|
|
|
public function setSolution(\net\authorize\api\contract\v1\SolutionType $solution) |
1255
|
|
|
{ |
1256
|
|
|
$this->solution = $solution;
|
1257
|
|
|
return $this; |
1258
|
|
|
} |
1259
|
|
|
|
1260
|
|
|
/** |
1261
|
|
|
* Adds as tag |
1262
|
|
|
* |
1263
|
|
|
* @return self |
1264
|
|
|
* @param |
1265
|
|
|
* \net\authorize\api\contract\v1\TransactionDetailsType\EmvDetailsAType\TagAType |
1266
|
|
|
* $tag |
1267
|
|
|
*/ |
1268
|
|
|
public function addToEmvDetails(\net\authorize\api\contract\v1\TransactionDetailsType\EmvDetailsAType\TagAType $tag) |
1269
|
|
|
{ |
1270
|
|
|
$this->emvDetails[] = $tag;
|
1271
|
|
|
return $this; |
1272
|
|
|
} |
1273
|
|
|
|
1274
|
|
|
/** |
1275
|
|
|
* isset emvDetails |
1276
|
|
|
* |
1277
|
|
|
* @param scalar $index |
1278
|
|
|
* @return boolean |
1279
|
|
|
*/ |
1280
|
|
|
public function issetEmvDetails($index) |
1281
|
|
|
{ |
1282
|
|
|
return isset($this->emvDetails[$index]); |
1283
|
|
|
} |
1284
|
|
|
|
1285
|
|
|
/** |
1286
|
|
|
* unset emvDetails |
1287
|
|
|
* |
1288
|
|
|
* @param scalar $index |
1289
|
|
|
* @return void |
1290
|
|
|
*/ |
1291
|
|
|
public function unsetEmvDetails($index) |
1292
|
|
|
{ |
1293
|
|
|
unset($this->emvDetails[$index]); |
1294
|
|
|
} |
1295
|
|
|
|
1296
|
|
|
/** |
1297
|
|
|
* Gets as emvDetails |
1298
|
|
|
* |
1299
|
|
|
* @return |
1300
|
|
|
* \net\authorize\api\contract\v1\TransactionDetailsType\EmvDetailsAType\TagAType[] |
1301
|
|
|
*/ |
1302
|
|
|
public function getEmvDetails() |
1303
|
|
|
{ |
1304
|
|
|
return $this->emvDetails; |
1305
|
|
|
} |
1306
|
|
|
|
1307
|
|
|
/** |
1308
|
|
|
* Sets a new emvDetails |
1309
|
|
|
* |
1310
|
|
|
* @param |
1311
|
|
|
* \net\authorize\api\contract\v1\TransactionDetailsType\EmvDetailsAType\TagAType[] |
1312
|
|
|
* $emvDetails |
1313
|
|
|
* @return self |
1314
|
|
|
*/ |
1315
|
|
|
public function setEmvDetails(array $emvDetails) |
1316
|
|
|
{ |
1317
|
|
|
$this->emvDetails = $emvDetails;
|
1318
|
|
|
return $this; |
1319
|
|
|
} |
1320
|
|
|
|
1321
|
|
|
/** |
1322
|
|
|
* Gets as profile |
1323
|
|
|
* |
1324
|
|
|
* @return \net\authorize\api\contract\v1\CustomerProfileIdType |
1325
|
|
|
*/ |
1326
|
|
|
public function getProfile() |
1327
|
|
|
{ |
1328
|
|
|
return $this->profile; |
1329
|
|
|
} |
1330
|
|
|
|
1331
|
|
|
/** |
1332
|
|
|
* Sets a new profile |
1333
|
|
|
* |
1334
|
|
|
* @param \net\authorize\api\contract\v1\CustomerProfileIdType $profile |
1335
|
|
|
* @return self |
1336
|
|
|
*/ |
1337
|
|
|
public function setProfile(\net\authorize\api\contract\v1\CustomerProfileIdType $profile) |
1338
|
|
|
{ |
1339
|
|
|
$this->profile = $profile;
|
1340
|
|
|
return $this; |
1341
|
|
|
} |
1342
|
|
|
|
1343
|
|
|
/** |
1344
|
|
|
* Gets as surcharge |
1345
|
|
|
* |
1346
|
|
|
* @return \net\authorize\api\contract\v1\ExtendedAmountType |
1347
|
|
|
*/ |
1348
|
|
|
public function getSurcharge() |
1349
|
|
|
{ |
1350
|
|
|
return $this->surcharge; |
1351
|
|
|
} |
1352
|
|
|
|
1353
|
|
|
/** |
1354
|
|
|
* Sets a new surcharge |
1355
|
|
|
* |
1356
|
|
|
* @param \net\authorize\api\contract\v1\ExtendedAmountType $surcharge |
1357
|
|
|
* @return self |
1358
|
|
|
*/ |
1359
|
|
|
public function setSurcharge(\net\authorize\api\contract\v1\ExtendedAmountType $surcharge) |
1360
|
|
|
{ |
1361
|
|
|
$this->surcharge = $surcharge;
|
1362
|
|
|
return $this; |
1363
|
|
|
} |
1364
|
|
|
|
1365
|
|
|
/** |
1366
|
|
|
* Gets as employeeId |
1367
|
|
|
* |
1368
|
|
|
* @return string |
1369
|
|
|
*/ |
1370
|
|
|
public function getEmployeeId() |
1371
|
|
|
{ |
1372
|
|
|
return $this->employeeId; |
1373
|
|
|
} |
1374
|
|
|
|
1375
|
|
|
/** |
1376
|
|
|
* Sets a new employeeId |
1377
|
|
|
* |
1378
|
|
|
* @param string $employeeId |
1379
|
|
|
* @return self |
1380
|
|
|
*/ |
1381
|
|
|
public function setEmployeeId($employeeId) |
1382
|
|
|
{ |
1383
|
|
|
$this->employeeId = $employeeId;
|
1384
|
|
|
return $this; |
1385
|
|
|
} |
1386
|
|
|
|
1387
|
|
|
/** |
1388
|
|
|
* Gets as tip |
1389
|
|
|
* |
1390
|
|
|
* @return \net\authorize\api\contract\v1\ExtendedAmountType |
1391
|
|
|
*/ |
1392
|
|
|
public function getTip() |
1393
|
|
|
{ |
1394
|
|
|
return $this->tip; |
1395
|
|
|
} |
1396
|
|
|
|
1397
|
|
|
/** |
1398
|
|
|
* Sets a new tip |
1399
|
|
|
* |
1400
|
|
|
* @param \net\authorize\api\contract\v1\ExtendedAmountType $tip |
1401
|
|
|
* @return self |
1402
|
|
|
*/ |
1403
|
|
|
public function setTip(\net\authorize\api\contract\v1\ExtendedAmountType $tip) |
1404
|
|
|
{ |
1405
|
|
|
$this->tip = $tip;
|
1406
|
|
|
return $this; |
1407
|
|
|
} |
1408
|
|
|
|
1409
|
|
|
/** |
1410
|
|
|
* Gets as otherTax |
1411
|
|
|
* |
1412
|
|
|
* @return \net\authorize\api\contract\v1\OtherTaxType |
1413
|
|
|
*/ |
1414
|
|
|
public function getOtherTax() |
1415
|
|
|
{ |
1416
|
|
|
return $this->otherTax; |
1417
|
|
|
} |
1418
|
|
|
|
1419
|
|
|
/** |
1420
|
|
|
* Sets a new otherTax |
1421
|
|
|
* |
1422
|
|
|
* @param \net\authorize\api\contract\v1\OtherTaxType $otherTax |
1423
|
|
|
* @return self |
1424
|
|
|
*/ |
1425
|
|
|
public function setOtherTax(\net\authorize\api\contract\v1\OtherTaxType $otherTax) |
1426
|
|
|
{ |
1427
|
|
|
$this->otherTax = $otherTax;
|
1428
|
|
|
return $this; |
1429
|
|
|
} |
1430
|
|
|
|
1431
|
|
|
/** |
1432
|
|
|
* Gets as shipFrom |
1433
|
|
|
* |
1434
|
|
|
* @return \net\authorize\api\contract\v1\NameAndAddressType |
1435
|
|
|
*/ |
1436
|
|
|
public function getShipFrom() |
1437
|
|
|
{ |
1438
|
|
|
return $this->shipFrom; |
1439
|
|
|
} |
1440
|
|
|
|
1441
|
|
|
/** |
1442
|
|
|
* Sets a new shipFrom |
1443
|
|
|
* |
1444
|
|
|
* @param \net\authorize\api\contract\v1\NameAndAddressType $shipFrom |
1445
|
|
|
* @return self |
1446
|
|
|
*/ |
1447
|
|
|
public function setShipFrom(\net\authorize\api\contract\v1\NameAndAddressType $shipFrom) |
1448
|
|
|
{ |
1449
|
|
|
$this->shipFrom = $shipFrom;
|
1450
|
|
|
return $this; |
1451
|
|
|
} |
1452
|
|
|
|
1453
|
|
|
|
1454
|
|
|
} |
1455
|
|
|
|
1456
|
|
|
|