PropertyRating

public final class PropertyRating

Information about the property's rating.

Parameters

rating

The rating assigned to this property. Returns a value between 0.0 and 5.0. A value of 0.0 or a blank value indicates no rating is available.

type

Returns a value of either \"Star\" or \"Alternate\". Star indicates the rating is provided by the property’s local star rating authority. Alternate indicates that the rating is an Expedia-assigned value; an official rating was not available.

Constructors

Link copied to clipboard
public PropertyRating PropertyRating(String rating, String type)

Types

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
@Valid()
private final String rating
Link copied to clipboard
@Valid()
private final String type

Functions

Link copied to clipboard
public final static PropertyRating.Builder builder()
Link copied to clipboard
public final String getRating()
Link copied to clipboard
public final String getType()
Link copied to clipboard