java.lang.Object
de.hybris.platform.integrationservices.virtualattributes.LogicParams

public class LogicParams extends Object
Value object that stores the parameters for some logic to be executed.
  • Method Details

    • create

      public static LogicParams create(ItemModel item)
      Creates a LogicParams
      Returns:
      an instance of the LogicParams
    • getItem

      public ItemModel getItem()
      Gets the ItemModel
      Returns:
      An instance of an ItemModel
    • asMap

      @NotNull public @NotNull Map<String,Object> asMap()
      Converts this parameters to a Map.
      Returns:
      a Map that has parameter names in its keys, and parameter values in its values. If there are no parameter specified, an empty map is returned.
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object