EcrArgs class abstract final

Keys in the argument map sent with every call.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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

Constants

all → const List<String>
amount → const String
Major units as a decimal string, e.g. "1.234". Never a double: a binary float cannot hold 1.234, and an amount that is off by a thousandth is a wrong charge.
config → const String
host → const String
merchantReference → const String
The till's own reference for this request. Empty to have the native SDK generate one, which it then reports back on the result.
operationId → const String
Client-generated handle for this call, so EcrMethods.cancel can name it.
originalMerchantReference → const String
The reference an earlier transaction was sent with, for EcrMethods.inquireByReference. Never a reference for this call — that is merchantReference.
originalTerminalId → const String
The terminal the original was taken on, when not this one. Empty for "this terminal" — never null, matching the native SDKs' defaults.
receiptImage → const String
PNG/JPEG bytes for EcrMethods.printReceipt. Required on that call; width must be exactly 384 px.
receiptNumber → const String
The receipt number (STAN) of the original, unpadded as the operator typed it. The native side pads it to the protocol's six digits.
serialNumber → const String
transactionDate → const String
The original's day as yyyyMMdd.
transport → const String