org.oxerr.huobi.rest.dto.trade.PlaceOrderResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of huobi-client-rest Show documentation
Show all versions of huobi-client-rest Show documentation
Client for <a href="https://www.huobi.com">Huobi</a> RESTful API.
The newest version!
package org.oxerr.huobi.rest.dto.trade;
import com.fasterxml.jackson.annotation.JsonProperty;
public class PlaceOrderResult extends HuobiError {
private final String result;
private final long id;
public PlaceOrderResult(
@JsonProperty("code") final int code,
@JsonProperty("msg") final String msg,
@JsonProperty("time") final long time,
@JsonProperty("result") final String result,
@JsonProperty("id") final long id) {
super(code, msg, time);
this.result = result;
this.id = id;
}
public String getResult() {
return result;
}
public long getId() {
return id;
}
}