Package com.commercetools.api.client
Class ByProjectKeyProductProjectionsSearchPost
java.lang.Object
io.vrap.rmf.base.client.ApiMethod<T,TResult>
io.vrap.rmf.base.client.TypeApiMethod<ByProjectKeyProductProjectionsSearchPost,ProductProjectionPagedSearchResponse>
com.commercetools.api.client.ByProjectKeyProductProjectionsSearchPost
- All Implemented Interfaces:
ByProjectKeyProductProjectionsSearchPostMixin
,ErrorableTrait<ByProjectKeyProductProjectionsSearchPost>
,ClientRequestCommand<ProductProjectionPagedSearchResponse>
,CreateHttpRequestCommand
,HttpRequestCommand<ProductProjectionPagedSearchResponse>
,RequestCommand<ProductProjectionPagedSearchResponse>
public class ByProjectKeyProductProjectionsSearchPost
extends TypeApiMethod<ByProjectKeyProductProjectionsSearchPost,ProductProjectionPagedSearchResponse>
implements ByProjectKeyProductProjectionsSearchPostMixin, ErrorableTrait<ByProjectKeyProductProjectionsSearchPost>
Product Projection Search
CompletableFuture<ApiHttpResponse<com.commercetools.api.models.product.ProductProjectionPagedSearchResponse>> result = apiRoot
.withProjectKey("{projectKey}")
.productProjections()
.search()
.post(null)
.execute()
-
Nested Class Summary
Nested classes/interfaces inherited from class io.vrap.rmf.base.client.ApiMethod
ApiMethod.ParamEntry<K,
V> -
Constructor Summary
ConstructorDescriptionByProjectKeyProductProjectionsSearchPost
(ApiHttpClient apiHttpClient, String projectKey, List<ApiMethod.ParamEntry<String, String>> formParams) -
Method Summary
Modifier and TypeMethodDescriptionaddFormParam
(String key, V value) add an additional form parameteraddFormParams
(List<ApiMethod.ParamEntry<String, String>> formParams) add the form parametersboolean
execute
(ApiHttpClient client) executeBlocking
(ApiHttpClient client, Duration timeout) getFirstFormParam
(String key) getFormParam
(String key) int
hashCode()
int
com.fasterxml.jackson.core.type.TypeReference<ProductProjectionPagedSearchResponse>
void
setProjectKey
(String projectKey) toString()
withFormParam
(String key, V value) set the form parameter with the specified valuewithFormParams
(List<ApiMethod.ParamEntry<String, String>> formParams) set the form parameterswithoutFormParam
(String key) removes the specified form parameterMethods inherited from class io.vrap.rmf.base.client.ApiMethod
addHeader, addQueryParam, addQueryParams, contentType, createHttpRequest, execute, execute, execute, execute, execute, execute, execute, executeBlocking, executeBlocking, executeBlocking, executeBlocking, executeBlocking, executeBlocking, executeBlocking, executeBlocking, executeBlocking, executeBlocking, executeBlocking, executeBlocking, executeBlocking, getFirstQueryParam, getHeaders, getQueryParam, getQueryParams, getQueryParamUriString, getQueryParamUriStrings, send, sendBlocking, sendBlocking, with, with, withHeader, withHeaders, withHttpRequest, withoutHeader, withoutQueryParam, withQueryParam, withQueryParams
Methods inherited from interface com.commercetools.api.client.ByProjectKeyProductProjectionsSearchPostMixin
addExpand, addExpand, addExpand, addExpand, addFacet, addFacet, addFacet, addFacet, addFilter, addFilter, addFilter, addFilter, addFilterFacets, addFilterFacets, addFilterFacets, addFilterFacets, addFilterQuery, addFilterQuery, addFilterQuery, addFilterQuery, addFuzzy, addFuzzy, addFuzzy, addFuzzy, addFuzzyLevel, addFuzzyLevel, addFuzzyLevel, addFuzzyLevel, addLimit, addLimit, addLimit, addLimit, addLocaleProjection, addLocaleProjection, addLocaleProjection, addLocaleProjection, addMarkMatchingVariants, addMarkMatchingVariants, addMarkMatchingVariants, addMarkMatchingVariants, addOffset, addOffset, addOffset, addOffset, addPriceChannel, addPriceChannel, addPriceChannel, addPriceChannel, addPriceCountry, addPriceCountry, addPriceCountry, addPriceCountry, addPriceCurrency, addPriceCurrency, addPriceCurrency, addPriceCurrency, addPriceCustomerGroup, addPriceCustomerGroup, addPriceCustomerGroup, addPriceCustomerGroup, addSort, addSort, addSort, addSort, addStaged, addStaged, addStaged, addStaged, addStoreProjection, addStoreProjection, addStoreProjection, addStoreProjection, addText, addText, addWithTotal, addWithTotal, addWithTotal, addWithTotal, facet, facetDsl, filter, filterDsl, filterFacets, filterQuery, withExpand, withExpand, withExpand, withExpand, withFacet, withFacet, withFacet, withFacet, withFilter, withFilter, withFilter, withFilter, withFilterFacets, withFilterFacets, withFilterFacets, withFilterFacets, withFilterQuery, withFilterQuery, withFilterQuery, withFilterQuery, withFuzzy, withFuzzy, withFuzzy, withFuzzy, withFuzzyLevel, withFuzzyLevel, withFuzzyLevel, withFuzzyLevel, withLimit, withLimit, withLimit, withLimit, withLocaleProjection, withLocaleProjection, withLocaleProjection, withLocaleProjection, withMarkMatchingVariants, withMarkMatchingVariants, withMarkMatchingVariants, withMarkMatchingVariants, withOffset, withOffset, withOffset, withOffset, withPriceChannel, withPriceChannel, withPriceChannel, withPriceChannel, withPriceCountry, withPriceCountry, withPriceCountry, withPriceCountry, withPriceCurrency, withPriceCurrency, withPriceCurrency, withPriceCurrency, withPriceCustomerGroup, withPriceCustomerGroup, withPriceCustomerGroup, withPriceCustomerGroup, withSort, withSort, withSort, withSort, withStaged, withStaged, withStaged, withStaged, withStoreProjection, withStoreProjection, withStoreProjection, withStoreProjection, withText, withText, withWithTotal, withWithTotal, withWithTotal, withWithTotal
Methods inherited from interface io.vrap.rmf.base.client.ClientRequestCommand
executeBlocking
Methods inherited from interface io.vrap.rmf.base.client.CreateHttpRequestCommand
createHttpRequest
Methods inherited from interface com.commercetools.api.client.ErrorableTrait
asErrorableTrait, asErrorableTraitToBaseType
Methods inherited from interface io.vrap.rmf.base.client.RequestCommand
executeBlocking
-
Constructor Details
-
ByProjectKeyProductProjectionsSearchPost
public ByProjectKeyProductProjectionsSearchPost(ApiHttpClient apiHttpClient, String projectKey, List<ApiMethod.ParamEntry<String, String>> formParams) -
ByProjectKeyProductProjectionsSearchPost
-
-
Method Details
-
resultType
public com.fasterxml.jackson.core.type.TypeReference<ProductProjectionPagedSearchResponse> resultType()- Specified by:
resultType
in interfaceHttpRequestCommand<ProductProjectionPagedSearchResponse>
-
executeBlocking
public ApiHttpResponse<ProductProjectionPagedSearchResponse> executeBlocking(ApiHttpClient client, Duration timeout) - Specified by:
executeBlocking
in interfaceClientRequestCommand<ProductProjectionPagedSearchResponse>
- Specified by:
executeBlocking
in classApiMethod<ByProjectKeyProductProjectionsSearchPost,
ProductProjectionPagedSearchResponse>
-
execute
public CompletableFuture<ApiHttpResponse<ProductProjectionPagedSearchResponse>> execute(ApiHttpClient client) - Specified by:
execute
in interfaceClientRequestCommand<ProductProjectionPagedSearchResponse>
- Specified by:
execute
in classApiMethod<ByProjectKeyProductProjectionsSearchPost,
ProductProjectionPagedSearchResponse>
-
getProjectKey
-
setProjectKey
-
addFormParam
add an additional form parameter- Specified by:
addFormParam
in interfaceByProjectKeyProductProjectionsSearchPostMixin
- Type Parameters:
V
- value type- Parameters:
key
- form parameter namevalue
- form parameter value- Returns:
- ByProjectKeyProductProjectionsSearchPost
-
withFormParam
set the form parameter with the specified value- Specified by:
withFormParam
in interfaceByProjectKeyProductProjectionsSearchPostMixin
- Type Parameters:
V
- value type- Parameters:
key
- form parameter namevalue
- form parameter value- Returns:
- ByProjectKeyProductProjectionsSearchPost
-
withoutFormParam
removes the specified form parameter- Specified by:
withoutFormParam
in interfaceByProjectKeyProductProjectionsSearchPostMixin
- Parameters:
key
- form parameter name- Returns:
- ByProjectKeyProductProjectionsSearchPost
-
withFormParams
public ByProjectKeyProductProjectionsSearchPost withFormParams(List<ApiMethod.ParamEntry<String, String>> formParams) set the form parameters- Specified by:
withFormParams
in interfaceByProjectKeyProductProjectionsSearchPostMixin
- Parameters:
formParams
- list of form parameters- Returns:
- ByProjectKeyProductProjectionsSearchPost
-
addFormParams
public ByProjectKeyProductProjectionsSearchPost addFormParams(List<ApiMethod.ParamEntry<String, String>> formParams) add the form parameters- Specified by:
addFormParams
in interfaceByProjectKeyProductProjectionsSearchPostMixin
- Parameters:
formParams
- list of form parameters- Returns:
- ByProjectKeyProductProjectionsSearchPost
-
getFormParams
-
getFormParam
-
getFormParamUriStrings
-
getFormParamUriString
-
getFirstFormParam
-
equals
-
hashCode
public int hashCode() -
toString
-
reflectionHashCode
public int reflectionHashCode()
-