All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.knowm.xchange.gateio.dto.trade.GateioOpenOrders Maven / Gradle / Ivy

There is a newer version: 5.2.1
Show newest version
package org.knowm.xchange.gateio.dto.trade;

import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
import org.knowm.xchange.gateio.dto.GateioBaseResponse;

/** Created by David Henry on 2/19/14. */
public class GateioOpenOrders extends GateioBaseResponse {

  private final List orders;

  /**
   * Constructor
   *
   * @param result
   * @param orders
   * @param msg
   */
  public GateioOpenOrders(
      @JsonProperty("result") Boolean result,
      @JsonProperty("orders") List orders,
      @JsonProperty("msg") String msg) {

    super(result, msg);
    this.orders = orders;
  }

  public List getOrders() {

    return orders;
  }

  @Override
  public String toString() {

    return "BTEROpenOrdersReturn [orders=" + orders + "]";
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy