View Javadoc
1   package org.oxerr.okcoin.rest.dto;
2   
3   public class IcebergOrderHistory extends BaseObject {
4   
5   	private static final long serialVersionUID = 2015021901L;
6   
7   	/**
8   	 * 1 based.
9   	 */
10  	private final int currentPage;
11  
12  	private final boolean hasNextPage;
13  
14  	private final IcebergOrder[] orders;
15  
16  	public IcebergOrderHistory(int currentPage, boolean hasNextPage, IcebergOrder[] orders) {
17  		this.currentPage = currentPage;
18  		this.hasNextPage = hasNextPage;
19  		this.orders = orders;
20  	}
21  
22  	public int getCurrentPage() {
23  		return currentPage;
24  	}
25  
26  	public IcebergOrder[] getOrders() {
27  		return orders;
28  	}
29  
30  	public boolean hasNextPage() {
31  		return hasNextPage;
32  	}
33  
34  }