Class SortOptionRequest

java.lang.Object
io.constructor.client.SortOptionRequest

public class SortOptionRequest extends Object
Constructor.io Sort Option Request
  • Constructor Details

    • SortOptionRequest

      public SortOptionRequest(SortOption sortOption, String section)
      Creates a sort option request
      Parameters:
      sortOption - the sort option to be created/updated
      section - the section to which the sort option belongs
    • SortOptionRequest

      public SortOptionRequest(SortOption sortOption)
      Creates a sort option request with default section "Products"
      Parameters:
      sortOption - the sort option to be created/updated
  • Method Details

    • getSortOption

      public SortOption getSortOption()
      Returns:
      the sort option
    • setSortOption

      public void setSortOption(SortOption sortOption)
      Parameters:
      sortOption - the sort option to set
    • getSection

      public String getSection()
      Returns:
      the section
    • setSection

      public void setSection(String section)
      Parameters:
      section - the section to set