Package com.commercetools.api.client
Class ByProjectKeyOrdersSearchPost
java.lang.Object
io.vrap.rmf.base.client.ApiMethod<T,TResult>
io.vrap.rmf.base.client.BodyApiMethod<T,TResult,TBody>
io.vrap.rmf.base.client.TypeBodyApiMethod<ByProjectKeyOrdersSearchPost,OrderPagedSearchResponse,OrderSearchRequest>
com.commercetools.api.client.ByProjectKeyOrdersSearchPost
- All Implemented Interfaces:
ErrorableTrait<ByProjectKeyOrdersSearchPost>,ClientRequestCommand<OrderPagedSearchResponse>,CreateHttpRequestCommand,HttpRequestCommand<OrderPagedSearchResponse>,RequestCommand<OrderPagedSearchResponse>
public class ByProjectKeyOrdersSearchPost
extends TypeBodyApiMethod<ByProjectKeyOrdersSearchPost,OrderPagedSearchResponse,OrderSearchRequest>
implements ErrorableTrait<ByProjectKeyOrdersSearchPost>
CompletableFuture<ApiHttpResponse<com.commercetools.api.models.order.OrderPagedSearchResponse>> result = apiRoot
.withProjectKey("{projectKey}")
.orders()
.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
ConstructorsConstructorDescriptionByProjectKeyOrdersSearchPost(ApiHttpClient apiHttpClient, String projectKey, OrderSearchRequest orderSearchRequest) -
Method Summary
Modifier and TypeMethodDescriptionbooleanexecute(ApiHttpClient client) executeBlocking(ApiHttpClient client, Duration timeout) getBody()inthashCode()intcom.fasterxml.jackson.core.type.TypeReference<OrderPagedSearchResponse>voidsetProjectKey(String projectKey) toString()withBody(OrderSearchRequest orderSearchRequest) Methods 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, withQueryParamsMethods inherited from interface io.vrap.rmf.base.client.ClientRequestCommand
executeBlockingMethods inherited from interface io.vrap.rmf.base.client.CreateHttpRequestCommand
createHttpRequestMethods inherited from interface com.commercetools.api.client.ErrorableTrait
asErrorableTrait, asErrorableTraitToBaseTypeMethods inherited from interface io.vrap.rmf.base.client.RequestCommand
executeBlocking
-
Constructor Details
-
ByProjectKeyOrdersSearchPost
public ByProjectKeyOrdersSearchPost(ApiHttpClient apiHttpClient, String projectKey, OrderSearchRequest orderSearchRequest) -
ByProjectKeyOrdersSearchPost
-
-
Method Details
-
resultType
- Specified by:
resultTypein interfaceHttpRequestCommand<OrderPagedSearchResponse>
-
executeBlocking
public ApiHttpResponse<OrderPagedSearchResponse> executeBlocking(ApiHttpClient client, Duration timeout) - Specified by:
executeBlockingin interfaceClientRequestCommand<OrderPagedSearchResponse>- Specified by:
executeBlockingin classApiMethod<ByProjectKeyOrdersSearchPost,OrderPagedSearchResponse>
-
execute
- Specified by:
executein interfaceClientRequestCommand<OrderPagedSearchResponse>- Specified by:
executein classApiMethod<ByProjectKeyOrdersSearchPost,OrderPagedSearchResponse>
-
getProjectKey
-
setProjectKey
-
getBody
- Overrides:
getBodyin classTypeBodyApiMethod<ByProjectKeyOrdersSearchPost,OrderPagedSearchResponse, OrderSearchRequest>
-
withBody
- Overrides:
withBodyin classTypeBodyApiMethod<ByProjectKeyOrdersSearchPost,OrderPagedSearchResponse, OrderSearchRequest>
-
equals
-
hashCode
public int hashCode() -
toString
-
reflectionHashCode
public int reflectionHashCode()
-