Package com.commercetools.api.client
Class ByProjectKeyOrdersEditsByIDApplyPostString
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<T,TResult,String>
io.vrap.rmf.base.client.StringBodyApiMethod<ByProjectKeyOrdersEditsByIDApplyPostString,OrderEdit>
com.commercetools.api.client.ByProjectKeyOrdersEditsByIDApplyPostString
- All Implemented Interfaces:
ErrorableTrait<ByProjectKeyOrdersEditsByIDApplyPostString>,ClientRequestCommand<OrderEdit>,CreateHttpRequestCommand,HttpRequestCommand<OrderEdit>,RequestCommand<OrderEdit>
public class ByProjectKeyOrdersEditsByIDApplyPostString
extends StringBodyApiMethod<ByProjectKeyOrdersEditsByIDApplyPostString,OrderEdit>
implements ErrorableTrait<ByProjectKeyOrdersEditsByIDApplyPostString>
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("")
.execute()
-
Nested Class Summary
Nested classes/interfaces inherited from class io.vrap.rmf.base.client.ApiMethod
ApiMethod.ParamEntry<K,V> -
Constructor Summary
ConstructorsConstructorDescriptionByProjectKeyOrdersEditsByIDApplyPostString(ApiHttpClient apiHttpClient, String projectKey, String ID, String 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()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
-
ByProjectKeyOrdersEditsByIDApplyPostString
public ByProjectKeyOrdersEditsByIDApplyPostString(ApiHttpClient apiHttpClient, String projectKey, String ID, String orderEditApply) -
ByProjectKeyOrdersEditsByIDApplyPostString
-
-
Method Details
-
resultType
- Specified by:
resultTypein interfaceHttpRequestCommand<OrderEdit>
-
executeBlocking
- Specified by:
executeBlockingin interfaceClientRequestCommand<OrderEdit>- Specified by:
executeBlockingin classApiMethod<ByProjectKeyOrdersEditsByIDApplyPostString,OrderEdit>
-
execute
- Specified by:
executein interfaceClientRequestCommand<OrderEdit>- Specified by:
executein classApiMethod<ByProjectKeyOrdersEditsByIDApplyPostString,OrderEdit>
-
getProjectKey
-
getID
-
setProjectKey
-
setID
-
getBody
- Overrides:
getBodyin classStringBodyApiMethod<ByProjectKeyOrdersEditsByIDApplyPostString,OrderEdit>
-
withBody
- Overrides:
withBodyin classStringBodyApiMethod<ByProjectKeyOrdersEditsByIDApplyPostString,OrderEdit>
-
equals
-
hashCode
public int hashCode() -
toString
-
reflectionHashCode
public int reflectionHashCode()
-