Class BalanceData


  • public class BalanceData
    extends java.lang.Object
    Root class for a Casper balance data request Result for "state_get_balance" RPC response
    Since:
    0.0.1
    • Constructor Summary

      Constructors 
      Constructor Description
      BalanceData()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean canEqual​(java.lang.Object other)  
      boolean equals​(java.lang.Object o)  
      java.lang.String getApiVersion()
      The RPC API version
      protected java.lang.String getJsonValue()  
      java.lang.String getMerkleProof()
      The merkle proof
      java.math.BigInteger getValue()
      The balance value
      int hashCode()  
      void setApiVersion​(java.lang.String apiVersion)
      The RPC API version
      protected void setJsonValue​(java.lang.String value)  
      void setMerkleProof​(java.lang.String merkleProof)
      The merkle proof
      void setValue​(java.math.BigInteger value)
      The balance value
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • BalanceData

        public BalanceData()
    • Method Detail

      • getApiVersion

        public java.lang.String getApiVersion()
        The RPC API version
      • getValue

        public java.math.BigInteger getValue()
        The balance value
      • getMerkleProof

        public java.lang.String getMerkleProof()
        The merkle proof
      • setApiVersion

        public void setApiVersion​(java.lang.String apiVersion)
        The RPC API version
      • setValue

        public void setValue​(java.math.BigInteger value)
        The balance value
      • setMerkleProof

        public void setMerkleProof​(java.lang.String merkleProof)
        The merkle proof
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object