Class OpenGraphRating

    • Method Detail

      • isRecommendation

        public boolean isRecommendation()
        If OpenGraphRating is a new recommendation
        Returns:
        true if it is a recommendation, false if it's a rating
      • getCreatedTime

        public Date getCreatedTime()
        When the reviewer rated this object.
        Returns:
        When the reviewer rated this object.
      • setCreatedTime

        public void setCreatedTime​(Date createdTime)
        When the reviewer rated this object.
      • getHasRating

        public Boolean getHasRating()
        Was a rating included
        Returns:
        Was a rating included
      • getHasReview

        public Boolean getHasReview()
        Was there text in the rating
        Returns:
        Was there text in the rating
      • getReviewText

        public String getReviewText()
        Review text included in the review
        Returns:
        Review text included in the review
      • setReviewText

        public void setReviewText​(String reviewText)
        Review text included in the review
      • getReviewer

        public User getReviewer()
        Person who rated the object
        Returns:
        Person who rated the object
      • setReviewer

        public void setReviewer​(User reviewer)
        Person who rated the object
      • getRecommendationType

        public RecommendationType getRecommendationType()
        Recommendation field for change on August 17, 2018 for more information check here: https://www.facebook.com/business/recommendations
        Returns:
        the recommendation type
      • setRecommendationType

        public void setRecommendationType​(RecommendationType recommendationType)
        Recommendation field for change on August 17, 2018 for more information check here: https://www.facebook.com/business/recommendations
      • getOpenGraphStory

        public PageRating getOpenGraphStory()
        Open Graph story generated by the rating action
        Returns:
        Open Graph story generated by the rating action