Klasse OpenGraphRating

Alle implementierten Schnittstellen:
HasCreatedTime, Serializable

public class OpenGraphRating extends FacebookType implements HasCreatedTime
Seit:
1.20.0
Autor:
Alexander Nenkov
Siehe auch:
  • Konstruktordetails

  • Methodendetails

    • isRecommendation

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

      public Date getCreatedTime()
      When the reviewer rated this object.
      Angegeben von:
      getCreatedTime in Schnittstelle HasCreatedTime
      Gibt zurück:
      When the reviewer rated this object.
    • setCreatedTime

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

      Was a rating included
      Gibt zurück:
      Was a rating included
    • setHasRating

      public void setHasRating(Boolean hasRating)
      Was a rating included
    • getHasReview

      Was there text in the rating
      Gibt zurück:
      Was there text in the rating
    • setHasReview

      public void setHasReview(Boolean hasReview)
      Was there text in the rating
    • getRating

      public Integer getRating()
      Rating
      Gibt zurück:
      Rating
    • setRating

      public void setRating(Integer rating)
      Rating
    • getReviewText

      Review text included in the review
      Gibt zurück:
      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
      Gibt zurück:
      Person who rated the object
    • setReviewer

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

      Recommendation field for change on August 17, 2018 for more information check here: https://www.facebook.com/business/recommendations
      Gibt zurück:
      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

      Open Graph story generated by the rating action
      Gibt zurück:
      Open Graph story generated by the rating action
    • setOpenGraphStory

      public void setOpenGraphStory(PageRating openGraphStory)
      Open Graph story generated by the rating action