UpiPay class

Helps with getting installed UPI apps and making payments using them.

The getInstalledUpiApplications API helps getting installed applications.

The initiateTransaction API helps with making a transaction using a chosen UPI payment app.

Constructors

UpiPay()

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

getInstalledUpiApplications({UpiApplicationDiscoveryAppPaymentType paymentType = UpiApplicationDiscoveryAppPaymentType.nonMerchant, UpiApplicationDiscoveryAppStatusType statusType = UpiApplicationDiscoveryAppStatusType.working}) Future<List<ApplicationMeta>>
Finds installed UPI payment applications.
initiateTransaction({required UpiApplication app, required String receiverUpiAddress, required String receiverName, required String transactionRef, required String amount, String? url, String? transactionNote}) Future<UpiTransactionResponse>
Start a UPI Transaction.