Transaction class

Inheritance

Constructors

Transaction(Settings settings)
Initialize service

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
settings ↔ Settings
Settings service model
getter/setter pairinherited

Methods

doAuth(AuthTransaction transaction) → Future<Response?>
Send and proccesing AUTH transaction
doCapture(CaptureTransaction transaction) → Future<Response?>
Send and proccesing CAPTURE transaction
doSale(SaleTransaction transaction) → Future<Response?>
Send and proccesing SALE transaction
doVoid(VoidTransaction transaction) → Future<Response?>
Send and proccesing VOID transaction
getSettings(RequestBehaviour transaction, Settings settings) → String
Sets the SDK signature and returns the settings
inherited
getStatus(StatusTransaction transaction) → Future<Response?>
Verify transaction status
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parseResponse(String body, int status) → Response
Mapping and cast HTTP response
inherited
send(String method, Map<String, dynamic> params) → Future<Response>
Verify settings variables and inherith values
inherited
toString() → String
A string representation of this object.
inherited
verifyPaymentHash(String hash, String order_id, String secret) → bool
Verify a payment hash and returns true if payment response is not modified

Operators

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