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.

tripReason
travelCompanion
text

The text of the review itself.

Constructors

Link copied to clipboard
public Review Review(String verificationSource, String title, String dateSubmitted, String rating, String reviewerName, TripReason tripReason, TravelCompanion travelCompanion, String text)

Types

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
@Valid()
private final String dateSubmitted
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 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
public final String getRating()
Link copied to clipboard
public final String getReviewerName()
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