1 package org.oxerr.huobi.rest.dto.trade;
2
3 import com.fasterxml.jackson.annotation.JsonProperty;
4
5 public class PlaceOrderResult extends HuobiError {
6
7 private final String result;
8 private final long id;
9
10 public PlaceOrderResult(
11 @JsonProperty("code") final int code,
12 @JsonProperty("msg") final String msg,
13 @JsonProperty("time") final long time,
14 @JsonProperty("result") final String result,
15 @JsonProperty("id") final long id) {
16 super(code, msg, time);
17 this.result = result;
18 this.id = id;
19 }
20
21 public String getResult() {
22 return result;
23 }
24
25 public long getId() {
26 return id;
27 }
28
29 }