Class RecommendationItem

java.lang.Object
de.hybris.platform.b2ctelcotmfwebservices.v3.dto.RecommendationItem

public class RecommendationItem extends Object
A list of recommendation items. Every item is a product offering and its rank.
  • Constructor Details

    • RecommendationItem

      public RecommendationItem()
  • Method Details

    • id

      public RecommendationItem id(String id)
    • getId

      public String getId()
      Unique identifier of the product
      Returns:
      id
    • setId

      public void setId(String id)
    • priority

      public RecommendationItem priority(Integer priority)
    • getPriority

      public Integer getPriority()
      The rank of the list of recommended offering.
      Returns:
      priority
    • setPriority

      public void setPriority(Integer priority)
    • product

      public RecommendationItem product(Product product)
    • getProduct

      @NotNull @Valid public @NotNull @Valid Product getProduct()
      A recommended product.
      Returns:
      product
    • setProduct

      public void setProduct(Product product)
    • productOffering

      public RecommendationItem productOffering(ProductOfferingRef productOffering)
    • getProductOffering

      @Valid public ProductOfferingRef getProductOffering()
      Get productOffering
      Returns:
      productOffering
    • setProductOffering

      public void setProductOffering(ProductOfferingRef productOffering)
    • atbaseType

      public RecommendationItem atbaseType(String atbaseType)
    • getAtbaseType

      public String getAtbaseType()
      When sub-classing, this defines the super-class
      Returns:
      atbaseType
    • setAtbaseType

      public void setAtbaseType(String atbaseType)
    • atschemaLocation

      public RecommendationItem atschemaLocation(String atschemaLocation)
    • getAtschemaLocation

      public String getAtschemaLocation()
      A URI to a JSON-Schema file that defines additional attributes and relationships
      Returns:
      atschemaLocation
    • setAtschemaLocation

      public void setAtschemaLocation(String atschemaLocation)
    • attype

      public RecommendationItem attype(String attype)
    • getAttype

      public String getAttype()
      When sub-classing, this defines the sub-class entity name
      Returns:
      attype
    • setAttype

      public void setAttype(String attype)
    • 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