UniPayments class

Main class where all methods are called and return perticular response

Constructors

UniPayments.new()

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

flutterWavePayment({required BuildContext buildContext, required String encryptionKey, required String publicKey, required String currencyCode, required String amount, required String emailId, required String receiptantName, required String phoneNumber, required bool isDebugMode, required String redirectURL, required String transactionRef, required dynamic successListener(UniPaymentResponse), required dynamic failureListener(UniPaymentResponse)}) → dynamic
payPalBraintreePayment({required String tokenizationKey, required double amount, required String emailId, required String name, String? currencyCode, String? countryCode}) → dynamic
payPalBraintreePayment is called,to integrate RazorpayPayment gateway. All parameters are tokenizationKey, emailId, currencyCode, countryCode, [] and name must be non-null.
payStackPayment({required BuildContext context, required double amount, required String uniqueRefrenceID, required String callbackUrl, required String emailId, required String payStackKey}) → dynamic
payStackPayment is called,to integrate PayStackPayment gateway. Following parameters are context, emailId, amount, and payStackKey must be non-null. payStackKey get from the official site of PAYSTACK which is mentaioned below. paystack.com/.
paytmPayment({required String paytmMerchantId, required String orderId, required String uniqueTransactionToken, required bool isStaging, required double amount, required dynamic successListener(UniPaymentResponse), required dynamic failureListener(UniPaymentResponse)}) → dynamic
paytmPayment is called,to integrate PayStackPayment gateway. Following parameters are paytmMerchantId, orderId, and amount must be non-null. paytmMerchantId get from the official site of paytm which is mentaioned below. developer.paytm.com/.
razorPayPayment({required String contactNumber, required String emailId, required String razorpayKey, required double amount, required String userName, String? description, String? colorCode, required dynamic successListener(UniPaymentResponse), required dynamic failureListener(UniPaymentResponse)}) → dynamic
razorPayPayment is called,to integrate RazorpayPayment gateway. All parameters are contactNumber, emailId, razorpayKey, amount and userName must be non-null. successListener and failureListener are for listening events for managing methods.
uniPaymentGooglePayButton({required String paymentConfigurationAsset, required dynamic failureListener(UniPaymentResponse response), required dynamic successListener(UniPaymentResponse), required UniPaymentItemStatus uniPaymentItemStatus, required UniPaymentItemTypes uniPaymentItemTypes, required dynamic onPressed(), required String paymentLabel, required String payableAmount, UniPaymentGoogleButtonStyle? uniPaymentGoogleButtonStyle, UniPaymentGoogleButtonType? uniPaymentGoogleButtonType, double? height, double? width, Widget? loadingIndicator}) Widget
uniPaymentGooglePayButton is called,to integrate GooglePay payment gateway. Following parameters which are required need to pass while implementing, rest of are not neccesary as per need. paymentConfigurationAsset where you add asset path from asset folder.