| Total Complexity | 8 |
| Total Lines | 70 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 8 | final class BankAccount |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var string |
||
| 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 |
||
| 42 | } |
||
| 43 | |||
| 44 | public function getHolderName(): ?string |
||
| 45 | { |
||
| 46 | return $this->holderName; |
||
| 47 | } |
||
| 48 | |||
| 49 | public function setHolderName(?string $holderName): self |
||
| 50 | { |
||
| 51 | $this->holderName = $holderName; |
||
| 52 | |||
| 53 | return $this; |
||
| 54 | } |
||
| 55 | |||
| 56 | public function getBic(): ?string |
||
| 57 | { |
||
| 58 | return $this->bic; |
||
| 59 | } |
||
| 60 | |||
| 61 | public function setBic(?string $bic): self |
||
| 62 | { |
||
| 63 | $this->bic = $bic; |
||
| 64 | |||
| 65 | return $this; |
||
| 66 | } |
||
| 67 | |||
| 68 | public function getBankName(): ?string |
||
| 71 | } |
||
| 72 | |||
| 73 | public function setBankName(?string $bankName): self |
||
| 78 | } |
||
| 79 | } |
||
| 80 |