Package com.xero.models.bankfeeds
Class Pagination
java.lang.Object
com.xero.models.bankfeeds.Pagination
public class Pagination extends Object
Pagination
-
Constructor Summary
Constructors Constructor Description Pagination() -
Method Summary
Modifier and Type Method Description booleanequals(Object o)IntegergetItemCount()Number of items returnedIntegergetPage()Page number which specifies the set of records to retrieve.IntegergetPageCount()Number of pages availableIntegergetPageSize()Page size which specifies how many records per page will be returned (default 50).inthashCode()PaginationitemCount(Integer itemCount)Paginationpage(Integer page)PaginationpageCount(Integer pageCount)PaginationpageSize(Integer pageSize)voidsetItemCount(Integer itemCount)voidsetPage(Integer page)voidsetPageCount(Integer pageCount)voidsetPageSize(Integer pageSize)StringtoString()
-
Constructor Details
-
Pagination
public Pagination()
-
-
Method Details
-
page
-
getPage
Page number which specifies the set of records to retrieve. Example - https://api.xero.com/bankfeeds.xro/1.0/Statements?page=2 to get the second set of the records. When page value is not a number or a negative number, by default, the first set of records is returned.- Returns:
- page
-
setPage
-
pageSize
-
getPageSize
Page size which specifies how many records per page will be returned (default 50). Example - https://api.xero.com/bankfeeds.xro/1.0/Statements?pageSize=100 to specify page size of 100.- Returns:
- pageSize
-
setPageSize
-
pageCount
-
getPageCount
Number of pages available- Returns:
- pageCount
-
setPageCount
-
itemCount
-
getItemCount
Number of items returned- Returns:
- itemCount
-
setItemCount
-
equals
-
hashCode
public int hashCode() -
toString
-