Class ProductAssignmentMissingErrorImpl

java.lang.Object
com.commercetools.api.models.error.ProductAssignmentMissingErrorImpl
All Implemented Interfaces:
ErrorObject, ProductAssignmentMissingError, io.vrap.rmf.base.client.ModelBase

public class ProductAssignmentMissingErrorImpl extends Object implements ProductAssignmentMissingError, 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.ProductAssignmentMissingError

    PRODUCT_ASSIGNMENT_MISSING
  • Constructor Summary

    Constructors
    Constructor
    Description
    create empty instance
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    Error identifier.
    For Product Selection of mode Individual, the message is: "A Product Variant Selection can only be set for a Product that has previously been added to the Product Selection." For Product Selection of mode IndividualExclusion, the message is: "A Variant Exclusion can only be set for a Product that has previously been added to the Product Selection of type Individual Exclusion."
    Reference to the Product for which the error was returned.
    int
     
    void
    setMessage(String message)
    For Product Selection of mode Individual, the message is: "A Product Variant Selection can only be set for a Product that has previously been added to the Product Selection." For Product Selection of mode IndividualExclusion, the message is: "A Variant Exclusion can only be set for a Product that has previously been added to the Product Selection of type Individual Exclusion."
    void
    Reference to the Product for which the error was returned.
    void
    setValue(String key, Object value)
    Error-specific additional fields.
    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.ErrorObject

    withErrorObject

    Methods inherited from interface io.vrap.rmf.base.client.ModelBase

    reflectionString, reflectionString

    Methods inherited from interface com.commercetools.api.models.error.ProductAssignmentMissingError

    withProductAssignmentMissingError