payV1 static method
Future<NewTransactionResponse>
payV1({
- String? identifier,
- String? description,
- required String phoneNumber,
- required PaygateProvider provider,
- required double amount,
Implementation
static Future<NewTransactionResponse> payV1({
String? identifier,
String? description,
required String phoneNumber,
required PaygateProvider provider,
required double amount,
}) async {
return payViaPaygateV1(
authToken: _token,
phoneNumber: phoneNumber,
provider: provider,
amount: amount,
identifier: (identifier ?? "").isNotEmpty
? identifier!
: (await PaygateConfig.newUniqIdentifier),
description: description,
);
}