Class Recommendation

java.lang.Object
de.hybris.platform.b2ctelcotmfwebservices.v2.dto.Recommendation
Direct Known Subclasses:
ProcessTypeRecommendation

public class Recommendation extends Object
Recommendation API is used to recommend offering quickly based on the history and real-time context of customer. It is a real-time and personalized recommendation API. It is usually provided by e-commerce or BSS, CRM system in omni-channel.
  • Constructor Details

    • Recommendation

      public Recommendation()
  • Method Details

    • description

      public Recommendation description(String description)
    • getDescription

      public String getDescription()
      Get description
      Returns:
      description
    • setDescription

      public void setDescription(String description)
    • href

      public Recommendation href(String href)
    • getHref

      public String getHref()
      Hypertext Reference of the recommendation.
      Returns:
      href
    • setHref

      public void setHref(String href)
    • id

      public Recommendation id(String id)
    • getId

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

      public void setId(String id)
    • name

      public Recommendation name(String name)
    • getName

      public String getName()
      Name of recommendation
      Returns:
      name
    • setName

      public void setName(String name)
    • type

      public Recommendation type(String type)
    • getType

      public String getType()
      Type of recommendation. The basic type is : ¡®AD¡¯: it means the recommendation is the advertisement for display ¡®OFFER¡¯: it means the recommended content is the offer entry page. By clicking it, the user can be forwarded to the details of the offering
      Returns:
      type
    • setType

      public void setType(String type)
    • validFor

      public Recommendation validFor(TimePeriod validFor)
    • getValidFor

      @Valid public @Valid TimePeriod getValidFor()
      Get validFor
      Returns:
      validFor
    • setValidFor

      public void setValidFor(TimePeriod validFor)
    • order

      public Recommendation order(ProductOrderRef order)
    • getOrder

      @Valid public @Valid ProductOrderRef getOrder()
      Get order
      Returns:
      order
    • setOrder

      public void setOrder(ProductOrderRef order)
    • location

      public Recommendation location(Place location)
    • getLocation

      @Valid public @Valid Place getLocation()
      Get location
      Returns:
      location
    • setLocation

      public void setLocation(Place location)
    • channel

      public Recommendation channel(ChannelRef channel)
    • getChannel

      @Valid public @Valid ChannelRef getChannel()
      Get channel
      Returns:
      channel
    • setChannel

      public void setChannel(ChannelRef channel)
    • category

      public Recommendation category(CategoryRef category)
    • getCategory

      @Valid public @Valid CategoryRef getCategory()
      Get category
      Returns:
      category
    • setCategory

      public void setCategory(CategoryRef category)
    • shoppingCart

      public Recommendation shoppingCart(ShoppingCartRef shoppingCart)
    • getShoppingCart

      @Valid public @Valid ShoppingCartRef getShoppingCart()
      Get shoppingCart
      Returns:
      shoppingCart
    • setShoppingCart

      public void setShoppingCart(ShoppingCartRef shoppingCart)
    • relatedParty

      public Recommendation relatedParty(RelatedPartyRef relatedParty)
    • getRelatedParty

      @Valid public @Valid RelatedPartyRef getRelatedParty()
      Get relatedParty
      Returns:
      relatedParty
    • setRelatedParty

      public void setRelatedParty(RelatedPartyRef relatedParty)
    • item

      public Recommendation item(List<RecommendationItem> item)
    • addItemItem

      public Recommendation addItemItem(RecommendationItem itemItem)
    • getItem

      @Valid public @Valid List<RecommendationItem> getItem()
      Get item
      Returns:
      item
    • setItem

      public void setItem(List<RecommendationItem> item)
    • atType

      public Recommendation atType(String atType)
    • getAtType

      public String getAtType()
      The class type of the actual resource (for type extension).
      Returns:
      atType
    • setAtType

      public void setAtType(String atType)
    • atSchemaLocation

      public Recommendation atSchemaLocation(String atSchemaLocation)
    • getAtSchemaLocation

      public String getAtSchemaLocation()
      A link to the schema describing a resource (for type extension).
      Returns:
      atSchemaLocation
    • setAtSchemaLocation

      public void setAtSchemaLocation(String atSchemaLocation)
    • atBaseType

      public Recommendation atBaseType(String atBaseType)
    • getAtBaseType

      public String getAtBaseType()
      The base type for use in polymorphic collections
      Returns:
      atBaseType
    • setAtBaseType

      public void setAtBaseType(String atBaseType)
    • 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