View Javadoc
1   package org.oxerr.okcoin.rest.dto;
2   
3   import com.fasterxml.jackson.annotation.JsonProperty;
4   
5   public class TradeResult extends ErrorResult {
6   
7   	private static final long serialVersionUID = 20140614L;
8   
9   	private final long orderId;
10  
11  	public TradeResult(
12  			@JsonProperty("result") final boolean result,
13  			@JsonProperty("errorCode") final int errorCode,
14  			@JsonProperty("order_id") final long orderId) {
15  		super(result, errorCode);
16  		this.orderId = orderId;
17  	}
18  
19  	public long getOrderId() {
20  		return orderId;
21  	}
22  
23  }