Class ByProjectKeyOrdersOrderNumberByOrderNumberDelete

java.lang.Object
io.vrap.rmf.base.client.ApiMethod<T,TResult>
io.vrap.rmf.base.client.TypeApiMethod<ByProjectKeyOrdersOrderNumberByOrderNumberDelete,Order>
com.commercetools.api.client.ByProjectKeyOrdersOrderNumberByOrderNumberDelete
All Implemented Interfaces:
ConflictingTrait<ByProjectKeyOrdersOrderNumberByOrderNumberDelete>, DataerasureTrait<ByProjectKeyOrdersOrderNumberByOrderNumberDelete>, Deprecatable200Trait<ByProjectKeyOrdersOrderNumberByOrderNumberDelete>, ErrorableTrait<ByProjectKeyOrdersOrderNumberByOrderNumberDelete>, ExpandableTrait<ByProjectKeyOrdersOrderNumberByOrderNumberDelete>, VersionedTrait<ByProjectKeyOrdersOrderNumberByOrderNumberDelete>, ClientRequestCommand<Order>, CreateHttpRequestCommand, HttpRequestCommand<Order>, RequestCommand<Order>

Deleting an Order produces the OrderDeleted Message.



   CompletableFuture<ApiHttpResponse<com.commercetools.api.models.order.Order>> result = apiRoot
            .withProjectKey("{projectKey}")
            .orders()
            .withOrderNumber("{orderNumber}")
            .delete()
            .withVersion(version)
            .execute()