Package com.xero.models.bankfeeds
Class Pagination
java.lang.Object
com.xero.models.bankfeeds.Pagination
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanNumber of items returnedgetPage()Page number which specifies the set of records to retrieve.Number of pages availablePage size which specifies how many records per page will be returned (default 50).inthashCode()Number of items returnedPage number which specifies the set of records to retrieve.Number of pages availablePage size which specifies how many records per page will be returned (default 50).voidsetItemCount(Integer itemCount) Number of items returnedvoidPage number which specifies the set of records to retrieve.voidsetPageCount(Integer pageCount) Number of pages availablevoidsetPageSize(Integer pageSize) Page size which specifies how many records per page will be returned (default 50).toString()
-
Constructor Details
-
Pagination
public Pagination()
-
-
Method Details
-
page
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.- Parameters:
page- Integer- Returns:
- Pagination
-
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
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.- Parameters:
page- Integer
-
pageSize
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.- Parameters:
pageSize- Integer- Returns:
- Pagination
-
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
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.- Parameters:
pageSize- Integer
-
pageCount
Number of pages available- Parameters:
pageCount- Integer- Returns:
- Pagination
-
getPageCount
-
setPageCount
Number of pages available- Parameters:
pageCount- Integer
-
itemCount
Number of items returned- Parameters:
itemCount- Integer- Returns:
- Pagination
-
getItemCount
-
setItemCount
Number of items returned- Parameters:
itemCount- Integer
-
equals
-
hashCode
-
toString
-