Class ByProjectKeyCartsByIDDelete

All Implemented Interfaces:
ApiDeleteMethod<ByProjectKeyCartsByIDDelete,Cart>, CartExpansionMixin<ByProjectKeyCartsByIDDelete>, ConflictingTrait<ByProjectKeyCartsByIDDelete>, DataerasureTrait<ByProjectKeyCartsByIDDelete>, Deprecatable200Trait<ByProjectKeyCartsByIDDelete>, ErrorableTrait<ByProjectKeyCartsByIDDelete>, ExpandableRequest<ByProjectKeyCartsByIDDelete,CartExpansionBuilderDsl>, ExpandableTrait<ByProjectKeyCartsByIDDelete>, VersionedTrait<ByProjectKeyCartsByIDDelete>, ClientRequestCommand<Cart>, CreateHttpRequestCommand, HttpRequestCommand<Cart>, RequestCommand<Cart>



   CompletableFuture<ApiHttpResponse<com.commercetools.api.models.cart.Cart>> result = apiRoot
            .withProjectKey("{projectKey}")
            .carts()
            .withId("{ID}")
            .delete()
            .withVersion(version)
            .execute()