AmwalSdkSettings constructor
AmwalSdkSettings({
- void onResponse()?,
- String token = '',
- String? secureHashValue,
- required String merchantId,
- required String transactionId,
- required String currency,
- required String amount,
- required String terminalId,
- String? merchantName,
- GetTransactionFunction? getTransactionFunction,
- OnPayCallback? onCountComplete,
- Locale locale = const Locale('en'),
- bool isMocked = false,
- void onError(
- Object e,
- StackTrace stack
- void log()?,
- Future<
String?> onTokenExpired()?, - int countDownInSeconds = 90,
- String? flavor,
- Map<
String, String> ? additionValues, - String sessionToken = '',
- void customerCallback()?,
- String? customerId,
- TransactionType transactionType = TransactionType.cardWallet,
- Environment? environment,
- double? maxTransactionAmount = 5000,
Implementation
AmwalSdkSettings({
super.onResponse,
super.token = '',
super.secureHashValue,
required super.merchantId,
required super.transactionId,
required super.currency,
required super.amount,
required this.terminalId,
super.merchantName,
super.getTransactionFunction,
super.onCountComplete,
super.locale,
super.isMocked,
super.onError,
super.log,
super.onTokenExpired,
super.countDownInSeconds = 90,
super.flavor,
super.additionValues,
super.sessionToken = '',
super.customerCallback,
super.customerId,
super.transactionType,
super.environment,
super.maxTransactionAmount,
}) : super(terminalIds: [terminalId], onPay: (_, [__]) {});