View Javadoc
1   package org.oxerr.huobi.rest.dto.marketdata;
2   
3   import java.math.BigDecimal;
4   
5   import com.fasterxml.jackson.annotation.JsonProperty;
6   
7   public class OrderBookObject {
8   
9   	private final BigDecimal price;
10  	private final BigDecimal level;
11  	private final BigDecimal amount;
12  
13  	public OrderBookObject(
14  			@JsonProperty("price") final BigDecimal price,
15  			@JsonProperty("level") final BigDecimal level,
16  			@JsonProperty("amount") final BigDecimal amount) {
17  		this.price = price;
18  		this.level = level;
19  		this.amount = amount;
20  	}
21  
22  	public BigDecimal getPrice() {
23  		return price;
24  	}
25  
26  	public BigDecimal getLevel() {
27  		return level;
28  	}
29  
30  	public BigDecimal getAmount() {
31  		return amount;
32  	}
33  
34  }