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 OrderFeeData extends BaseObject {
8   
9   	private static final long serialVersionUID = 2015060701L;
10  
11  	private final BigDecimal fee;
12  	private final long orderId;
13  	private final String type;
14  
15  	public OrderFeeData(
16  		@JsonProperty("fee") BigDecimal fee,
17  		@JsonProperty("order_id") long orderId,
18  		@JsonProperty("type") String type) {
19  		this.fee = fee;
20  		this.orderId = orderId;
21  		this.type = type;
22  	}
23  
24  	public BigDecimal getFee() {
25  		return fee;
26  	}
27  
28  	public long getOrderId() {
29  		return orderId;
30  	}
31  
32  	public String getType() {
33  		return type;
34  	}
35  
36  }