M4eTransactionService class
Exposes SDK Transaction Api methods
Accessing the instantiated m4eTransaction
methods
is done by:
final _m4eTransaction = M4eTransaction();
await _m4eTransaction.initiateTransaction(M4eTransactionForm m4eTransactionForm);
Constructors
- M4eTransactionService({TransactionApi transactionApi, WalletApi walletApi, DataConnectionChecker connectionChecker })
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
getUserTransactions(
M4eUniqueId userId) → Future< M4eTransactionList> -
Returns
[M4eTransactionList]
of authenticated m4e user. [...] -
getWalletTransactions(
M4eUniqueId walletId) → Future< M4eTransactionList> -
Returns
[M4eTransactionList]
of authenticated m4e user. [...] -
initiateTransaction(
M4eUniqueId userId, M4eTransactionForm transaction) → Future< M4eTransactionResult> -
Requires
[M4eTransactionForm]
as parameter [...] -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited