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