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
ConstructorsConstructorDescriptionByProjectKeyOrdersEditsByIDApplyPost(ApiHttpClient apiHttpClient, String projectKey, String ID, OrderEditApply orderEditApply) -
Method Summary
Modifier and TypeMethodDescriptionbooleanexecute(ApiHttpClient client) executeBlocking(ApiHttpClient client, Duration timeout) getBody()getID()inthashCode()intcom.fasterxml.jackson.core.type.TypeReference<OrderEdit>voidvoidsetProjectKey(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, 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
-
ByProjectKeyOrdersEditsByIDApplyPost
public ByProjectKeyOrdersEditsByIDApplyPost(ApiHttpClient apiHttpClient, String projectKey, String ID, OrderEditApply orderEditApply) -
ByProjectKeyOrdersEditsByIDApplyPost
-
-
Method Details
-
resultType
- Specified by:
resultTypein interfaceHttpRequestCommand<OrderEdit>
-
executeBlocking
- Specified by:
executeBlockingin interfaceClientRequestCommand<OrderEdit>- Specified by:
executeBlockingin classApiMethod<ByProjectKeyOrdersEditsByIDApplyPost,OrderEdit>
-
execute
- Specified by:
executein interfaceClientRequestCommand<OrderEdit>- Specified by:
executein classApiMethod<ByProjectKeyOrdersEditsByIDApplyPost,OrderEdit>
-
getProjectKey
-
getID
-
setProjectKey
-
setID
-
getBody
- Overrides:
getBodyin classTypeBodyApiMethod<ByProjectKeyOrdersEditsByIDApplyPost,OrderEdit, OrderEditApply>
-
withBody
- Overrides:
withBodyin classTypeBodyApiMethod<ByProjectKeyOrdersEditsByIDApplyPost,OrderEdit, OrderEditApply>
-
equals
-
hashCode
public int hashCode() -
toString
-
reflectionHashCode
public int reflectionHashCode()
-