Class ByProjectKeyShippingMethodsMatchingLocationHead

java.lang.Object
io.vrap.rmf.base.client.ApiMethod<T,TResult>
io.vrap.rmf.base.client.TypeApiMethod<ByProjectKeyShippingMethodsMatchingLocationHead,JsonNode>
com.commercetools.api.client.ByProjectKeyShippingMethodsMatchingLocationHead
All Implemented Interfaces:
Deprecatable200Trait<ByProjectKeyShippingMethodsMatchingLocationHead>, ErrorableTrait<ByProjectKeyShippingMethodsMatchingLocationHead>, io.vrap.rmf.base.client.ClientRequestCommand<JsonNode>, io.vrap.rmf.base.client.CreateHttpRequestCommand, io.vrap.rmf.base.client.HttpRequestCommand<JsonNode>, io.vrap.rmf.base.client.RequestCommand<JsonNode>

public class ByProjectKeyShippingMethodsMatchingLocationHead extends io.vrap.rmf.base.client.TypeApiMethod<ByProjectKeyShippingMethodsMatchingLocationHead,JsonNode> implements ErrorableTrait<ByProjectKeyShippingMethodsMatchingLocationHead>, Deprecatable200Trait<ByProjectKeyShippingMethodsMatchingLocationHead>

Checks if a ShippingMethod that can ship to the given Location exists. Returns a 200 OK status if the ShippingMethod exists or a 404 Not Found otherwise.



   CompletableFuture<ApiHttpResponse<com.fasterxml.jackson.databind.JsonNode>> result = apiRoot
            .withProjectKey("{projectKey}")
            .shippingMethods()
            .matchingLocation()
            .head()
            .withCountry(country)
            .execute()