org.knowm.xchange.okcoin.dto.trade.OkCoinTradeResult 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 org.knowm.xchange.okcoin.dto.trade;
import com.fasterxml.jackson.annotation.JsonProperty;
public class OkCoinTradeResult extends OkCoinErrorResult {
private final long orderId;
public OkCoinTradeResult(
@JsonProperty("result") final boolean result,
@JsonProperty("error_code") final int errorCode,
@JsonProperty("order_id") final long orderId) {
super(result, errorCode);
this.orderId = orderId;
}
public long getOrderId() {
return orderId;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy