Package io.constructor.client
Class SortOptionRequest
java.lang.Object
io.constructor.client.SortOptionRequest
Constructor.io Sort Option Request
-
Constructor Summary
ConstructorsConstructorDescriptionSortOptionRequest(SortOption sortOption) Creates a sort option request with default section "Products"SortOptionRequest(SortOption sortOption, String section) Creates a sort option request -
Method Summary
Modifier and TypeMethodDescriptionvoidsetSection(String section) voidsetSortOption(SortOption sortOption)
-
Constructor Details
-
SortOptionRequest
Creates a sort option request- Parameters:
sortOption- the sort option to be created/updatedsection- the section to which the sort option belongs
-
SortOptionRequest
Creates a sort option request with default section "Products"- Parameters:
sortOption- the sort option to be created/updated
-
-
Method Details
-
getSortOption
- Returns:
- the sort option
-
setSortOption
- Parameters:
sortOption- the sort option to set
-
getSection
- Returns:
- the section
-
setSection
- Parameters:
section- the section to set
-