- php-fints Bibliothek von 3.7.0 auf 4.0.0 aktualisiert - Parser-Fix: Ignoriert zusätzliche Bank-Felder statt Exception - HKEKA Segmente implementiert (HIEKASv5, HKEKAv5, HIEKAv5) - HKKAA Segmente implementiert (HIKAASv1, HKKAAv1) - GetStatementFromArchive und GetElectronicStatement Actions HINWEIS: HKKAA/HKEKA funktionieren noch nicht mit VR Bank (Fehler "unerwarteter Aufbau wrt DE 2" - Kontoverbindungsformat) Normale Funktionalität (Transaktionsimport) ist nicht betroffen. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
147 lines
2.7 KiB
PHP
147 lines
2.7 KiB
PHP
<?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;
|
|
}
|
|
}
|