HpsCode class
Ein Ergebniscode, dessen Bedeutung feststeht.
Constructors
- HpsCode({required String code, required String title, required String meaning, required HpsCodeEffect effect, required HpsCodeReason reason, required HpsCodeSource source, bool rejectsRequest = false, bool sendReversal = false, String? tecsTitle})
-
const
- HpsCode.tecs(String code, String tecsTitle, String meaning, HpsCodeEffect effect, HpsCodeReason reason, {bool rejectsRequest = false, bool sendReversal = false})
-
Ein Code, der nur aus der TECS-Liste stammt -- title ist der Titel
dort. Positional, damit
tecs_codes.darteine Zeile je Code bleibt.const
Properties
- code → String
-
Der Ergebniscode, wie ihn das Terminal im Feld
responseCodesendet.final - conclusive → bool
-
Schreibt den Ausgang fest -- Teil der Positivliste von
TransactionResponse.isConclusive.
no setter
- effect → HpsCodeEffect
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hostUncertain → bool
-
Siehe HpsCodeEffect.hostUncertain.
no setter
- meaning → String
-
Bedeutung, deutsch, fuer Nachweis und Protokoll.
final
- reason → HpsCodeReason
-
final
- rejectsRequest → bool
-
Der Code weist die ANFRAGE selbst ab (TID, Form, Geraetezustand) und
sagt damit nur etwas ueber die Anfrage, die er beantwortet.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sendReversal → bool
-
Bei diesem Code wird ein Storno nachgeschickt: der Host hat nicht oder
nicht brauchbar geantwortet, und das Terminal nimmt den Vorgang nicht
selbst zurueck. Nur bei HpsCodeEffect.hostUncertain.
final
- source → HpsCodeSource
-
final
- tecsTitle → String?
-
Der Titel in der TECS-Liste (16.09.2026), wenn der Code dort steht --
sonst
null. Bei gemessenen Codes weicht er vom title ab, den das Terminal sendet (55: "PIN falsch" gegen "Incorrect PIN").final - title → String
-
Der Titel, wie hobex ihn fuehrt bzw. wie das Terminal ihn als
responseTextsendet -- englisch, unveraendert.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited