Class LatokenPair

java.lang.Object
org.knowm.xchange.latoken.dto.exchangeinfo.LatokenPair

public class LatokenPair extends Object
Response schema:
 {
        "pairId": 502,
        "symbol": "LAETH",
        "baseCurrency": "LA",
        "quotedCurrency": "ETH",
        "makerFee": 0.01,
        "takerFee": 0.01,
        "pricePrecision": 8,
        "amountPrecision": 8,
        "minQty": 0.1
 }
 
Author:
Ezer
  • Constructor Details

    • LatokenPair

      public LatokenPair(long pairId, String symbol, String baseCurrency, String counterCurrency, BigDecimal makerFee, BigDecimal takerFee, int pricePrecision, int amountPrecision, BigDecimal minOrderAmount)
      C'tor
      Parameters:
      pairId -
      symbol -
      baseCurrency -
      counterCurrency -
      makerFee -
      takerFee -
      pricePrecision -
      amountPrecision -
      minOrderAmount -
  • Method Details

    • getPairId

      public long getPairId()
      ID of pair
      Returns:
    • getSymbol

      public String getSymbol()
      Pair symbol
      Returns:
    • getBaseCurrency

      public String getBaseCurrency()
      Symbol of base currency
      Returns:
    • getCounterCurrency

      public String getCounterCurrency()
      Symbol of counter currency
      Returns:
    • getMakerFee

      public BigDecimal getMakerFee()
      Maker fee
      Returns:
    • getTakerFee

      public BigDecimal getTakerFee()
      Taker fee
      Returns:
    • getPricePrecision

      public int getPricePrecision()
      Price precision
      Returns:
    • getAmountPrecision

      public int getAmountPrecision()
      Amount precision
      Returns:
    • getMinOrderAmount

      public BigDecimal getMinOrderAmount()
      Minimum order amount
      Returns:
    • toString

      public String toString()
      Overrides:
      toString in class Object