Package nxt.ce

Class CoinExchange.Order

java.lang.Object
nxt.ce.CoinExchange.Order
Enclosing class:
CoinExchange

public static final class CoinExchange.Order extends Object
Define a coin exchange order 'id' and 'fullHash' identify the coin exchange order 'chainId' is the chain identifier for the coin being exchanged 'exchangeId' is the chain identifier for the requested coin 'quantity' is the number of coins being exchanged (updated after each trade) 'bidPrice' is the bid price for the requested coin and is the exchange order price 'askPrice' is the ask price for coin being exchanged and is 1/bidPrice
  • Method Details

    • getId

      public final long getId()
    • getFullHash

      public final byte[] getFullHash()
    • getAccountId

      public final long getAccountId()
    • getChainId

      public final int getChainId()
    • getExchangeId

      public final int getExchangeId()
    • getBidPriceNQT

      public final long getBidPriceNQT()
    • getBidPrice

      public final BigDecimal getBidPrice()
    • getAskPriceNQT

      public final long getAskPriceNQT()
    • getAskPrice

      public final BigDecimal getAskPrice()
    • getQuantityQNT

      public final long getQuantityQNT()
    • getAmountNQT

      public final long getAmountNQT()
    • getHeight

      public final int getHeight()
    • getTransactionIndex

      public final int getTransactionIndex()
    • getTransactionHeight

      public final int getTransactionHeight()
    • toString

      public String toString()
      Overrides:
      toString in class Object