1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
declare(strict_types=1); |
4
|
|
|
|
5
|
|
|
namespace Ticketpark\SaferpayJson\Request\Container; |
6
|
|
|
|
7
|
|
|
use JMS\Serializer\Annotation\SerializedName; |
8
|
|
|
use JMS\Serializer\Annotation\Type; |
9
|
|
|
use Ticketpark\SaferpayJson\Request\Container\BankAccount; |
10
|
|
|
use Ticketpark\SaferpayJson\Request\Container\Brand; |
11
|
|
|
use Ticketpark\SaferpayJson\Request\Container\Card; |
12
|
|
|
|
13
|
|
|
final class PaymentMeans |
14
|
|
|
{ |
15
|
|
|
/** |
16
|
|
|
* @var Brand|null |
17
|
|
|
* @SerializedName("Brand") |
18
|
|
|
* @Type("Ticketpark\SaferpayJson\Request\Container\Brand") |
19
|
|
|
*/ |
20
|
|
|
private $brand; |
21
|
|
|
|
22
|
|
|
/** |
23
|
|
|
* @var string|null |
24
|
|
|
* @SerializedName("DisplayText") |
25
|
|
|
*/ |
26
|
|
|
private $displayText; |
27
|
|
|
|
28
|
|
|
/** |
29
|
|
|
* @var string|null |
30
|
|
|
* @SerializedName("Wallet") |
31
|
|
|
*/ |
32
|
|
|
private $wallet; |
33
|
|
|
|
34
|
|
|
/** |
35
|
|
|
* @var Card|null |
36
|
|
|
* @SerializedName("Card") |
37
|
|
|
* @Type("Ticketpark\SaferpayJson\Request\Container\Card") |
38
|
|
|
*/ |
39
|
|
|
private $card; |
40
|
|
|
|
41
|
|
|
/** |
42
|
|
|
* @var BankAccount|null |
43
|
|
|
* @SerializedName("BankAccount") |
44
|
|
|
* @Type("Ticketpark\SaferpayJson\Request\Container\BankAccount") |
45
|
|
|
*/ |
46
|
|
|
private $bankAccount; |
47
|
|
|
|
48
|
|
|
/** |
49
|
|
|
* @var Twint|null |
50
|
|
|
* @SerializedName("Twint") |
51
|
|
|
* @Type("Ticketpark\SaferpayJson\Request\Container\Twint") |
52
|
|
|
*/ |
53
|
|
|
private $twint; |
54
|
|
|
|
55
|
|
|
/** |
56
|
|
|
* @var SaferpayFields|null |
57
|
|
|
* @SerializedName("SaferpayFields") |
58
|
|
|
* @Type("Ticketpark\SaferpayJson\Request\Container\SaferpayFields") |
59
|
|
|
*/ |
60
|
|
|
private $saferpayFields; |
61
|
|
|
|
62
|
|
|
/** |
63
|
|
|
* @var Alias|null |
64
|
|
|
* @SerializedName("Alias") |
65
|
|
|
* @Type("Ticketpark\SaferpayJson\Request\Container\Alias") |
66
|
|
|
*/ |
67
|
|
|
private $alias; |
68
|
|
|
|
69
|
|
|
public function getBrand(): ?Brand |
70
|
|
|
{ |
71
|
|
|
return $this->brand; |
72
|
|
|
} |
73
|
|
|
|
74
|
|
|
public function setBrand(?Brand $brand): self |
75
|
|
|
{ |
76
|
|
|
$this->brand = $brand; |
77
|
|
|
|
78
|
|
|
return $this; |
79
|
|
|
} |
80
|
|
|
|
81
|
|
|
public function getDisplayText(): ?string |
82
|
|
|
{ |
83
|
|
|
return $this->displayText; |
84
|
|
|
} |
85
|
|
|
|
86
|
|
|
public function setDisplayText(?string $displayText): self |
87
|
|
|
{ |
88
|
|
|
$this->displayText = $displayText; |
89
|
|
|
|
90
|
|
|
return $this; |
91
|
|
|
} |
92
|
|
|
|
93
|
|
|
public function getWallet(): ?string |
94
|
|
|
{ |
95
|
|
|
return $this->wallet; |
96
|
|
|
} |
97
|
|
|
|
98
|
|
|
public function setWallet(?string $wallet): self |
99
|
|
|
{ |
100
|
|
|
$this->wallet = $wallet; |
101
|
|
|
|
102
|
|
|
return $this; |
103
|
|
|
} |
104
|
|
|
|
105
|
|
|
public function getCard(): ?Card |
106
|
|
|
{ |
107
|
|
|
return $this->card; |
108
|
|
|
} |
109
|
|
|
|
110
|
|
|
public function setCard(?Card $card): self |
111
|
|
|
{ |
112
|
|
|
$this->card = $card; |
113
|
|
|
|
114
|
|
|
return $this; |
115
|
|
|
} |
116
|
|
|
|
117
|
|
|
public function getBankAccount(): ?BankAccount |
118
|
|
|
{ |
119
|
|
|
return $this->bankAccount; |
120
|
|
|
} |
121
|
|
|
|
122
|
|
|
public function setBankAccount(?BankAccount $bankAccount): self |
123
|
|
|
{ |
124
|
|
|
$this->bankAccount = $bankAccount; |
125
|
|
|
|
126
|
|
|
return $this; |
127
|
|
|
} |
128
|
|
|
|
129
|
|
|
public function getTwint(): ?Twint |
130
|
|
|
{ |
131
|
|
|
return $this->twint; |
132
|
|
|
} |
133
|
|
|
|
134
|
|
|
public function setTwint(?Twint $twint): self |
135
|
|
|
{ |
136
|
|
|
$this->twint = $twint; |
137
|
|
|
|
138
|
|
|
return $this; |
139
|
|
|
} |
140
|
|
|
|
141
|
|
|
public function getSaferpayFields(): ?SaferpayFields |
142
|
|
|
{ |
143
|
|
|
return $this->saferpayFields; |
144
|
|
|
} |
145
|
|
|
|
146
|
|
|
public function setSaferpayFields(?SaferpayFields $saferpayFields): self |
147
|
|
|
{ |
148
|
|
|
$this->saferpayFields = $saferpayFields; |
149
|
|
|
|
150
|
|
|
return $this; |
151
|
|
|
} |
152
|
|
|
|
153
|
|
|
public function getAlias(): ?Alias |
154
|
|
|
{ |
155
|
|
|
return $this->alias; |
156
|
|
|
} |
157
|
|
|
|
158
|
|
|
public function setAlias(?Alias $alias): self |
159
|
|
|
{ |
160
|
|
|
$this->alias = $alias; |
161
|
|
|
|
162
|
|
|
return $this; |
163
|
|
|
} |
164
|
|
|
} |
165
|
|
|
|