1
|
|
|
<?php declare(strict_types=1); |
2
|
|
|
|
3
|
|
|
namespace Ticketpark\SaferpayJson\Response\Transaction; |
4
|
|
|
|
5
|
|
|
use JMS\Serializer\Annotation\SerializedName; |
6
|
|
|
use JMS\Serializer\Annotation\Type; |
7
|
|
|
use Ticketpark\SaferpayJson\Response\Container\FraudPrevention; |
8
|
|
|
use Ticketpark\SaferpayJson\Response\Container\Payer; |
9
|
|
|
use Ticketpark\SaferpayJson\Response\Container\PaymentMeans; |
10
|
|
|
use Ticketpark\SaferpayJson\Response\Container\RegisterAlias; |
11
|
|
|
use Ticketpark\SaferpayJson\Response\Container\Transaction; |
12
|
|
|
use Ticketpark\SaferpayJson\Response\Response; |
13
|
|
|
|
14
|
|
|
final class AuthorizeDirectResponse extends Response |
15
|
|
|
{ |
16
|
|
|
/** |
17
|
|
|
* @var Transaction|null |
18
|
|
|
* @SerializedName("Transaction") |
19
|
|
|
* @Type("Ticketpark\SaferpayJson\Response\Container\Transaction") |
20
|
|
|
*/ |
21
|
|
|
private $transaction; |
22
|
|
|
|
23
|
|
|
/** |
24
|
|
|
* @var PaymentMeans|null |
25
|
|
|
* @SerializedName("PaymentMeans") |
26
|
|
|
* @Type("Ticketpark\SaferpayJson\Response\Container\PaymentMeans") |
27
|
|
|
*/ |
28
|
|
|
private $paymentMeans; |
29
|
|
|
|
30
|
|
|
/** |
31
|
|
|
* @var RegisterAlias|null |
32
|
|
|
* @SerializedName("RegisterAlias") |
33
|
|
|
* @Type("Ticketpark\SaferpayJson\Response\Container\RegisterAlias") |
34
|
|
|
*/ |
35
|
|
|
private $registerAlias; |
36
|
|
|
|
37
|
|
|
/** |
38
|
|
|
* @var Payer|null |
39
|
|
|
* @SerializedName("Payer") |
40
|
|
|
* @Type("Ticketpark\SaferpayJson\Response\Container\Payer") |
41
|
|
|
*/ |
42
|
|
|
private $payer; |
43
|
|
|
|
44
|
|
|
/** |
45
|
|
|
* @var FraudPrevention|null |
46
|
|
|
* @SerializedName("FraudPrevention") |
47
|
|
|
*/ |
48
|
|
|
private $fraudPrevention; |
49
|
|
|
|
50
|
|
|
public function getTransaction(): ?Transaction |
51
|
|
|
{ |
52
|
|
|
return $this->transaction; |
53
|
|
|
} |
54
|
|
|
|
55
|
|
|
public function getPaymentMeans(): ?PaymentMeans |
56
|
|
|
{ |
57
|
|
|
return $this->paymentMeans; |
58
|
|
|
} |
59
|
|
|
|
60
|
|
|
public function getRegisterAlias(): ?RegisterAlias |
61
|
|
|
{ |
62
|
|
|
return $this->registerAlias; |
63
|
|
|
} |
64
|
|
|
|
65
|
|
|
public function getPayer(): ?Payer |
66
|
|
|
{ |
67
|
|
|
return $this->payer; |
68
|
|
|
} |
69
|
|
|
|
70
|
|
|
public function getFraudPrevention(): ?FraudPrevention |
71
|
|
|
{ |
72
|
|
|
return $this->fraudPrevention; |
73
|
|
|
} |
74
|
|
|
} |
75
|
|
|
|