- 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>
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;
|
|
}
|
|
}
|