RateContent

public final class RateContent

An individual rate.

Parameters

id

Unique identifier for a rate.

amenities

This lists all of the Amenities available with a specific rate, including value adds, such as breakfast. See our amenities reference for current known amenity ID and name values.

specialOfferDescription

A text description of any special offers for this rate.

Constructors

Link copied to clipboard
public RateContent RateContent(String id, Map<String, Amenity> amenities, String specialOfferDescription)

Types

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
@Valid()
private final Map<String, Amenity> amenities
Link copied to clipboard
@Valid()
private final String id
Link copied to clipboard
@Valid()
private final String specialOfferDescription

Functions

Link copied to clipboard
public final static RateContent.Builder builder()
Link copied to clipboard
public final Map<String, Amenity> getAmenities()
Link copied to clipboard
public final String getId()
Link copied to clipboard
Link copied to clipboard