Class ByProjectKeyInStoreKeyByStoreKeyShippingMethodsMatchingCartGet

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

Retrieves all the ShippingMethods that can ship to the shipping address of the given Cart in a given Store. Each ShippingMethod contains exactly one ShippingRate with the flag isMatching set to true. This ShippingRate is used when the ShippingMethod is added to the Cart.



   CompletableFuture<ApiHttpResponse<com.commercetools.api.models.shipping_method.ShippingMethodPagedQueryResponse>> result = apiRoot
            .withProjectKey("{projectKey}")
            .inStoreKeyWithStoreKeyValue("{storeKey}")
            .shippingMethods()
            .matchingCart()
            .get()
            .withCartId(cartId)
            .execute()