Package com.commercetools.api.client
Class ByProjectKeyOrdersEditsByIDApplyPost
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<ByProjectKeyOrdersEditsByIDApplyPost,OrderEdit,OrderEditApply>
com.commercetools.api.client.ByProjectKeyOrdersEditsByIDApplyPost
- All Implemented Interfaces:
ErrorableTrait<ByProjectKeyOrdersEditsByIDApplyPost>
,ClientRequestCommand<OrderEdit>
,CreateHttpRequestCommand
,HttpRequestCommand<OrderEdit>
,RequestCommand<OrderEdit>
public class ByProjectKeyOrdersEditsByIDApplyPost
extends TypeBodyApiMethod<ByProjectKeyOrdersEditsByIDApplyPost,OrderEdit,OrderEditApply>
implements ErrorableTrait<ByProjectKeyOrdersEditsByIDApplyPost>
Applying an OrderEdit produces the OrderEditApplied Message.
CompletableFuture<ApiHttpResponse<com.commercetools.api.models.order_edit.OrderEdit>> result = apiRoot
.withProjectKey("{projectKey}")
.orders()
.edits()
.withId("{ID}")
.apply()
.post(null)
.execute()
-
Nested Class Summary
Nested classes/interfaces inherited from class io.vrap.rmf.base.client.ApiMethod
ApiMethod.ParamEntry<K,
V> -
Constructor Summary
ConstructorDescriptionByProjectKeyOrdersEditsByIDApplyPost
(ApiHttpClient apiHttpClient, String projectKey, String ID, OrderEditApply orderEditApply) -
Method Summary
Modifier and TypeMethodDescriptionboolean
execute
(ApiHttpClient client) executeBlocking
(ApiHttpClient client, Duration timeout) getBody()
getID()
int
hashCode()
int
com.fasterxml.jackson.core.type.TypeReference<OrderEdit>
void
void
setProjectKey
(String projectKey) toString()
withBody
(OrderEditApply orderEditApply) 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, withQueryParams
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
-
ByProjectKeyOrdersEditsByIDApplyPost
public ByProjectKeyOrdersEditsByIDApplyPost(ApiHttpClient apiHttpClient, String projectKey, String ID, OrderEditApply orderEditApply) -
ByProjectKeyOrdersEditsByIDApplyPost
-
-
Method Details
-
resultType
- Specified by:
resultType
in interfaceHttpRequestCommand<OrderEdit>
-
executeBlocking
- Specified by:
executeBlocking
in interfaceClientRequestCommand<OrderEdit>
- Specified by:
executeBlocking
in classApiMethod<ByProjectKeyOrdersEditsByIDApplyPost,
OrderEdit>
-
execute
- Specified by:
execute
in interfaceClientRequestCommand<OrderEdit>
- Specified by:
execute
in classApiMethod<ByProjectKeyOrdersEditsByIDApplyPost,
OrderEdit>
-
getProjectKey
-
getID
-
setProjectKey
-
setID
-
getBody
- Overrides:
getBody
in classTypeBodyApiMethod<ByProjectKeyOrdersEditsByIDApplyPost,
OrderEdit, OrderEditApply>
-
withBody
- Overrides:
withBody
in classTypeBodyApiMethod<ByProjectKeyOrdersEditsByIDApplyPost,
OrderEdit, OrderEditApply>
-
equals
-
hashCode
public int hashCode() -
toString
-
reflectionHashCode
public int reflectionHashCode()
-