com.xeiam.xchange.okcoin.dto.trade.OkCoinOrderResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xchange-okcoin Show documentation
Show all versions of xchange-okcoin Show documentation
XChange implementation for OKCoin
package com.xeiam.xchange.okcoin.dto.trade;
import com.fasterxml.jackson.annotation.JsonProperty;
public class OkCoinOrderResult extends OkCoinErrorResult {
private final OkCoinOrder[] orders;
public OkCoinOrderResult(@JsonProperty("result") final boolean result, @JsonProperty("error_code") final int errorCode,
@JsonProperty("orders") final OkCoinOrder[] orders) {
super(result, errorCode);
this.orders = orders;
}
public OkCoinOrder[] getOrders() {
return orders;
}
}