Class OmniwalletAddressPropertyBalance

java.lang.Object
foundation.omni.netapi.omniwallet.json.OmniwalletAddressPropertyBalance

public class OmniwalletAddressPropertyBalance extends Object
Jackson POJO wrapper for raw Omniwallet response Note that Omniwallet currently can return a zero balance when an error occurs. To detect this you must check and detect that `error` is true.
  • Constructor Details

    • OmniwalletAddressPropertyBalance

      public OmniwalletAddressPropertyBalance(Object id, String symbol, String value, boolean divisible, String pendingpos, String pendingneg, Boolean error)
  • Method Details

    • getId

      public CurrencyID getId()
    • getSymbol

      public String getSymbol()
    • getValue

      public OmniValue getValue()
    • isDivisible

      public boolean isDivisible()
    • getPendingpos

      public OmniValue getPendingpos()
    • getPendingneg

      public OmniValue getPendingneg()
    • isError

      public boolean isError()