Class Review
java.lang.Object
de.hybris.platform.b2ctelcotmfwebservices.v2.dto.Review
The review resource contains the users opinion for a product
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreationDate(Date creationDate) booleangetAlias()The name of the user, otherwise is AnonymousComment of the review@Valid DateDate and time of the creationHeadline of the reviewgetId()Unique identifier of the reviewLanguage of the review@Valid ProductOfferingRefGet productOfferingRating of the review@Valid RelatedPartyRefGet relatedParty@Valid ReviewStatusGet statusinthashCode()productOffering(ProductOfferingRef productOffering) relatedParty(RelatedPartyRef relatedParty) voidvoidsetComment(String comment) voidsetCreationDate(Date creationDate) voidsetHeadline(String headline) voidvoidsetLanguage(String language) voidsetProductOffering(ProductOfferingRef productOffering) voidvoidsetRelatedParty(RelatedPartyRef relatedParty) voidsetStatus(ReviewStatus status) status(ReviewStatus status) toString()
-
Constructor Details
-
Review
public Review()
-
-
Method Details
-
id
-
getId
Unique identifier of the review- Returns:
- id
-
setId
-
getRelatedParty
Get relatedParty- Returns:
- relatedParty
-
setRelatedParty
-
headline
-
getHeadline
Headline of the review- Returns:
- headline
-
setHeadline
-
comment
-
getComment
Comment of the review- Returns:
- comment
-
setComment
-
rating
-
getRating
Rating of the review- Returns:
- rating
-
setRating
-
creationDate
-
getCreationDate
Date and time of the creation- Returns:
- creationDate
-
setCreationDate
-
alias
-
getAlias
The name of the user, otherwise is Anonymous- Returns:
- alias
-
setAlias
-
productOffering
-
getProductOffering
Get productOffering- Returns:
- productOffering
-
setProductOffering
-
language
-
getLanguage
Language of the review- Returns:
- language
-
setLanguage
-
status
-
getStatus
Get status- Returns:
- status
-
setStatus
-
equals
-
hashCode
public int hashCode() -
toString
-