.Net SDK
Tokenio.Account Class Reference

Represents a funding account in the Token system. More...

Public Member Functions

Member Member ()
 Gets an account owner. More...
 
string Id ()
 Gets an account ID. More...
 
Task SetAsDefault ()
 Sets this account as a member's default account. More...
 
void SetAsDefaultBlocking ()
 Sets this account as a member's default account. More...
 
Task< bool > IsDefault ()
 Looks up if this account is default. More...
 
bool IsDefaultBlocking ()
 Looks up if this account is default. More...
 
string Name ()
 Gets an account name. More...
 
bool IsLocked ()
 Looks up if this account is locked. More...
 
string BankId ()
 Gets the bank ID. More...
 
Task< Balance > GetBalance (Level keyLevel)
 Looks up an account balance. More...
 
Balance GetBalanceBlocking (Level keyLevel)
 Looks up an account balance. More...
 
Task< Money > GetCurrentBalance (Level keyLevel)
 Looks up an account current balance. More...
 
Money GetCurrentBalanceBlocking (Level keyLevel)
 Looks up an account current balance. More...
 
Task< Money > GetAvailableBalance (Level keyLevel)
 Looks up an account available balance. More...
 
Money GetAvailableBalanceBlocking (Level keyLevel)
 Looks up an account available balance. More...
 
Task< Transaction > GetTransaction (string transactionId, Level keyLevel)
 Looks up transaction. More...
 
Transaction GetTransactionBlocking (string transactionId, Level keyLevel)
 Looks up transaction. More...
 
Task< PagedList< Transaction > > GetTransactions (string offset, int limit, Level keyLevel)
 Looks up transactions. More...
 
PagedList< Transaction > GetTransactionsBlocking (string offset, int limit, Level keyLevel)
 Looks up transactions. More...
 
override int GetHashCode ()
 
override bool Equals (object obj)
 

Detailed Description

Represents a funding account in the Token system.

Member Function Documentation

◆ BankId()

string Tokenio.Account.BankId ( )
inline

Gets the bank ID.

Returns
the bank ID

◆ GetAvailableBalance()

Task<Money> Tokenio.Account.GetAvailableBalance ( Level  keyLevel)
inline

Looks up an account available balance.

Parameters
keyLevelkey level
Returns
the available balance

◆ GetAvailableBalanceBlocking()

Money Tokenio.Account.GetAvailableBalanceBlocking ( Level  keyLevel)
inline

Looks up an account available balance.

Parameters
keyLevelkey level
Returns
the available balance

◆ GetBalance()

Task<Balance> Tokenio.Account.GetBalance ( Level  keyLevel)
inline

Looks up an account balance.

Parameters
keyLevelkey level
Returns
the account balance

◆ GetBalanceBlocking()

Balance Tokenio.Account.GetBalanceBlocking ( Level  keyLevel)
inline

Looks up an account balance.

Parameters
keyLevelkey level
Returns
the account balance

◆ GetCurrentBalance()

Task<Money> Tokenio.Account.GetCurrentBalance ( Level  keyLevel)
inline

Looks up an account current balance.

Parameters
keyLevelkey level
Returns
the current balance

◆ GetCurrentBalanceBlocking()

Money Tokenio.Account.GetCurrentBalanceBlocking ( Level  keyLevel)
inline

Looks up an account current balance.

Parameters
keyLevelkey level
Returns
the current balance

◆ GetTransaction()

Task<Transaction> Tokenio.Account.GetTransaction ( string  transactionId,
Level  keyLevel 
)
inline

Looks up transaction.

Parameters
transactionIdtransaction id
keyLevelkey level
Returns
the transaction

◆ GetTransactionBlocking()

Transaction Tokenio.Account.GetTransactionBlocking ( string  transactionId,
Level  keyLevel 
)
inline

Looks up transaction.

Parameters
transactionIdtransaction id
keyLevelkey level
Returns
the transaction

◆ GetTransactions()

Task<PagedList<Transaction> > Tokenio.Account.GetTransactions ( string  offset,
int  limit,
Level  keyLevel 
)
inline

Looks up transactions.

Parameters
offsetnullable offset offset
limitlimit
keyLevelkey level
Returns
a paged list of transactions

◆ GetTransactionsBlocking()

PagedList<Transaction> Tokenio.Account.GetTransactionsBlocking ( string  offset,
int  limit,
Level  keyLevel 
)
inline

Looks up transactions.

Parameters
offsetnullable offset offset
limitlimit
keyLevelkey level
Returns
a paged list of transactions

◆ Id()

string Tokenio.Account.Id ( )
inline

Gets an account ID.

Returns
account id

◆ IsDefault()

Task<bool> Tokenio.Account.IsDefault ( )
inline

Looks up if this account is default.

Returns
true if this account is default; false otherwise.

◆ IsDefaultBlocking()

bool Tokenio.Account.IsDefaultBlocking ( )
inline

Looks up if this account is default.

Returns
true if this account is default; false otherwise.

◆ IsLocked()

bool Tokenio.Account.IsLocked ( )
inline

Looks up if this account is locked.

Returns
true if this account is locked; false otherwise.

◆ Member()

Member Tokenio.Account.Member ( )
inline

Gets an account owner.

Returns
account owner

◆ Name()

string Tokenio.Account.Name ( )
inline

Gets an account name.

Returns
account name

◆ SetAsDefault()

Task Tokenio.Account.SetAsDefault ( )
inline

Sets this account as a member's default account.

Returns
a task

◆ SetAsDefaultBlocking()

void Tokenio.Account.SetAsDefaultBlocking ( )
inline

Sets this account as a member's default account.

Returns
a task

The documentation for this class was generated from the following file: