diff --git a/src/DTO/NamedAccount.php b/src/DTO/NamedAccount.php new file mode 100644 index 0000000..19db008 --- /dev/null +++ b/src/DTO/NamedAccount.php @@ -0,0 +1,38 @@ +iban = $iban; + $this->name = $name; + } + + public function getIban(): Iban + { + return $this->iban; + } + + public function getName(): string + { + return $this->name; + } + + /** + * @inheritDoc + */ + public function getIdentification(): string + { + return (string) $this->iban; + } +}