Class OrderReq

java.lang.Object
org.knowm.xchange.idex.dto.OrderReq

public class OrderReq extends Object
  • Constructor Details

    • OrderReq

      public OrderReq()
  • Method Details

    • tokenBuy

      public OrderReq tokenBuy(String tokenBuy)
      (address string) - The address of the token you will receive as a result of the trade
    • getTokenBuy

      public String getTokenBuy()
    • setTokenBuy

      public void setTokenBuy(String tokenBuy)
    • amountBuy

      public OrderReq amountBuy(String amountBuy)
      (uint256) - The amount of the token you will receive when the order is fully filled
    • getAmountBuy

      public String getAmountBuy()
    • setAmountBuy

      public void setAmountBuy(String amountBuy)
    • tokenSell

      public OrderReq tokenSell(String tokenSell)
      (address string) - The address of the token you will lose as a result of the trade
    • getTokenSell

      public String getTokenSell()
    • setTokenSell

      public void setTokenSell(String tokenSell)
    • amountSell

      public OrderReq amountSell(String amountSell)
      (uint256) - The amount of the token you will give up when the order is fully filled
    • getAmountSell

      public String getAmountSell()
    • setAmountSell

      public void setAmountSell(String amountSell)
    • address

      public OrderReq address(String address)
      (address string) - The address you are posting the order from
    • getAddress

      public String getAddress()
    • setAddress

      public void setAddress(String address)
    • nonce

      public OrderReq nonce(BigInteger nonce)
      (uint256) - One time number associated with the limit order
    • getNonce

      public BigInteger getNonce()
    • setNonce

      public void setNonce(BigInteger nonce)
    • expires

      public OrderReq expires(BigInteger expires)
      (uint256) - DEPRECATED this property has no effect on your limit order but is still REQUIRED to submit a limit order as it is one of the parameters that is hashed. It must be a numeric type
    • getExpires

      public BigInteger getExpires()
    • setExpires

      public void setExpires(BigInteger expires)
    • v

      public OrderReq v(BigInteger v)
    • getV

      public BigInteger getV()
    • setV

      public void setV(BigInteger v)
    • r

      public OrderReq r(String r)
    • getR

      public String getR()
    • setR

      public void setR(String r)
    • s

      public OrderReq s(String s)
    • getS

      public String getS()
    • setS

      public void setS(String s)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object