- HKEKA v3/v4/v5 Segmente fuer phpFinTS implementiert (VR Bank unterstuetzt kein HKEKP) - GetElectronicStatement Action mit Base64-Erkennung und Quittungscode - PDF-Deduplizierung per MD5 (Bank sendet identische Saldenmitteilungen) - Saldenmitteilungen ohne Auszugsnummer werden uebersprungen - Datums-Validierung: 30.02. (Bank-Konvention) wird auf 28.02. korrigiert - Numerische Sortierung fuer statement_number (CAST statt String-Sort) - Jahr-Filter: statement_year=0 ausgeschlossen - Menue/Button: "Kontoauszuege" -> "Umsaetze" (statements.php zeigt MT940, nicht PDFs) - Redirect nach FinTS-Abruf auf aktuelles Jahr statt year=0 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
97 lines
1.7 KiB
PHP
Executable file
97 lines
1.7 KiB
PHP
Executable file
<?php
|
|
|
|
namespace Fhp\Model;
|
|
|
|
/**
|
|
* Note: This account information is obtained from the HISPA response to a HKSPA request.
|
|
*/
|
|
class SEPAAccount
|
|
{
|
|
// All fields are nullable, but the overall SEPAAccount is only valid if at least {IBAN,BIC} or {accountNumber,blz} are present.
|
|
|
|
/** @var string|null */
|
|
protected $iban;
|
|
/** @var string|null */
|
|
protected $bic;
|
|
/** @var string|null */
|
|
protected $accountNumber;
|
|
/** @var string|null */
|
|
protected $subAccount;
|
|
/** @var string|null */
|
|
protected $blz;
|
|
|
|
public function getIban(): ?string
|
|
{
|
|
return $this->iban;
|
|
}
|
|
|
|
/**
|
|
* @return $this
|
|
*/
|
|
public function setIban(?string $iban)
|
|
{
|
|
$this->iban = $iban;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getBic(): ?string
|
|
{
|
|
return $this->bic;
|
|
}
|
|
|
|
/**
|
|
* @return $this
|
|
*/
|
|
public function setBic(?string $bic)
|
|
{
|
|
$this->bic = $bic;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getAccountNumber(): ?string
|
|
{
|
|
return $this->accountNumber;
|
|
}
|
|
|
|
/**
|
|
* @return $this
|
|
*/
|
|
public function setAccountNumber(?string $accountNumber)
|
|
{
|
|
$this->accountNumber = $accountNumber;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getSubAccount(): ?string
|
|
{
|
|
return $this->subAccount;
|
|
}
|
|
|
|
/**
|
|
* @return $this
|
|
*/
|
|
public function setSubAccount(?string $subAccount)
|
|
{
|
|
$this->subAccount = $subAccount;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getBlz(): ?string
|
|
{
|
|
return $this->blz;
|
|
}
|
|
|
|
/**
|
|
* @return $this
|
|
*/
|
|
public function setBlz(?string $blz)
|
|
{
|
|
$this->blz = $blz;
|
|
|
|
return $this;
|
|
}
|
|
}
|