java.lang.Object
com.logicommerce.sdk.models.Pagination
TaxCode collection
- Since:
- 1.3.0
- Author:
- Logicommerce
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor for Pagination.Pagination(int total, int page, int perPage, int totalPages) Constructor for Pagination. -
Method Summary
Modifier and TypeMethodDescriptionintgetPage()Getter for the fieldpage.intGetter for the fieldperPage.intgetTotal()Getter for the fieldtotal.intGetter for the fieldtotalPages.voidsetPage(int value) Setter for the fieldpage.voidsetPerPage(int value) Setter for the fieldperPage.voidsetTotal(int value) Setter for the fieldtotal.voidsetTotalPages(int value) Setter for the fieldtotalPages.
-
Constructor Details
-
Pagination
public Pagination()Constructor for Pagination. -
Pagination
public Pagination(int total, int page, int perPage, int totalPages) Constructor for Pagination.- Parameters:
total- a intpage- a intperPage- a inttotalPages- a int
-
-
Method Details
-
getTotal
public int getTotal()Getter for the fieldtotal.- Returns:
- a int
-
setTotal
public void setTotal(int value) Setter for the fieldtotal.- Parameters:
value- a int
-
getPage
public int getPage()Getter for the fieldpage.- Returns:
- a int
-
setPage
public void setPage(int value) Setter for the fieldpage.- Parameters:
value- a int
-
getPerPage
public int getPerPage()Getter for the fieldperPage.- Returns:
- a int
-
setPerPage
public void setPerPage(int value) Setter for the fieldperPage.- Parameters:
value- a int
-
getTotalPages
public int getTotalPages()Getter for the fieldtotalPages.- Returns:
- a int
-
setTotalPages
public void setTotalPages(int value) Setter for the fieldtotalPages.- Parameters:
value- a int
-