- Mehrfach-Upload von PDF-Kontoauszügen mit automatischer Metadaten-Erkennung - Dashboard mit Übersichts-Widgets (letzte Buchungen und Kontoauszüge) - Menü-Integration unter "Banken und Kasse" statt eigenem Top-Menü - Erinnerungsfunktion bei veralteten Kontoauszügen (konfigurierbar) - Verknüpfung von Buchungen mit PDF-Kontoauszügen - Auszugsnummer wird automatisch aus dem Zeitraum abgeleitet (Monat/Jahr) - Jahrfilter zeigt nur Jahre mit vorhandenen Kontoauszügen - Modul-Icon auf fa-money-check-alt gesetzt - README und ChangeLog aktualisiert - .gitignore für Kontoauszüge und Build-Artefakte hinzugefügt Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
147 lines
2.7 KiB
PHP
Executable file
147 lines
2.7 KiB
PHP
Executable file
<?php
|
|
/** @noinspection PhpUnused */
|
|
|
|
namespace Fhp\Model;
|
|
|
|
/**
|
|
* Note: This account information is obtained from the HIUPD contained in the UPD data, but it lacks the BIC.
|
|
*/
|
|
class Account
|
|
{
|
|
/** @var string|null */
|
|
protected $id;
|
|
/** @var string|null */
|
|
protected $accountNumber;
|
|
/** @var string|null */
|
|
protected $bankCode;
|
|
/** @var string|null */
|
|
protected $iban;
|
|
/** @var string|null */
|
|
protected $customerId;
|
|
/** @var string|null */
|
|
protected $currency;
|
|
/** @var string|null */
|
|
protected $accountOwnerName;
|
|
/** @var string|null */
|
|
protected $accountDescription;
|
|
|
|
public function getId(): ?string
|
|
{
|
|
return $this->id;
|
|
}
|
|
|
|
/**
|
|
* @return $this
|
|
*/
|
|
public function setId(?string $id)
|
|
{
|
|
$this->id = $id;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getAccountNumber(): ?string
|
|
{
|
|
return $this->accountNumber;
|
|
}
|
|
|
|
/**
|
|
* @return $this
|
|
*/
|
|
public function setAccountNumber(?string $accountNumber)
|
|
{
|
|
$this->accountNumber = $accountNumber;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getBankCode(): ?string
|
|
{
|
|
return $this->bankCode;
|
|
}
|
|
|
|
/**
|
|
* @return $this
|
|
*/
|
|
public function setBankCode(?string $bankCode)
|
|
{
|
|
$this->bankCode = $bankCode;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getIban(): ?string
|
|
{
|
|
return $this->iban;
|
|
}
|
|
|
|
/**
|
|
* @return $this
|
|
*/
|
|
public function setIban(?string $iban)
|
|
{
|
|
$this->iban = $iban;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getCustomerId(): ?string
|
|
{
|
|
return $this->customerId;
|
|
}
|
|
|
|
/**
|
|
* @return $this
|
|
*/
|
|
public function setCustomerId(?string $customerId)
|
|
{
|
|
$this->customerId = $customerId;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getCurrency(): ?string
|
|
{
|
|
return $this->currency;
|
|
}
|
|
|
|
/**
|
|
* @return $this
|
|
*/
|
|
public function setCurrency(?string $currency)
|
|
{
|
|
$this->currency = $currency;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getAccountOwnerName(): ?string
|
|
{
|
|
return $this->accountOwnerName;
|
|
}
|
|
|
|
/**
|
|
* @return $this
|
|
*/
|
|
public function setAccountOwnerName(?string $accountOwnerName)
|
|
{
|
|
$this->accountOwnerName = $accountOwnerName;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getAccountDescription(): ?string
|
|
{
|
|
return $this->accountDescription;
|
|
}
|
|
|
|
/**
|
|
* @return $this
|
|
*/
|
|
public function setAccountDescription(?string $accountDescription)
|
|
{
|
|
$this->accountDescription = $accountDescription;
|
|
|
|
return $this;
|
|
}
|
|
}
|