com.xeiam.xchange.okcoin.dto.trade.OkCoinPositionResult 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 OkCoinPositionResult extends OkCoinErrorResult {
private final OkCoinPosition[] positions;
public OkCoinPositionResult(@JsonProperty("result") final boolean result, @JsonProperty("errorCode") final int errorCode,
@JsonProperty("holding") final OkCoinPosition[] positions) {
super(result, errorCode);
this.positions = positions;
}
public OkCoinPosition[] getPositions() {
return positions;
}
}