FlutterPayUpiManager class

A manager class for handling UPI (Unified Payments Interface) transactions using Flutter.

This class provides static methods to interact with UPI apps on both Android and iOS platforms.

Constructors

FlutterPayUpiManager()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

appendAndMakeUrl(UPIRequestParameters upiRequestParams) String
getListOfAndroidUpiApps() Future<List<UpiApp>>
Retrieves a list of UPI apps available on Android.
getListOfIosUpiApps() Future<List<UpiIosModel>>
Retrieves a list of UPI apps available on iOS.
getUpiAppSchema(String? paymentApp) String
Returns the UPI app scheme based on the provided payment app name.
redirectToAppstore(String? paymentApp) → void
Redirects the user to the App Store to download the UPI payment app.
startPayment({required String paymentApp, required String payeeVpa, required String payeeName, required String transactionId, String? transactionRefId, required String payeeMerchantCode, required String description, required String amount, String? currency, required dynamic response(UpiResponse, String), required dynamic error(String)}) → void
Initiates a UPI payment transaction.