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