Class ByProjectKeyShippingMethodsMatchingOrdereditGet

All Implemented Interfaces:
Deprecatable200Trait<ByProjectKeyShippingMethodsMatchingOrdereditGet>, ErrorableTrait<ByProjectKeyShippingMethodsMatchingOrdereditGet>, ClientRequestCommand<ShippingMethodPagedQueryResponse>, CreateHttpRequestCommand, HttpRequestCommand<ShippingMethodPagedQueryResponse>, RequestCommand<ShippingMethodPagedQueryResponse>

Retrieves all the active ShippingMethods that can ship to the given Location for an OrderEdit.

If the OrderEdit preview cannot be generated, an EditPreviewFailed error is returned.



   CompletableFuture<ApiHttpResponse<com.commercetools.api.models.shipping_method.ShippingMethodPagedQueryResponse>> result = apiRoot
            .withProjectKey("{projectKey}")
            .shippingMethods()
            .matchingOrderedit()
            .get()
            .withOrderEditId(orderEditId)
            .withCountry(country)
            .execute()