Interface GraphQLShippingMethodDoesNotMatchCartError

All Superinterfaces:
GraphQLErrorObject

public interface GraphQLShippingMethodDoesNotMatchCartError extends GraphQLErrorObject

Returned when the Cart contains a ShippingMethod that is not allowed for the Cart. In this case, the ShippingMethodState value is DoesNotMatchCart.

The error is returned as a failed response to the Create Order from Cart or Create Order in Store from Cart requests.


Example to create an instance using the builder pattern

     GraphQLShippingMethodDoesNotMatchCartError graphQLShippingMethodDoesNotMatchCartError = GraphQLShippingMethodDoesNotMatchCartError.builder()
             .build()