- 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>
26 lines
592 B
PHP
26 lines
592 B
PHP
<?php
|
|
/** @noinspection PhpUnused */
|
|
|
|
namespace Fhp\Protocol;
|
|
|
|
use Fhp\Model\TanRequest;
|
|
|
|
/**
|
|
* Thrown when an action result is read, but it is not available because the action requires a TAN to be completed.
|
|
*/
|
|
class TanRequiredException extends \RuntimeException
|
|
{
|
|
/** @var TanRequest */
|
|
private $tanRequest;
|
|
|
|
public function __construct(TanRequest $tanRequest)
|
|
{
|
|
parent::__construct('This action requires a TAN to be completed.');
|
|
$this->tanRequest = $tanRequest;
|
|
}
|
|
|
|
public function getTanRequest()
|
|
{
|
|
return $this->tanRequest;
|
|
}
|
|
}
|