TransactionConfiguration constructor

const TransactionConfiguration({
  1. bool emvAllowed = true,
  2. bool tipAllowed = true,
  3. bool tipEntryAllowed = true,
  4. TipSelectionType tipSelectionType = TipSelectionType.amount,
  5. List<double> tipOptions = const [1.0, 2.0, 3.0],
  6. bool debitAllowed = true,
  7. bool cashbackAllowed = true,
  8. bool cashbackEntryAllowed = true,
  9. int cashbackEntryIncrement = 5,
  10. int cashbackEntryMaximum = 100,
  11. List<double> cashbackOptions = const [5.0, 10.0, 15.0],
  12. bool giftCardAllowed = true,
  13. bool quickChipAllowed = true,
  14. bool amountConfirmationEnabled = true,
  15. bool duplicateTransactionsAllowed = true,
  16. bool partialApprovalAllowed = false,
  17. CurrencyCode currencyCode = CurrencyCode.usd,
  18. 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,
});