PosIpAddressConnector class

The ECR or billing system must stay in the same Wi-Fi network as POS terminal.

For macOS, you must add these lines into your_flutter_project/macos/Runner/Release.entitlements and DebugProfile.entitlements:

key This will be provided by ABA Bank for using with production POS terminal.

Inheritance

Constructors

PosIpAddressConnector(String key, {PosSdkLogger? logger})

Properties

hashCode int
The hash code for this object.
no setterinherited
isCheckSumEnabled bool
getter/setter pairinherited
key String
getter/setter pairinherited
logger PosSdkLogger?
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

cancelWaitingPosTerminal() → void
override
createSignedMessage(String jsonData) String
inherited
initialize(String ip, PosIpAddressConnectionCallback callback) PosIpAddressConnector
Must be called before you can use any function from this class. _callback This will be invoked everytime sendTransaction is called.
isValidSignature(String hash, String jsonData) bool
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
release() → void
override
sendTransaction(String data, int timeout) → void
timeout Milliseconds to wait.
override
toString() String
A string representation of this object.
inherited
updateIpAddress(String newIpAddress) PosIpAddressConnector

Operators

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