|
1
|
|
|
<?php |
|
2
|
|
|
|
|
3
|
|
|
declare(strict_types=1); |
|
4
|
|
|
|
|
5
|
|
|
namespace Genkgo\Camt\DTO; |
|
6
|
|
|
|
|
7
|
|
|
class Reference |
|
8
|
|
|
{ |
|
9
|
|
|
private ?string $messageId = null; |
|
10
|
|
|
|
|
11
|
|
|
private ?string $accountServicerReference = null; |
|
12
|
|
|
|
|
13
|
|
|
private ?string $paymentInformationId = null; |
|
14
|
|
|
|
|
15
|
|
|
private ?string $instructionId = null; |
|
16
|
|
|
|
|
17
|
|
|
private ?string $endToEndId = null; |
|
18
|
|
|
|
|
19
|
|
|
private ?string $uuidEndToEndReference = null; |
|
20
|
|
|
|
|
21
|
|
|
private ?string $transactionId = null; |
|
22
|
|
|
|
|
23
|
|
|
private ?string $mandateId = null; |
|
24
|
|
|
|
|
25
|
|
|
private ?string $chequeNumber = null; |
|
26
|
|
|
|
|
27
|
|
|
private ?string $clearingSystemReference = null; |
|
28
|
|
|
|
|
29
|
|
|
private ?string $accountOwnerTransactionId = null; |
|
30
|
|
|
|
|
31
|
|
|
private ?string $accountServicerTransactionId = null; |
|
32
|
|
|
|
|
33
|
|
|
private ?string $marketInfrastructureTransactionId = null; |
|
34
|
|
|
|
|
35
|
|
|
private ?string $processingId = null; |
|
36
|
|
|
|
|
37
|
|
|
/** |
|
38
|
|
|
* @var ProprietaryReference[] |
|
39
|
|
|
*/ |
|
40
|
|
|
private array $proprietaries = []; |
|
41
|
|
|
|
|
42
|
|
|
public function getMessageId(): ?string |
|
43
|
|
|
{ |
|
44
|
|
|
return $this->messageId; |
|
45
|
|
|
} |
|
46
|
|
|
|
|
47
|
|
|
public function setMessageId(?string $messageId): self |
|
48
|
|
|
{ |
|
49
|
|
|
$this->messageId = $messageId; |
|
50
|
|
|
|
|
51
|
|
|
return $this; |
|
52
|
|
|
} |
|
53
|
|
|
|
|
54
|
|
|
public function getAccountServicerReference(): ?string |
|
55
|
|
|
{ |
|
56
|
|
|
return $this->accountServicerReference; |
|
57
|
|
|
} |
|
58
|
|
|
|
|
59
|
|
|
public function setAccountServicerReference(?string $accountServicerReference): self |
|
60
|
|
|
{ |
|
61
|
|
|
$this->accountServicerReference = $accountServicerReference; |
|
62
|
|
|
|
|
63
|
|
|
return $this; |
|
64
|
|
|
} |
|
65
|
|
|
|
|
66
|
|
|
public function getPaymentInformationId(): ?string |
|
67
|
|
|
{ |
|
68
|
|
|
return $this->paymentInformationId; |
|
69
|
|
|
} |
|
70
|
|
|
|
|
71
|
|
|
public function setPaymentInformationId(?string $paymentInformationId): self |
|
72
|
|
|
{ |
|
73
|
|
|
$this->paymentInformationId = $paymentInformationId; |
|
74
|
|
|
|
|
75
|
|
|
return $this; |
|
76
|
|
|
} |
|
77
|
|
|
|
|
78
|
|
|
public function getInstructionId(): ?string |
|
79
|
|
|
{ |
|
80
|
|
|
return $this->instructionId; |
|
81
|
|
|
} |
|
82
|
|
|
|
|
83
|
|
|
public function setInstructionId(?string $instructionId): self |
|
84
|
19 |
|
{ |
|
85
|
|
|
$this->instructionId = $instructionId; |
|
86
|
19 |
|
|
|
87
|
|
|
return $this; |
|
88
|
19 |
|
} |
|
89
|
|
|
|
|
90
|
|
|
public function getEndToEndId(): ?string |
|
91
|
|
|
{ |
|
92
|
|
|
return $this->endToEndId; |
|
93
|
|
|
} |
|
94
|
|
|
|
|
95
|
|
|
public function setEndToEndId(?string $endToEndId): self |
|
96
|
19 |
|
{ |
|
97
|
|
|
$this->endToEndId = $endToEndId; |
|
98
|
19 |
|
|
|
99
|
|
|
return $this; |
|
100
|
19 |
|
} |
|
101
|
|
|
|
|
102
|
|
|
/** |
|
103
|
|
|
* Universally unique identifier to provide an end-to-end reference of a payment transaction. |
|
104
|
|
|
*/ |
|
105
|
|
|
public function getUuidEndToEndReference(): ?string |
|
106
|
|
|
{ |
|
107
|
|
|
return $this->uuidEndToEndReference; |
|
108
|
19 |
|
} |
|
109
|
|
|
|
|
110
|
19 |
|
public function setUuidEndToEndReference(?string $uuidEndToEndReference): void |
|
111
|
|
|
{ |
|
112
|
19 |
|
$this->uuidEndToEndReference = $uuidEndToEndReference; |
|
113
|
|
|
} |
|
114
|
|
|
|
|
115
|
|
|
public function getTransactionId(): ?string |
|
116
|
|
|
{ |
|
117
|
|
|
return $this->transactionId; |
|
118
|
|
|
} |
|
119
|
|
|
|
|
120
|
19 |
|
public function setTransactionId(?string $transactionId): self |
|
121
|
|
|
{ |
|
122
|
19 |
|
$this->transactionId = $transactionId; |
|
123
|
|
|
|
|
124
|
19 |
|
return $this; |
|
125
|
|
|
} |
|
126
|
|
|
|
|
127
|
1 |
|
public function getMandateId(): ?string |
|
128
|
|
|
{ |
|
129
|
1 |
|
return $this->mandateId; |
|
130
|
|
|
} |
|
131
|
|
|
|
|
132
|
19 |
|
public function setMandateId(?string $mandateId): self |
|
133
|
|
|
{ |
|
134
|
19 |
|
$this->mandateId = $mandateId; |
|
135
|
|
|
|
|
136
|
19 |
|
return $this; |
|
137
|
|
|
} |
|
138
|
|
|
|
|
139
|
|
|
public function getChequeNumber(): ?string |
|
140
|
|
|
{ |
|
141
|
|
|
return $this->chequeNumber; |
|
142
|
|
|
} |
|
143
|
|
|
|
|
144
|
19 |
|
public function setChequeNumber(?string $chequeNumber): self |
|
145
|
|
|
{ |
|
146
|
19 |
|
$this->chequeNumber = $chequeNumber; |
|
147
|
|
|
|
|
148
|
19 |
|
return $this; |
|
149
|
|
|
} |
|
150
|
|
|
|
|
151
|
1 |
|
public function getClearingSystemReference(): ?string |
|
152
|
|
|
{ |
|
153
|
1 |
|
return $this->clearingSystemReference; |
|
154
|
|
|
} |
|
155
|
|
|
|
|
156
|
19 |
|
public function setClearingSystemReference(?string $clearingSystemReference): self |
|
157
|
|
|
{ |
|
158
|
19 |
|
$this->clearingSystemReference = $clearingSystemReference; |
|
159
|
|
|
|
|
160
|
19 |
|
return $this; |
|
161
|
|
|
} |
|
162
|
|
|
|
|
163
|
|
|
public function getAccountOwnerTransactionId(): ?string |
|
164
|
|
|
{ |
|
165
|
|
|
return $this->accountOwnerTransactionId; |
|
166
|
|
|
} |
|
167
|
|
|
|
|
168
|
19 |
|
public function setAccountOwnerTransactionId(?string $accountOwnerTransactionId): self |
|
169
|
|
|
{ |
|
170
|
19 |
|
$this->accountOwnerTransactionId = $accountOwnerTransactionId; |
|
171
|
|
|
|
|
172
|
19 |
|
return $this; |
|
173
|
|
|
} |
|
174
|
|
|
|
|
175
|
|
|
public function getAccountServicerTransactionId(): ?string |
|
176
|
|
|
{ |
|
177
|
|
|
return $this->accountServicerTransactionId; |
|
178
|
|
|
} |
|
179
|
|
|
|
|
180
|
19 |
|
public function setAccountServicerTransactionId(?string $accountServicerTransactionId): self |
|
181
|
|
|
{ |
|
182
|
19 |
|
$this->accountServicerTransactionId = $accountServicerTransactionId; |
|
183
|
|
|
|
|
184
|
19 |
|
return $this; |
|
185
|
|
|
} |
|
186
|
|
|
|
|
187
|
|
|
public function getMarketInfrastructureTransactionId(): ?string |
|
188
|
|
|
{ |
|
189
|
|
|
return $this->marketInfrastructureTransactionId; |
|
190
|
|
|
} |
|
191
|
|
|
|
|
192
|
19 |
|
public function setMarketInfrastructureTransactionId(?string $marketInfrastructureTransactionId): self |
|
193
|
|
|
{ |
|
194
|
19 |
|
$this->marketInfrastructureTransactionId = $marketInfrastructureTransactionId; |
|
195
|
|
|
|
|
196
|
19 |
|
return $this; |
|
197
|
|
|
} |
|
198
|
|
|
|
|
199
|
|
|
public function getProcessingId(): ?string |
|
200
|
|
|
{ |
|
201
|
|
|
return $this->processingId; |
|
202
|
|
|
} |
|
203
|
|
|
|
|
204
|
19 |
|
public function setProcessingId(?string $processingId): self |
|
205
|
|
|
{ |
|
206
|
19 |
|
$this->processingId = $processingId; |
|
207
|
|
|
|
|
208
|
19 |
|
return $this; |
|
209
|
|
|
} |
|
210
|
|
|
|
|
211
|
|
|
public function addProprietary(ProprietaryReference $proprietary): self |
|
212
|
|
|
{ |
|
213
|
|
|
$this->proprietaries[] = $proprietary; |
|
214
|
|
|
|
|
215
|
|
|
return $this; |
|
216
|
19 |
|
} |
|
217
|
|
|
|
|
218
|
19 |
|
/** |
|
219
|
|
|
* @return ProprietaryReference[] |
|
220
|
19 |
|
*/ |
|
221
|
|
|
public function getProprietaries(): array |
|
222
|
|
|
{ |
|
223
|
|
|
return $this->proprietaries; |
|
224
|
|
|
} |
|
225
|
|
|
} |
|
226
|
|
|
|