View Javadoc
1   package org.oxerr.huobi.websocket.dto.response.payload;
2   
3   import java.math.BigDecimal;
4   
5   import org.oxerr.huobi.websocket.dto.response.service.ReqSymbolDetailResponse;
6   
7   /**
8    * Payload of {@link ReqSymbolDetailResponse}.
9    */
10  public class ReqSymbolDetailPayload extends ReqSymbolListPayload {
11  
12  	private final BigDecimal[] total;
13  	private final BigDecimal[] suply;
14  	private final String[] introduction;
15  
16  	/**
17  	 * 获取交易代码详细信息
18  	 *
19  	 * @param symbolId 交易代码
20  	 * @param symbolName 虚拟货币名称
21  	 * @param cryptoId 数字货币id
22  	 * @param cryptoName 数字货币名称
23  	 * @param exchangeId 交易所Id
24  	 * @param exchangeName 交易所名称
25  	 * @param currencyId 现金Id
26  	 * @param currencyName 现金名称
27  	 * @param total 总量
28  	 * @param suply 流通量
29  	 * @param introduction 中文名
30  	 */
31  	public ReqSymbolDetailPayload(String[] symbolId, String[] symbolName,
32  			String[] cryptoId, String[] cryptoName, String[] exchangeId,
33  			String[] exchangeName, String[] currencyId, String[] currencyName,
34  			BigDecimal[] total, BigDecimal[] suply, String[] introduction) {
35  		super(symbolId, symbolName, cryptoId, cryptoName, exchangeId,
36  				exchangeName, currencyId, currencyName);
37  		this.total = total;
38  		this.suply = suply;
39  		this.introduction = introduction;
40  	}
41  
42  	public BigDecimal[] getTotal() {
43  		return total;
44  	}
45  
46  	public BigDecimal[] getSuply() {
47  		return suply;
48  	}
49  
50  	public String[] getIntroduction() {
51  		return introduction;
52  	}
53  
54  }