DeviceConfiguration class
Device configuration for terminal settings
Constructors
- DeviceConfiguration({DeviceType deviceType = DeviceType.ingenicoMoby5500, String terminalId = '1234', TerminalType terminalType = TerminalType.mobile, String? identifier, bool contactlessAllowed = true, bool keyedEntryAllowed = true, bool heartbeatEnabled = true, bool barcodeReaderEnabled = true, int sleepTimeoutSeconds = 300})
-
const
Properties
- barcodeReaderEnabled → bool
-
Enable barcode reader
final
- contactlessAllowed → bool
-
Allow contactless transactions
final
- deviceType → DeviceType
-
Device type (e.g., Moby 5500)
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- heartbeatEnabled → bool
-
Enable heartbeat monitoring
final
- identifier → String?
-
Bluetooth device identifier (e.g., "MOB55-12345")
final
- keyedEntryAllowed → bool
-
Allow keyed entry
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sleepTimeoutSeconds → int
-
Sleep timeout in seconds
final
- terminalId → String
-
Terminal ID
final
- terminalType → TerminalType
-
Terminal type
final
Methods
-
copyWith(
{DeviceType? deviceType, String? terminalId, TerminalType? terminalType, String? identifier, bool? contactlessAllowed, bool? keyedEntryAllowed, bool? heartbeatEnabled, bool? barcodeReaderEnabled, int? sleepTimeoutSeconds}) → DeviceConfiguration -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited