View Javadoc
1   package org.oxerr.huobi.websocket.dto.response.payload;
2   
3   import org.oxerr.huobi.websocket.dto.response.service.ReqSymbolListResponse;
4   
5   /**
6    * Payload of {@link ReqSymbolListResponse}.
7    */
8   public class ReqSymbolListPayload extends AbstractPayload {
9   
10  	private final String[] symbolId;
11  	private final String[] symbolName;
12  	private final String[] cryptoId;
13  	private final String[] cryptoName;
14  	private final String[] exchangeId;
15  	private final String[] exchangeName;
16  	private final String[] currencyId;
17  	private final String[] currencyName;
18  
19  	/**
20  	 * 获取交易代码列表
21  	 *
22  	 * @param symbolId 交易代码
23  	 * @param symbolName 虚拟货币名称
24  	 * @param cryptoId 数字货币id
25  	 * @param cryptoName 数字货币名称
26  	 * @param exchangeId 交易所Id
27  	 * @param exchangeName 交易所名称
28  	 * @param currencyId 现金Id
29  	 * @param currencyName 现金名称
30  	 */
31  	public ReqSymbolListPayload(String[] symbolId, String[] symbolName,
32  			String[] cryptoId, String[] cryptoName, String[] exchangeId,
33  			String[] exchangeName, String[] currencyId, String[] currencyName) {
34  		this.symbolId = symbolId;
35  		this.symbolName = symbolName;
36  		this.cryptoId = cryptoId;
37  		this.cryptoName = cryptoName;
38  		this.exchangeId = exchangeId;
39  		this.exchangeName = exchangeName;
40  		this.currencyId = currencyId;
41  		this.currencyName = currencyName;
42  	}
43  
44  	public String[] getSymbolId() {
45  		return symbolId;
46  	}
47  
48  	public String[] getSymbolName() {
49  		return symbolName;
50  	}
51  
52  	public String[] getCryptoId() {
53  		return cryptoId;
54  	}
55  
56  	public String[] getCryptoName() {
57  		return cryptoName;
58  	}
59  
60  	public String[] getExchangeId() {
61  		return exchangeId;
62  	}
63  
64  	public String[] getExchangeName() {
65  		return exchangeName;
66  	}
67  
68  	public String[] getCurrencyId() {
69  		return currencyId;
70  	}
71  
72  	public String[] getCurrencyName() {
73  		return currencyName;
74  	}
75  
76  }