Class ByProjectKeyCartsKeyByKeyDelete

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



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