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

org.oxerr.huobi.rest.dto.trade.PlaceOrderResult Maven / Gradle / Ivy

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;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy