GetnetDeeplinkPayments class

The GetnetDeeplinkPayments class provides methods to perform payments and refunds using the Getnet platform via deeplinks.

This class validates input parameters and delegates operations to the platform interface GetnetDeeplinkPaymentsPlatform.

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

checkStatus({required String callerId}) Future<Transaction?>
Checks the status of a transaction via the native platform.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
payment({required double amount, required PaymentTypeEnum paymentType, required String callerId, int installments = 1, String? creditType, bool? allowPrintCurrentTransaction}) Future<Transaction?>
Processes a payment with the provided parameters.
refund({required double amount, DateTime? transactionDate, String? cvNumber, String? originTerminal, bool? allowPrintCurrentTransaction}) Future<Transaction?>
Processes a refund for a transaction based on the provided parameters.
reprint() Future<String?>
Reprints the last transaction receipt. Returns a String containing the reprint result, or null if the operation fails. Throws an exception if an error occurs during platform communication. This method is only available on Android.
toString() String
A string representation of this object.
inherited

Operators

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