DeviceConfiguration.fastCardPresent constructor

DeviceConfiguration.fastCardPresent({
  1. DeviceType deviceType = DeviceType.ingenicoMoby5500,
  2. String terminalId = '1234',
  3. TerminalType terminalType = TerminalType.mobile,
  4. String? identifier,
  5. bool contactlessAllowed = true,
  6. bool heartbeatEnabled = true,
  7. int sleepTimeoutSeconds = 3600,
})

Implementation

factory DeviceConfiguration.fastCardPresent({
  DeviceType deviceType = DeviceType.ingenicoMoby5500,
  String terminalId = '1234',
  TerminalType terminalType = TerminalType.mobile,
  String? identifier,
  bool contactlessAllowed = true,
  bool heartbeatEnabled = true,
  int sleepTimeoutSeconds = 3600,
}) {
  return DeviceConfiguration(
    deviceType: deviceType,
    terminalId: terminalId,
    terminalType: terminalType,
    identifier: identifier,
    contactlessAllowed: contactlessAllowed,
    keyedEntryAllowed: false,
    heartbeatEnabled: heartbeatEnabled,
    barcodeReaderEnabled: false,
    sleepTimeoutSeconds: sleepTimeoutSeconds,
    initializationDelaySeconds: 0,
  );
}