1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
declare(strict_types=1); |
4
|
|
|
|
5
|
|
|
namespace Ticketpark\SaferpayJson\Response\PaymentPage; |
6
|
|
|
|
7
|
|
|
use JMS\Serializer\Annotation\SerializedName; |
8
|
|
|
use JMS\Serializer\Annotation\Type; |
9
|
|
|
use Ticketpark\SaferpayJson\Response\Container\Dcc; |
10
|
|
|
use Ticketpark\SaferpayJson\Response\Container\FraudPrevention; |
11
|
|
|
use Ticketpark\SaferpayJson\Response\Container\Liability; |
12
|
|
|
use Ticketpark\SaferpayJson\Response\Container\MastercardIssuerInstallments; |
13
|
|
|
use Ticketpark\SaferpayJson\Response\Container\Payer; |
14
|
|
|
use Ticketpark\SaferpayJson\Response\Container\PaymentMeans; |
15
|
|
|
use Ticketpark\SaferpayJson\Response\Container\RegistrationResult; |
16
|
|
|
use Ticketpark\SaferpayJson\Response\Container\Transaction; |
17
|
|
|
use Ticketpark\SaferpayJson\Response\Response; |
18
|
|
|
|
19
|
|
|
final class AssertResponse extends Response |
20
|
|
|
{ |
21
|
|
|
/** |
22
|
|
|
* @var Transaction|null |
23
|
|
|
* @SerializedName("Transaction") |
24
|
|
|
* @Type("Ticketpark\SaferpayJson\Response\Container\Transaction") |
25
|
|
|
*/ |
26
|
|
|
private $transaction; |
27
|
|
|
|
28
|
|
|
/** |
29
|
|
|
* @var PaymentMeans|null |
30
|
|
|
* @SerializedName("PaymentMeans") |
31
|
|
|
* @Type("Ticketpark\SaferpayJson\Response\Container\PaymentMeans") |
32
|
|
|
*/ |
33
|
|
|
private $paymentMeans; |
34
|
|
|
|
35
|
|
|
/** |
36
|
|
|
* @var Payer|null |
37
|
|
|
* @SerializedName("Payer") |
38
|
|
|
* @Type("Ticketpark\SaferpayJson\Response\Container\Payer") |
39
|
|
|
*/ |
40
|
|
|
private $payer; |
41
|
|
|
|
42
|
|
|
/** |
43
|
|
|
* @var RegistrationResult|null |
44
|
|
|
* @SerializedName("RegistrationResult") |
45
|
|
|
* @Type("Ticketpark\SaferpayJson\Response\Container\RegistrationResult") |
46
|
|
|
*/ |
47
|
|
|
private $registrationResult; |
48
|
|
|
|
49
|
|
|
/** |
50
|
|
|
* @var Liability|null |
51
|
|
|
* @SerializedName("Liability") |
52
|
|
|
* @Type("Ticketpark\SaferpayJson\Response\Container\Liability") |
53
|
|
|
*/ |
54
|
|
|
private $liability; |
55
|
|
|
|
56
|
|
|
/** |
57
|
|
|
* @var Dcc|null |
58
|
|
|
* @SerializedName("Dcc") |
59
|
|
|
* @Type("Ticketpark\SaferpayJson\Response\Container\Dcc") |
60
|
|
|
*/ |
61
|
|
|
private $dcc; |
62
|
|
|
|
63
|
|
|
/** |
64
|
|
|
* @var MastercardIssuerInstallments|null |
65
|
|
|
* @SerializedName("MastercardIssuerInstallments") |
66
|
|
|
* @Type("Ticketpark\SaferpayJson\Response\Container\MastercardIssuerInstallments") |
67
|
|
|
*/ |
68
|
|
|
private $mastercardIssuerInstallments; |
69
|
|
|
|
70
|
|
|
|
71
|
|
|
/** |
72
|
|
|
* @var FraudPrevention|null |
73
|
|
|
* @SerializedName("FraudPrevention") |
74
|
|
|
* @Type("Ticketpark\SaferpayJson\Response\Container\FraudPrevention") |
75
|
|
|
*/ |
76
|
|
|
private $fraudPrevention; |
77
|
|
|
|
78
|
|
|
public function getTransaction(): ?Transaction |
79
|
|
|
{ |
80
|
|
|
return $this->transaction; |
81
|
|
|
} |
82
|
|
|
|
83
|
|
|
public function getPaymentMeans(): ?PaymentMeans |
84
|
|
|
{ |
85
|
|
|
return $this->paymentMeans; |
86
|
|
|
} |
87
|
|
|
|
88
|
|
|
public function getPayer(): ?Payer |
89
|
|
|
{ |
90
|
|
|
return $this->payer; |
91
|
|
|
} |
92
|
|
|
|
93
|
|
|
public function getRegistrationResult(): ?RegistrationResult |
94
|
|
|
{ |
95
|
|
|
return $this->registrationResult; |
96
|
|
|
} |
97
|
|
|
|
98
|
|
|
public function getLiability(): ?Liability |
99
|
|
|
{ |
100
|
|
|
return $this->liability; |
101
|
|
|
} |
102
|
|
|
|
103
|
|
|
public function getDcc(): ?Dcc |
104
|
|
|
{ |
105
|
|
|
return $this->dcc; |
106
|
|
|
} |
107
|
|
|
|
108
|
|
|
public function getMastercardIssuerInstallments(): ?MastercardIssuerInstallments |
109
|
|
|
{ |
110
|
|
|
return $this->mastercardIssuerInstallments; |
111
|
|
|
} |
112
|
|
|
|
113
|
|
|
public function getFraudPrevention(): ?FraudPrevention |
114
|
|
|
{ |
115
|
|
|
return $this->fraudPrevention; |
116
|
|
|
} |
117
|
|
|
} |
118
|
|
|
|