View Javadoc
1   package org.oxerr.okcoin.rest.dto;
2   
3   import java.math.BigDecimal;
4   
5   import com.fasterxml.jackson.annotation.JsonProperty;
6   
7   public class Depth extends BaseObject {
8   
9   	private static final long serialVersionUID = 2014070201L;
10  
11  	private final BigDecimal[][] asks;
12  
13  	private final BigDecimal[][] bids;
14  
15  	public Depth(
16  			@JsonProperty("asks") final BigDecimal[][] asks,
17  			@JsonProperty("bids") final BigDecimal[][] bids) {
18  			this.asks = asks;
19  			this.bids = bids;
20  	}
21  
22  	public BigDecimal[][] getAsks() {
23  		return asks;
24  	}
25  
26  	public BigDecimal[][] getBids() {
27  		return bids;
28  	}
29  
30  }