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

org.knowm.xchange.okcoin.dto.trade.OkCoinFuturesOrderResult Maven / Gradle / Ivy

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

import com.fasterxml.jackson.annotation.JsonProperty;

public class OkCoinFuturesOrderResult extends OkCoinErrorResult {

  private final OkCoinFuturesOrder[] orders;

  public OkCoinFuturesOrderResult(
      @JsonProperty("result") final boolean result,
      @JsonProperty("error_code") final int errorCode,
      @JsonProperty("orders") final OkCoinFuturesOrder[] orders) {

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

  public OkCoinFuturesOrder[] getOrders() {

    return orders;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy