Class ByProjectKeyCartsKeyByKeyGet

All Implemented Interfaces:
CartExpansionMixin<ByProjectKeyCartsKeyByKeyGet>, Deprecatable200Trait<ByProjectKeyCartsKeyByKeyGet>, ErrorableTrait<ByProjectKeyCartsKeyByKeyGet>, ExpandableRequest<ByProjectKeyCartsKeyByKeyGet,CartExpansionBuilderDsl>, ExpandableTrait<ByProjectKeyCartsKeyByKeyGet>, ClientRequestCommand<Cart>, CreateHttpRequestCommand, HttpRequestCommand<Cart>, RequestCommand<Cart>

To ensure the Cart is up-to-date with current values (such as Prices and Discounts), use the Recalculate update action.



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