CIOBrowseFacetOptionsQueryBuilder

public class CIOBrowseFacetOptionsQueryBuilder

Request builder for creating an browse facet options query.

  • Create a Browse facet options request query builder

    Declaration

    Swift

    public init(facetName: String)
  • Add a bool indicating whether or not to return hidden facets

    Declaration

    Swift

    public func setShowHiddenFacets(_ showHiddenFacets: Bool) -> CIOBrowseFacetOptionsQueryBuilder
  • Build the request object set all of the provided data

    Usage Example:

    let query = CIOBrowseFacetOptionsQueryBuilder(facetName: "price")
       .setShowHiddenFacets(true)
       .build()
    
    constructor.browseFacetOptions(forQuery: query, completionHandler: { ... })
    

    Declaration

    Swift

    public func build() -> CIOBrowseFacetOptionsQuery