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