Interface SearchProductsRequest.Builder

    • Method Detail

      • acceptLanguage

        SearchProductsRequest.Builder acceptLanguage​(String acceptLanguage)

        The language code.

        • jp - Japanese

        • zh - Chinese

        Parameters:
        acceptLanguage - The language code.

        • jp - Japanese

        • zh - Chinese

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • filtersWithStrings

        SearchProductsRequest.Builder filtersWithStrings​(Map<String,​? extends Collection<String>> filters)

        The search filters. If no search filters are specified, the output includes all products to which the caller has access.

        Parameters:
        filters - The search filters. If no search filters are specified, the output includes all products to which the caller has access.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • filters

        SearchProductsRequest.Builder filters​(Map<ProductViewFilterBy,​? extends Collection<String>> filters)

        The search filters. If no search filters are specified, the output includes all products to which the caller has access.

        Parameters:
        filters - The search filters. If no search filters are specified, the output includes all products to which the caller has access.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • pageSize

        SearchProductsRequest.Builder pageSize​(Integer pageSize)

        The maximum number of items to return with this call.

        Parameters:
        pageSize - The maximum number of items to return with this call.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sortBy

        SearchProductsRequest.Builder sortBy​(String sortBy)

        The sort field. If no value is specified, the results are not sorted.

        Parameters:
        sortBy - The sort field. If no value is specified, the results are not sorted.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ProductViewSortBy, ProductViewSortBy
      • sortOrder

        SearchProductsRequest.Builder sortOrder​(String sortOrder)

        The sort order. If no value is specified, the results are not sorted.

        Parameters:
        sortOrder - The sort order. If no value is specified, the results are not sorted.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SortOrder, SortOrder
      • sortOrder

        SearchProductsRequest.Builder sortOrder​(SortOrder sortOrder)

        The sort order. If no value is specified, the results are not sorted.

        Parameters:
        sortOrder - The sort order. If no value is specified, the results are not sorted.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SortOrder, SortOrder
      • pageToken

        SearchProductsRequest.Builder pageToken​(String pageToken)

        The page token for the next set of results. To retrieve the first set of results, use null.

        Parameters:
        pageToken - The page token for the next set of results. To retrieve the first set of results, use null.
        Returns:
        Returns a reference to this object so that method calls can be chained together.