replaceWithKKiaPay method
Future
replaceWithKKiaPay({
- Key? key,
- required int amount,
- required String reason,
- String? phone,
- String? name,
- String? email,
- String? data,
- String? partnerId,
- required dynamic callback(
- Map<
String, dynamic> , - BuildContext
- Map<
- required String apikey,
- required bool? sandbox,
- String? theme,
- List<
String> ? countries, - List<
String> ? paymentMethods, - int? routerId,
- bool preventDuplicates = true,
- Map<
String, String> ? parameters, - Widget transition()?,
Implementation
Future<dynamic> replaceWithKKiaPay({
_i3.Key? key,
required int amount,
required String reason,
String? phone,
String? name,
String? email,
String? data,
String? partnerId,
required dynamic Function(
Map<String, dynamic>,
_i3.BuildContext,
) callback,
required String apikey,
required bool? sandbox,
String? theme,
List<String>? countries,
List<String>? paymentMethods,
int? routerId,
bool preventDuplicates = true,
Map<String, String>? parameters,
Widget Function(BuildContext, Animation<double>, Animation<double>, Widget)?
transition,
}) async {
return replaceWith<dynamic>(Routes.kKiaPay,
arguments: KKiaPayArguments(
key: key,
amount: amount,
reason: reason,
phone: phone,
name: name,
email: email,
data: data,
partnerId: partnerId,
callback: callback,
apikey: apikey,
sandbox: sandbox,
theme: theme,
countries: countries,
paymentMethods: paymentMethods),
id: routerId,
preventDuplicates: preventDuplicates,
parameters: parameters,
transition: transition);
}