| Total Complexity | 9 |
| Total Lines | 76 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 8 | final class BankAccount |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var string|null |
||
| 12 | * @SerializedName("Iban") |
||
| 13 | */ |
||
| 14 | private $iban; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var string|null |
||
| 18 | * @SerializedName("HolderName") |
||
| 19 | */ |
||
| 20 | private $holderName; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var string|null |
||
| 24 | * @SerializedName("BIC") |
||
| 25 | */ |
||
| 26 | private $bic; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @var string|null |
||
| 30 | * @SerializedName("BankName") |
||
| 31 | */ |
||
| 32 | private $bankName; |
||
| 33 | |||
| 34 | public function __construct(?string $iban) |
||
| 35 | { |
||
| 36 | $this->iban = $iban; |
||
| 37 | } |
||
| 38 | |||
| 39 | public function getIban(): ?string |
||
| 40 | { |
||
| 41 | return $this->iban; |
||
| 42 | } |
||
| 43 | |||
| 44 | public function setIban(?string $iban): self |
||
| 45 | { |
||
| 46 | $this->iban = $iban; |
||
| 47 | return $this; |
||
| 48 | } |
||
| 49 | |||
| 50 | public function getHolderName(): ?string |
||
| 51 | { |
||
| 52 | return $this->holderName; |
||
| 53 | } |
||
| 54 | |||
| 55 | public function setHolderName(?string $holderName): self |
||
| 56 | { |
||
| 57 | $this->holderName = $holderName; |
||
| 58 | |||
| 59 | return $this; |
||
| 60 | } |
||
| 61 | |||
| 62 | public function getBic(): ?string |
||
| 63 | { |
||
| 64 | return $this->bic; |
||
| 65 | } |
||
| 66 | |||
| 67 | public function setBic(?string $bic): self |
||
| 68 | { |
||
| 69 | $this->bic = $bic; |
||
| 70 | |||
| 71 | return $this; |
||
| 72 | } |
||
| 73 | |||
| 74 | public function getBankName(): ?string |
||
| 77 | } |
||
| 78 | |||
| 79 | public function setBankName(?string $bankName): self |
||
| 84 | } |
||
| 85 | } |
||
| 86 |