forked from nemiah/phpFinTS
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSEPAAccount.php
More file actions
97 lines (79 loc) · 1.7 KB
/
SEPAAccount.php
File metadata and controls
97 lines (79 loc) · 1.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<?php
namespace Fhp\Model;
/**
* Note: This account information is obtained from the HISPA response to a HKSPA request.
*/
class SEPAAccount
{
// All fields are nullable, but the overall SEPAAccount is only valid if at least {IBAN,BIC} or {accountNumber,blz} are present.
/** @var string|null */
protected $iban;
/** @var string|null */
protected $bic;
/** @var string|null */
protected $accountNumber;
/** @var string|null */
protected $subAccount;
/** @var string|null */
protected $blz;
public function getIban(): ?string
{
return $this->iban;
}
/**
* @return $this
*/
public function setIban(?string $iban)
{
$this->iban = $iban;
return $this;
}
public function getBic(): ?string
{
return $this->bic;
}
/**
* @return $this
*/
public function setBic(?string $bic)
{
$this->bic = $bic;
return $this;
}
public function getAccountNumber(): ?string
{
return $this->accountNumber;
}
/**
* @return $this
*/
public function setAccountNumber(?string $accountNumber)
{
$this->accountNumber = $accountNumber;
return $this;
}
public function getSubAccount(): ?string
{
return $this->subAccount;
}
/**
* @return $this
*/
public function setSubAccount(?string $subAccount)
{
$this->subAccount = $subAccount;
return $this;
}
public function getBlz(): ?string
{
return $this->blz;
}
/**
* @return $this
*/
public function setBlz(?string $blz)
{
$this->blz = $blz;
return $this;
}
}