Class Pagination

java.lang.Object
com.logicommerce.sdk.models.Pagination

public class Pagination extends Object
TaxCode collection
Since:
1.3.0
Author:
Logicommerce
  • 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 int
      page - a int
      perPage - a int
      totalPages - a int
  • Method Details

    • getTotal

      public int getTotal()
      Getter for the field total.
      Returns:
      a int
    • setTotal

      public void setTotal(int value)
      Setter for the field total.
      Parameters:
      value - a int
    • getPage

      public int getPage()
      Getter for the field page.
      Returns:
      a int
    • setPage

      public void setPage(int value)
      Setter for the field page.
      Parameters:
      value - a int
    • getPerPage

      public int getPerPage()
      Getter for the field perPage.
      Returns:
      a int
    • setPerPage

      public void setPerPage(int value)
      Setter for the field perPage.
      Parameters:
      value - a int
    • getTotalPages

      public int getTotalPages()
      Getter for the field totalPages.
      Returns:
      a int
    • setTotalPages

      public void setTotalPages(int value)
      Setter for the field totalPages.
      Parameters:
      value - a int