Class Transfer


  • public class Transfer
    extends java.lang.Object
    Represents a transfer from one purse to another
    Since:
    0.0.1
    • Constructor Summary

      Constructors 
      Constructor Description
      Transfer()  
    • 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.math.BigInteger getAmount()
      Amount transfered
      java.lang.String getDeployHash()
      Hex-encoded hash
      java.lang.String getFrom()
      Hex-encoded account hash.
      java.math.BigInteger getGas()
      Decimal representation of a 512-bit integer.
      java.math.BigInteger getId()  
      protected java.lang.String getJsonAmount()  
      protected java.lang.String getJsonGas()  
      java.lang.String getSource()
      Hex-encoded, formatted URef
      java.lang.String getTarget()
      Hex-encoded, formatted URef
      java.lang.String getTo()
      Hex-encoded account hash.
      int hashCode()  
      void setAmount​(java.math.BigInteger amount)
      Amount transfered
      void setDeployHash​(java.lang.String deployHash)
      Hex-encoded hash
      void setFrom​(java.lang.String from)
      Hex-encoded account hash.
      void setGas​(java.math.BigInteger gas)
      Decimal representation of a 512-bit integer.
      void setId​(java.math.BigInteger id)  
      protected void setJsonAmount​(java.lang.String value)  
      protected void setJsonGas​(java.lang.String value)  
      void setSource​(java.lang.String source)
      Hex-encoded, formatted URef
      void setTarget​(java.lang.String target)
      Hex-encoded, formatted URef
      void setTo​(java.lang.String to)
      Hex-encoded account hash.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • Transfer

        public Transfer()
    • Method Detail

      • getId

        public java.math.BigInteger getId()
      • getTo

        public java.lang.String getTo()
        Hex-encoded account hash.
      • getFrom

        public java.lang.String getFrom()
        Hex-encoded account hash.
      • getAmount

        public java.math.BigInteger getAmount()
        Amount transfered
      • getDeployHash

        public java.lang.String getDeployHash()
        Hex-encoded hash
      • getSource

        public java.lang.String getSource()
        Hex-encoded, formatted URef
      • getTarget

        public java.lang.String getTarget()
        Hex-encoded, formatted URef
      • getGas

        public java.math.BigInteger getGas()
        Decimal representation of a 512-bit integer.
      • setId

        public void setId​(java.math.BigInteger id)
      • setTo

        public void setTo​(java.lang.String to)
        Hex-encoded account hash.
      • setFrom

        public void setFrom​(java.lang.String from)
        Hex-encoded account hash.
      • setAmount

        public void setAmount​(java.math.BigInteger amount)
        Amount transfered
      • setDeployHash

        public void setDeployHash​(java.lang.String deployHash)
        Hex-encoded hash
      • setSource

        public void setSource​(java.lang.String source)
        Hex-encoded, formatted URef
      • setTarget

        public void setTarget​(java.lang.String target)
        Hex-encoded, formatted URef
      • setGas

        public void setGas​(java.math.BigInteger gas)
        Decimal representation of a 512-bit integer.
      • 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