Class GraphQLMaxStoreReferencesReachedErrorImpl
java.lang.Object
com.commercetools.api.models.error.GraphQLMaxStoreReferencesReachedErrorImpl
- All Implemented Interfaces:
GraphQLErrorObject
,GraphQLMaxStoreReferencesReachedError
,io.vrap.rmf.base.client.ModelBase
public class GraphQLMaxStoreReferencesReachedErrorImpl
extends Object
implements GraphQLMaxStoreReferencesReachedError, io.vrap.rmf.base.client.ModelBase
Returned when a Store cannot be added to a Cart Discount as the limit for Stores configured for a Cart Discount has been reached.
The error is returned as a failed response to:
- Create CartDiscount and Create CartDiscount in Store requests
- Add Store and Set Store update actions
-
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.GraphQLMaxStoreReferencesReachedError
MAX_STORE_REFERENCES_REACHED
-
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.GraphQLMaxStoreReferencesReachedError
withGraphQLMaxStoreReferencesReachedError
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
GraphQLMaxStoreReferencesReachedErrorImpl
create empty instance
-
-
Method Details
-
getCode
Description copied from interface:GraphQLErrorObject
Error identifier.
- Specified by:
getCode
in interfaceGraphQLErrorObject
- Specified by:
getCode
in interfaceGraphQLMaxStoreReferencesReachedError
- 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
-