DtbLinkPlatform class abstract
DtbLinkPlatform
- Inheritance
-
- Object
- PlatformInterface
- DtbLinkPlatform
- Implementers
Constructors
- DtbLinkPlatform()
- Constructor DtbLinkPlatform
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
-
bluetoothBatteryInfo(
) → Future< String> - get Battery Info from connected device
-
bluetoothConnectDevice(
{required BluetoothDevice device}) → Future< int> - new connection bluetooth device
-
bluetoothContactlessFileUpload(
) → Future< int> - required Contactless file upload when new device connected
-
bluetoothDeviceData(
) → Future< DeviceData> - get connected bluetooth device data
-
bluetoothDisconnect(
) → Future< String> - disconnect connected device
-
bluetoothEmvFileUpload(
) → Future< int> - required Emv file upload when new device connected
-
bluetoothIsConnected(
) → Future< bool> - che
-
bluetoothReconnectDevice(
) → Future< BluetoothDevice?> - reconnect using already connected bluetooth device
-
bluetoothSerialNo(
) → Future< String?> - get Serial no from connected device
-
bluetoothStartSearch(
) → Future< void> - search nearby bluetooth devices
-
cardRead(
{required String amount, required int tranType, required String traceNo}) → Future - if connected is true then you can call card read
-
doSale(
{required String track2, required String emv, required String traceNo, required double amount}) → Future< Map< String, dynamic> > - transaction do sale
-
doVoid(
{required String amountStr, required String track2, required String encTrack2, required String rrn, required String authCode, required String traceNO}) → Future< Map< String, dynamic> > - transaction do void. necessary do sale success
-
echoTest(
) → Future< Map< String, dynamic> > - test echo transaction
-
getPlatformVersion(
) → Future< String?> - get Platform version
-
healthCheck(
) → Future - transaction healthCheck
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onEvent(
dynamic event(String)) → dynamic - required function listen on dtb_link platform any event change response
-
ping(
) → Future - api service check ping
-
syncKey(
) → Future< ApiResponse< DownloadKeyRet> > - get new Sync Key for transaction. You don't need if called syncKey before called and terminal init function already SyncKey automatically called.
-
terminalDoInit(
{required String terminalId, required String trc}) → Future< ApiResponse< DataInitRet> > - To make a transaction, you must create a terminal initial connection using the previously provided terminalId and Trc code.
-
terminalInitData(
) → Future< DataInitRet?> - get connected terminal data
-
toString(
) → String -
A string representation of this object.
inherited
-
traceNo(
) → Future< String> - get always new traceNo
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ DtbLinkPlatform
-
instance of DtbLinkPlatform
getter/setter pair