dolibarr.bankimport/vendor/nemiah/php-fints/lib/Fhp/Model/TanMedium.php
data 014a943f78 feat: HKEKA-Implementierung, PDF-Bugfixes, Sortierung, Umsatz-Umbenennung
- 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>
2026-03-06 07:10:59 +01:00

27 lines
1.2 KiB
PHP
Executable file

<?php
/** @noinspection PhpUnused */
namespace Fhp\Model;
/**
* For two-step authentication, users need to enter a TAN, which can be obtained in various ways. After choosing one of
* these ways, i.e. choosing a a {@link TanMode} (SMS, TAN generator device, and so on), the user might have to choose
* which of their TAN media they want to use within this mode, in case they have multiple. For instance, a user might
* have multiple mobile phone numbers configured for smsTAN, might have multiple TAN generators, or multiple iTAN lists.
* Each {@link TanMedium} instance describes one of these options.
*/
interface TanMedium
{
/**
* @return string A user-readable name for this TAN medium, which serves as its identifier at the same time. This is
* what the application needs to persist when it wants to remember the users decision for future transactions.
*/
public function getName(): string;
/**
* @return string|null In case this is a mobileTAN/smsTAN medium, this is its (possibly obfuscated) phone number.
*/
public function getPhoneNumber(): ?string;
// TODO Consider making more information from TanMediumListeV4 available here.
}