Class GraphQLShippingMethodDoesNotMatchCartErrorImpl
java.lang.Object
com.commercetools.api.models.error.GraphQLShippingMethodDoesNotMatchCartErrorImpl
- All Implemented Interfaces:
GraphQLErrorObject
,GraphQLShippingMethodDoesNotMatchCartError
,io.vrap.rmf.base.client.ModelBase
public class GraphQLShippingMethodDoesNotMatchCartErrorImpl
extends Object
implements GraphQLShippingMethodDoesNotMatchCartError, io.vrap.rmf.base.client.ModelBase
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.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Field Summary
Fields inherited from interface com.commercetools.api.models.error.GraphQLShippingMethodDoesNotMatchCartError
SHIPPING_METHOD_DOES_NOT_MATCH_CART
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.error.GraphQLErrorObject
withGraphQLErrorObject
Methods inherited from interface com.commercetools.api.models.error.GraphQLShippingMethodDoesNotMatchCartError
withGraphQLShippingMethodDoesNotMatchCartError
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
GraphQLShippingMethodDoesNotMatchCartErrorImpl
create empty instance
-
-
Method Details
-
getCode
Description copied from interface:GraphQLErrorObject
Error identifier.
- Specified by:
getCode
in interfaceGraphQLErrorObject
- Specified by:
getCode
in interfaceGraphQLShippingMethodDoesNotMatchCartError
- Returns:
- code
-
values
Error-specific additional fields.
- Specified by:
values
in interfaceGraphQLErrorObject
- Returns:
- map of the pattern property values
-
setValue
Description copied from interface:GraphQLErrorObject
Error-specific additional fields.
- Specified by:
setValue
in interfaceGraphQLErrorObject
- Parameters:
key
- property namevalue
- property value
-
equals
-
hashCode
-