Class SuggestionImpl

java.lang.Object
com.commercetools.api.models.product.SuggestionImpl
All Implemented Interfaces:
Suggestion, io.vrap.rmf.base.client.ModelBase

public class SuggestionImpl extends Object implements Suggestion, io.vrap.rmf.base.client.ModelBase
Suggestion
  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase

    io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
  • Constructor Summary

    Constructors
    Constructor
    Description
    create empty instance
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    The suggested text.
    int
     
    void
    The suggested text.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, toString, wait, wait, wait

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

    reflectionString, reflectionString

    Methods inherited from interface com.commercetools.api.models.product.Suggestion

    withSuggestion
  • Constructor Details

    • SuggestionImpl

      public SuggestionImpl()
      create empty instance
  • Method Details

    • getText

      public String getText()

      The suggested text.

      Specified by:
      getText in interface Suggestion
      Returns:
      text
    • setText

      public void setText(String text)
      Description copied from interface: Suggestion

      The suggested text.

      Specified by:
      setText in interface Suggestion
      Parameters:
      text - value to be set
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object