Class GraphQLEditPreviewFailedErrorImpl
java.lang.Object
com.commercetools.api.models.error.GraphQLEditPreviewFailedErrorImpl
- All Implemented Interfaces:
GraphQLEditPreviewFailedError
,GraphQLErrorObject
,io.vrap.rmf.base.client.ModelBase
public class GraphQLEditPreviewFailedErrorImpl
extends Object
implements GraphQLEditPreviewFailedError, io.vrap.rmf.base.client.ModelBase
Returned when a preview to find an appropriate Shipping Method for an OrderEdit could not be generated.
The error is returned as a failed response to the Get Shipping Methods for an OrderEdit request.
-
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.GraphQLEditPreviewFailedError
EDIT_PREVIEW_FAILED
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getCode()
Error identifier.State of the OrderEdit where thestagedActions
cannot be applied to the Order.int
hashCode()
void
setResult
(OrderEditPreviewFailure result) State of the OrderEdit where thestagedActions
cannot be applied to the Order.void
Error-specific additional fields.values()
Error-specific additional fields.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.error.GraphQLEditPreviewFailedError
withGraphQLEditPreviewFailedError
Methods inherited from interface com.commercetools.api.models.error.GraphQLErrorObject
withGraphQLErrorObject
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
GraphQLEditPreviewFailedErrorImpl
public GraphQLEditPreviewFailedErrorImpl()create empty instance
-
-
Method Details
-
getCode
Description copied from interface:GraphQLErrorObject
Error identifier.
- Specified by:
getCode
in interfaceGraphQLEditPreviewFailedError
- Specified by:
getCode
in interfaceGraphQLErrorObject
- Returns:
- code
-
values
Error-specific additional fields.
- Specified by:
values
in interfaceGraphQLErrorObject
- Returns:
- map of the pattern property values
-
getResult
State of the OrderEdit where the
stagedActions
cannot be applied to the Order.- Specified by:
getResult
in interfaceGraphQLEditPreviewFailedError
- Returns:
- result
-
setValue
Description copied from interface:GraphQLErrorObject
Error-specific additional fields.
- Specified by:
setValue
in interfaceGraphQLErrorObject
- Parameters:
key
- property namevalue
- property value
-
setResult
Description copied from interface:GraphQLEditPreviewFailedError
State of the OrderEdit where the
stagedActions
cannot be applied to the Order.- Specified by:
setResult
in interfaceGraphQLEditPreviewFailedError
- Parameters:
result
- value to be set
-
equals
-
hashCode
-