Class ByProjectKeyShippingMethodsMatchingOrdereditGet

java.lang.Object
io.vrap.rmf.base.client.ApiMethod<ByProjectKeyShippingMethodsMatchingOrdereditGet,ShippingMethodPagedQueryResponse>
com.commercetools.api.client.ByProjectKeyShippingMethodsMatchingOrdereditGet
All Implemented Interfaces:
Deprecatable200Trait<ByProjectKeyShippingMethodsMatchingOrdereditGet>, ErrorableTrait<ByProjectKeyShippingMethodsMatchingOrdereditGet>, io.vrap.rmf.base.client.ClientRequestCommand<ShippingMethodPagedQueryResponse>, io.vrap.rmf.base.client.CreateHttpRequestCommand, io.vrap.rmf.base.client.RequestCommand<ShippingMethodPagedQueryResponse>

Retrieves all the 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()