Class Recommendation
java.lang.Object
de.hybris.platform.b2ctelcotmfwebservices.v2.dto.Recommendation
- Direct Known Subclasses:
ProcessTypeRecommendation
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddItemItem(RecommendationItem itemItem) atBaseType(String atBaseType) atSchemaLocation(String atSchemaLocation) category(CategoryRef category) channel(ChannelRef channel) description(String description) booleanThe base type for use in polymorphic collectionsA link to the schema describing a resource (for type extension).The class type of the actual resource (for type extension).@Valid CategoryRefGet category@Valid ChannelRefGet channelGet descriptiongetHref()Hypertext Reference of the recommendation.getId()Unique identifier of recommendation@Valid List<RecommendationItem>getItem()Get item@Valid PlaceGet locationgetName()Name of recommendation@Valid ProductOrderRefgetOrder()Get order@Valid RelatedPartyRefGet relatedParty@Valid ShoppingCartRefGet shoppingCartgetType()Type of recommendation.@Valid TimePeriodGet validForinthashCode()item(List<RecommendationItem> item) order(ProductOrderRef order) relatedParty(RelatedPartyRef relatedParty) voidsetAtBaseType(String atBaseType) voidsetAtSchemaLocation(String atSchemaLocation) voidvoidsetCategory(CategoryRef category) voidsetChannel(ChannelRef channel) voidsetDescription(String description) voidvoidvoidsetItem(List<RecommendationItem> item) voidsetLocation(Place location) voidvoidsetOrder(ProductOrderRef order) voidsetRelatedParty(RelatedPartyRef relatedParty) voidsetShoppingCart(ShoppingCartRef shoppingCart) voidvoidsetValidFor(TimePeriod validFor) shoppingCart(ShoppingCartRef shoppingCart) toString()validFor(TimePeriod validFor)
-
Constructor Details
-
Recommendation
public Recommendation()
-
-
Method Details
-
description
-
getDescription
Get description- Returns:
- description
-
setDescription
-
href
-
getHref
Hypertext Reference of the recommendation.- Returns:
- href
-
setHref
-
id
-
getId
Unique identifier of recommendation- Returns:
- id
-
setId
-
name
-
getName
Name of recommendation- Returns:
- name
-
setName
-
type
-
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
-
validFor
-
getValidFor
Get validFor- Returns:
- validFor
-
setValidFor
-
order
-
getOrder
Get order- Returns:
- order
-
setOrder
-
location
-
getLocation
Get location- Returns:
- location
-
setLocation
-
channel
-
getChannel
Get channel- Returns:
- channel
-
setChannel
-
category
-
getCategory
Get category- Returns:
- category
-
setCategory
-
shoppingCart
-
getShoppingCart
Get shoppingCart- Returns:
- shoppingCart
-
setShoppingCart
-
getRelatedParty
Get relatedParty- Returns:
- relatedParty
-
setRelatedParty
-
item
-
addItemItem
-
getItem
Get item- Returns:
- item
-
setItem
-
atType
-
getAtType
The class type of the actual resource (for type extension).- Returns:
- atType
-
setAtType
-
atSchemaLocation
-
getAtSchemaLocation
A link to the schema describing a resource (for type extension).- Returns:
- atSchemaLocation
-
setAtSchemaLocation
-
atBaseType
-
getAtBaseType
The base type for use in polymorphic collections- Returns:
- atBaseType
-
setAtBaseType
-
equals
-
hashCode
public int hashCode() -
toString
-