TriposConfiguration.fastCardPresent constructor
TriposConfiguration.fastCardPresent({
- required HostConfiguration hostConfiguration,
- String? identifier,
- DeviceType deviceType = DeviceType.ingenicoMoby5500,
- String terminalId = '1234',
- bool contactlessAllowed = true,
- bool emvAllowed = true,
- bool quickChipAllowed = true,
- bool feeAssistEnabled = false,
- bool proceedWithoutSurchargeOnError = false,
- bool shouldConfirmSurchargeAmount = false,
- ApplicationConfiguration applicationConfiguration = const ApplicationConfiguration(),
- StoreAndForwardConfiguration storeAndForwardConfiguration = const StoreAndForwardConfiguration(),
Implementation
factory TriposConfiguration.fastCardPresent({
required HostConfiguration hostConfiguration,
String? identifier,
DeviceType deviceType = DeviceType.ingenicoMoby5500,
String terminalId = '1234',
bool contactlessAllowed = true,
bool emvAllowed = true,
bool quickChipAllowed = true,
bool feeAssistEnabled = false,
bool proceedWithoutSurchargeOnError = false,
bool shouldConfirmSurchargeAmount = false,
ApplicationConfiguration applicationConfiguration =
const ApplicationConfiguration(),
StoreAndForwardConfiguration storeAndForwardConfiguration =
const StoreAndForwardConfiguration(),
}) {
return TriposConfiguration(
hostConfiguration: hostConfiguration,
deviceConfiguration: DeviceConfiguration.fastCardPresent(
deviceType: deviceType,
terminalId: terminalId,
identifier: identifier,
contactlessAllowed: contactlessAllowed,
),
transactionConfiguration: TransactionConfiguration.fastCardPresent(
emvAllowed: emvAllowed,
quickChipAllowed: quickChipAllowed,
feeAssistEnabled: feeAssistEnabled,
proceedWithoutSurchargeOnError: proceedWithoutSurchargeOnError,
shouldConfirmSurchargeAmount: shouldConfirmSurchargeAmount,
),
applicationConfiguration: applicationConfiguration,
storeAndForwardConfiguration: storeAndForwardConfiguration,
);
}