TerminalInfo class

A terminal entry returned by GET /api/terminals.

The REST specification's field table and its example response disagree on the exact set of fields, so every field here is optional. Anything not modelled explicitly stays available via raw.

Constructors

TerminalInfo({required Map<String, dynamic> raw, String? tid, String? password, String? company, String? merchantName, List<String>? header, bool? elv, bool? creditCard, bool? refNumberRequired, bool? active, String? vu, String? terminalType, String? street, String? zip, String? city, String? phone, String? fax, String? email})
const
TerminalInfo.fromJson(Map<String, dynamic> json)
factory

Properties

active bool?
Whether the terminal is active.
final
city String?
final
company String?
Company name.
final
creditCard bool?
Whether the terminal accepts credit cards.
final
elv bool?
Whether the terminal supports ELV.
final
email String?
final
fax String?
final
hashCode int
The hash code for this object.
no setterinherited
Receipt header lines — one string per printed line.
final
merchantName String?
Merchant name.
final
password String?
Terminal password.
final
phone String?
final
raw Map<String, dynamic>
The raw decoded JSON, for fields not modelled explicitly.
final
refNumberRequired bool?
Whether a reference is required for a transaction.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
street String?
final
terminalType String?
Terminal type: PINPAD, POS, MPOS, VIRTUALTERMINAL or PAYMENTLINK.
final
tid String?
Terminal identifier.
final
vu String?
Merchant id (Vertragsunternehmen).
final
zip String?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited