Review

public final class Review

A review object for a property.

Parameters

verificationSource

Where this review has been verified from.

title

Title of this review.

dateSubmitted

When this review was made, in ISO 8601 format.

rating

The rating for this property given by the reviewer. Returns a value between 1.0 and 5.0.

reviewerName

The name of the person who wrote this review.

stayDate

The year and month of the traveler's stay at the property, in ISO 8601 format (YYYY-MM).

tripReason
travelCompanion
text

The text of the review itself.

managementResponses

A collection of the management responses to this review.

Constructors

Link copied to clipboard
public Review Review(String verificationSource, String title, String dateSubmitted, String rating, String reviewerName, String stayDate, TripReason tripReason, TravelCompanion travelCompanion, String text, List<ManagementResponse> managementResponses)

Types

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
@Valid()
private final String dateSubmitted
Link copied to clipboard
Link copied to clipboard
@Valid()
private final String rating
Link copied to clipboard
@Valid()
private final String reviewerName
Link copied to clipboard
@Valid()
private final String stayDate
Link copied to clipboard
@Valid()
private final String text
Link copied to clipboard
@Valid()
private final String title
Link copied to clipboard
@Valid()
private final TravelCompanion travelCompanion
Link copied to clipboard
@Valid()
private final TripReason tripReason
Link copied to clipboard
@Valid()
private final String verificationSource

Functions

Link copied to clipboard
public final static Review.Builder builder()
Link copied to clipboard
public final String getDateSubmitted()
Link copied to clipboard
Link copied to clipboard
public final String getRating()
Link copied to clipboard
public final String getReviewerName()
Link copied to clipboard
public final String getStayDate()
Link copied to clipboard
public final String getText()
Link copied to clipboard
public final String getTitle()
Link copied to clipboard
Link copied to clipboard
public final TripReason getTripReason()
Link copied to clipboard