TransactionConfiguration constructor
const
TransactionConfiguration({
- bool emvAllowed = true,
- bool tipAllowed = true,
- bool tipEntryAllowed = true,
- TipSelectionType tipSelectionType = TipSelectionType.amount,
- List<
double> tipOptions = const [1.0, 2.0, 3.0], - bool debitAllowed = true,
- bool cashbackAllowed = true,
- bool cashbackEntryAllowed = true,
- int cashbackEntryIncrement = 5,
- int cashbackEntryMaximum = 100,
- List<
double> cashbackOptions = const [5.0, 10.0, 15.0], - bool giftCardAllowed = true,
- bool quickChipAllowed = true,
- bool amountConfirmationEnabled = true,
- bool duplicateTransactionsAllowed = true,
- bool partialApprovalAllowed = false,
- CurrencyCode currencyCode = CurrencyCode.usd,
- AddressVerificationCondition addressVerificationCondition = AddressVerificationCondition.keyed,
Implementation
const TransactionConfiguration({
this.emvAllowed = true,
this.tipAllowed = true,
this.tipEntryAllowed = true,
this.tipSelectionType = TipSelectionType.amount,
this.tipOptions = const [1.0, 2.0, 3.0],
this.debitAllowed = true,
this.cashbackAllowed = true,
this.cashbackEntryAllowed = true,
this.cashbackEntryIncrement = 5,
this.cashbackEntryMaximum = 100,
this.cashbackOptions = const [5.0, 10.0, 15.0],
this.giftCardAllowed = true,
this.quickChipAllowed = true,
this.amountConfirmationEnabled = true,
this.duplicateTransactionsAllowed = true,
this.partialApprovalAllowed = false,
this.currencyCode = CurrencyCode.usd,
this.addressVerificationCondition = AddressVerificationCondition.keyed,
});