Class Recommendation
java.lang.Object
de.hybris.platform.b2ctelcotmfwebservices.v2.dto.Recommendation
- Direct Known Subclasses:
ProcessTypeRecommendation
@Validated
@Generated(value="de.hybris.platform.b2ctelcotmfwebservices.swagger.TelcoCodegen",
date="2022-10-21T20:34:47.671Z")
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 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 CategoryRefThe category for grouping recommendations@Valid ChannelRefGet channelGet descriptiongetHref()Hypertext Reference of the recommendation.getId()Unique identifier of recommendation@Valid List<RecommendationItem>getItem()Get item@Valid PlaceThe place which the recommendation is related withgetName()Name of recommendation@Valid ProductOrderRefgetOrder()Get order@Valid RelatedPartyRefGet relatedParty@Valid ShoppingCartRefThe shopping cart which the recommendation is related with.getType()Type of recommendation.@Valid TimePeriodThe period in which the recommendation is valid.inthashCode()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
The period in which the recommendation is valid.- Returns:
- validFor
-
setValidFor
-
order
-
getOrder
Get order- Returns:
- order
-
setOrder
-
location
-
getLocation
The place which the recommendation is related with- Returns:
- location
-
setLocation
-
channel
-
getChannel
Get channel- Returns:
- channel
-
setChannel
-
category
-
getCategory
The category for grouping recommendations- Returns:
- category
-
setCategory
-
shoppingCart
-
getShoppingCart
The shopping cart which the recommendation is related with.- 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
-