TransactPay class

Constructors

TransactPay({required String apiKey, required String encryptionKey})

Properties

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

Methods

banks() Future<Response>
Fetches the list of available banks from the API
createOrder(Map<String, dynamic> orderDetails) Future<Response>
Creates a new order by sending the order details to the API
getPaymentKeys(Map<String, dynamic> linkDetails) Future<Response>
Retrieves payment keys, likely used for encryption or authentication
Retrieves a payment link by sending link details to the API
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
orderFee(Map<String, dynamic> feeDetails) Future<Response>
Retrieves the fee details for an order
orderStatus(Map<String, dynamic> orderId) Future<Response>
Retrieves the status of an order using the provided order ID
payWithBankTransfer(Map<String, dynamic> paymentDetails) Future<Response>
Processes a payment via bank transfer with the given payment details
payWithCard(Map<String, dynamic> paymentDetails) Future<Response>
Processes a card payment with the provided payment details
refundOrder(Map<String, dynamic> refundDetails) Future<Response>
Processes a refund for an order using the provided refund details
saveCard(Map<String, dynamic> cardDetails) Future<Response>
Saves card details by sending them to the API for secure storage
showBankTransferScreen(BuildContext context, Map<String, dynamic> paymentDetails) Future<void>
Navigates to the Bank Transfer Screen
showCardPaymentScreen(BuildContext context, Map<String, dynamic> paymentDetails) Future<void>
Navigates to the Card Payment Screen
showPaymentInitiationScreen(BuildContext context, Map<String, dynamic> paymentDetails) Future<void>
Navigates to the Payment Initiation Screen
showPaymentTypeScreen(BuildContext context) Future<void>
Navigates to the Payment Type Selection Screen
showSavedCardPaymentScreen(BuildContext context, Map<String, dynamic> paymentDetails) Future<void>
Navigates to the Saved Card Payment Screen
tokenizeCharge(Map<String, dynamic> chargeDetails) Future<Response>
Tokenizes a charge, which converts sensitive payment data into a secure token
toString() String
A string representation of this object.
inherited
trackEvents(Map<String, dynamic> eventDetails) Future<Response>
Tracks events (e.g., user actions) by sending event details to the API
verifyOrder(Map<String, dynamic> orderId) Future<Response>
Verifies the status of an order using the provided order ID

Operators

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