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 Lend extends BaseObject {
8   
9   	private static final long serialVersionUID = 2015022001L;
10  
11  	private final BigDecimal amount;
12  	private final String days;
13  	private final int num;
14  	private final BigDecimal rate;
15  
16  	public Lend(
17  		@JsonProperty("amount") BigDecimal amount,
18  		@JsonProperty("days") String days,
19  		@JsonProperty("num") int num,
20  		@JsonProperty("rate") BigDecimal rate) {
21  		this.amount = amount;
22  		this.days = days;
23  		this.num = num;
24  		this.rate = rate;
25  	}
26  
27  	public BigDecimal getAmount() {
28  		return amount;
29  	}
30  
31  	public String getDays() {
32  		return days;
33  	}
34  
35  	public int getNum() {
36  		return num;
37  	}
38  
39  	public BigDecimal getRate() {
40  		return rate;
41  	}
42  
43  }