org.elkoserver.server.workshop.bank.client
Class BankClient.AccountDesc

java.lang.Object
  extended by org.elkoserver.server.workshop.bank.client.BankClient.AccountDesc
Enclosing class:
BankClient

public static class BankClient.AccountDesc
extends Object

A struct describing an account, returned as part of the results from query accounts.


Field Summary
 String account
          The ref of the account.
 int avail
          Available (unencumbered) balance in the account.
 String currency
          Currency the account is denominated in.
 BankClient.EncumbranceDesc[] encs
          Array of encumbrance information.
 boolean frozen
          Flag that is true if the account is frozen, false if not.
 String memo
          Memo string associated with account at creation time.
 String owner
          Ref of user who is the owner of the account.
 int total
          Total (including encumbered) balance in the account.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

account

public final String account
The ref of the account.


currency

public final String currency
Currency the account is denominated in.


avail

public final int avail
Available (unencumbered) balance in the account.


total

public final int total
Total (including encumbered) balance in the account.


frozen

public final boolean frozen
Flag that is true if the account is frozen, false if not.


memo

public final String memo
Memo string associated with account at creation time.


owner

public final String owner
Ref of user who is the owner of the account.


encs

public final BankClient.EncumbranceDesc[] encs
Array of encumbrance information. This will be null if the 'encs' parameter of the query was false.