Class LatokenUserTrade

java.lang.Object
org.knowm.xchange.latoken.dto.trade.LatokenUserTrade

public class LatokenUserTrade
extends Object
Response schema:
 {
        "id": "1555492358.126073.126767@0502:2",
        "orderId": "1555492358.126073.126767@0502:2",
        "commission": 0.012,
        "side": "buy",
        "price": 136.2,
        "amount": 0.7,
        "time": 1555515807369
 }
 
Author:
Ezer
  • Constructor Details

  • Method Details

    • getId

      public String getId()
      ID of trade
      Returns:
    • getOrderId

      public String getOrderId()
      Id of order
      Returns:
    • getFee

      public BigDecimal getFee()
      Trade fee
      Returns:
    • getSide

      public LatokenOrderSide getSide()
      Order side
      Returns:
    • getPrice

      public BigDecimal getPrice()
      Price of trade
      Returns:
    • getAmount

      public BigDecimal getAmount()
      Amount of trade
      Returns:
    • getTime

      public Date getTime()
      Trade time
      Returns:
    • toString

      public String toString()
      Overrides:
      toString in class Object