Package com.commercetools.api.client
Class ByProjectKeyMeOrdersQuotesPost
java.lang.Object
io.vrap.rmf.base.client.ApiMethod<T,TResult>
io.vrap.rmf.base.client.BodyApiMethod<ByProjectKeyMeOrdersQuotesPost,Order,MyOrderFromQuoteDraft>
com.commercetools.api.client.ByProjectKeyMeOrdersQuotesPost
- All Implemented Interfaces:
io.vrap.rmf.base.client.ClientRequestCommand<Order>
,io.vrap.rmf.base.client.CreateHttpRequestCommand
,io.vrap.rmf.base.client.RequestCommand<Order>
public class ByProjectKeyMeOrdersQuotesPost
extends io.vrap.rmf.base.client.BodyApiMethod<ByProjectKeyMeOrdersQuotesPost,Order,MyOrderFromQuoteDraft>
CompletableFuture<ApiHttpResponse<com.commercetools.api.models.order.Order>> result = apiRoot
.withProjectKey("{projectKey}")
.me()
.orders()
.quotes()
.post(null)
.execute()
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionByProjectKeyMeOrdersQuotesPost
(io.vrap.rmf.base.client.ApiHttpClient apiHttpClient, String projectKey, MyOrderFromQuoteDraft myOrderFromQuoteDraft) -
Method Summary
Modifier and TypeMethodDescriptionboolean
CompletableFuture<io.vrap.rmf.base.client.ApiHttpResponse<Order>>
execute
(io.vrap.rmf.base.client.ApiHttpClient client) io.vrap.rmf.base.client.ApiHttpResponse<Order>
executeBlocking
(io.vrap.rmf.base.client.ApiHttpClient client, Duration timeout) getBody()
int
hashCode()
int
void
setProjectKey
(String projectKey) toString()
withBody
(MyOrderFromQuoteDraft myOrderFromQuoteDraft) 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.RequestCommand
executeBlocking
-
Constructor Details
-
ByProjectKeyMeOrdersQuotesPost
public ByProjectKeyMeOrdersQuotesPost(io.vrap.rmf.base.client.ApiHttpClient apiHttpClient, String projectKey, MyOrderFromQuoteDraft myOrderFromQuoteDraft) -
ByProjectKeyMeOrdersQuotesPost
-
-
Method Details
-
executeBlocking
public io.vrap.rmf.base.client.ApiHttpResponse<Order> executeBlocking(io.vrap.rmf.base.client.ApiHttpClient client, Duration timeout) - Specified by:
executeBlocking
in interfaceio.vrap.rmf.base.client.ClientRequestCommand<Order>
- Specified by:
executeBlocking
in classio.vrap.rmf.base.client.ApiMethod<ByProjectKeyMeOrdersQuotesPost,
Order>
-
execute
public CompletableFuture<io.vrap.rmf.base.client.ApiHttpResponse<Order>> execute(io.vrap.rmf.base.client.ApiHttpClient client) - Specified by:
execute
in interfaceio.vrap.rmf.base.client.ClientRequestCommand<Order>
- Specified by:
execute
in classio.vrap.rmf.base.client.ApiMethod<ByProjectKeyMeOrdersQuotesPost,
Order>
-
getProjectKey
-
setProjectKey
-
getBody
- Overrides:
getBody
in classio.vrap.rmf.base.client.BodyApiMethod<ByProjectKeyMeOrdersQuotesPost,
Order, MyOrderFromQuoteDraft>
-
withBody
- Overrides:
withBody
in classio.vrap.rmf.base.client.BodyApiMethod<ByProjectKeyMeOrdersQuotesPost,
Order, MyOrderFromQuoteDraft>
-
equals
-
hashCode
-
toString
-
reflectionHashCode
public int reflectionHashCode()
-