Class GraphQLProductAssignmentMissingErrorImpl
java.lang.Object
com.commercetools.api.models.error.GraphQLProductAssignmentMissingErrorImpl
- All Implemented Interfaces:
GraphQLErrorObject
,GraphQLProductAssignmentMissingError
,io.vrap.rmf.base.client.ModelBase
public class GraphQLProductAssignmentMissingErrorImpl
extends Object
implements GraphQLProductAssignmentMissingError, io.vrap.rmf.base.client.ModelBase
Returned when a Product is not assigned to the Product Selection. The error is returned as a failed response either to the Set Variant Selection or to the Set Variant Exclusion update action.
-
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.GraphQLProductAssignmentMissingError
PRODUCT_ASSIGNMENT_MISSING
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getCode()
Error identifier.Reference to the Product for which the error was returned.int
hashCode()
void
setProduct
(ProductReference product) Reference to the Product for which the error was returned.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.GraphQLErrorObject
withGraphQLErrorObject
Methods inherited from interface com.commercetools.api.models.error.GraphQLProductAssignmentMissingError
withGraphQLProductAssignmentMissingError
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
GraphQLProductAssignmentMissingErrorImpl
create empty instance
-
-
Method Details
-
getCode
Description copied from interface:GraphQLErrorObject
Error identifier.
- Specified by:
getCode
in interfaceGraphQLErrorObject
- Specified by:
getCode
in interfaceGraphQLProductAssignmentMissingError
- Returns:
- code
-
values
Error-specific additional fields.
- Specified by:
values
in interfaceGraphQLErrorObject
- Returns:
- map of the pattern property values
-
getProduct
Reference to the Product for which the error was returned.
- Specified by:
getProduct
in interfaceGraphQLProductAssignmentMissingError
- Returns:
- product
-
setValue
Description copied from interface:GraphQLErrorObject
Error-specific additional fields.
- Specified by:
setValue
in interfaceGraphQLErrorObject
- Parameters:
key
- property namevalue
- property value
-
setProduct
Description copied from interface:GraphQLProductAssignmentMissingError
Reference to the Product for which the error was returned.
- Specified by:
setProduct
in interfaceGraphQLProductAssignmentMissingError
- Parameters:
product
- value to be set
-
equals
-
hashCode
-