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