RoomType

public final class RoomType

Parameters

description

Text description of the room type.

roomKey

An encrypted string which includes the information that could be used to address the current room type. RoomKey has been renamed as OfferId.

offerId

An encrypted string which includes the information that could be used to address the current room type.

merchantName

Name of Merchant that did the initial Authentication.

ratePlanType

Indicate the room type is sold as package or standalone.

ratePlans

Container for rate plan information.

price
standalonePrice
promotionsDeprecated

All promotion information of the room. Note: The node has been moved to RatePlan node, and will be deprecated soon.

links
smokingOption

The smoking options available for the room type.

bedTypeOptions

Statement of bed types available for this offer. A room may have several bed type options available. NOTE: due to the large number of bed type options available, we no longer publish a list of available bed types. More information is available in Lodging Bed Types.

roomOccupancyPolicy
amenities

Container for all room amenities.

descriptiveAmenities

Container for all room amenities in group. The key is amenity category, the values are the amenity information. The category for grouped amenities in room level will be: - ACCESSIBILITY - BATHROOM - BEDROOM - CLUB_EXEC - FAMILY_FRIENDLY - ENTERTAINMENT - FOOD_AND_DRINK - INTERNET - MORE - OUTDOOR_SPACE - SAFETY

media

Container for Media elements.

Constructors

Link copied to clipboard
public RoomType RoomType(String description, String roomKey, String offerId, String merchantName, RoomType.RatePlanType ratePlanType, List<RatePlan> ratePlans, RoomTypePrice price, RoomTypeStandalonePrice standalonePrice, List<Promotion> promotionsDeprecated, RoomTypeLinks links, RoomType.SmokingOption smokingOption, List<BedType> bedTypeOptions, RoomOccupancyPolicy roomOccupancyPolicy, List<RoomTypeAmenitiesInner> amenities, Map<String, List<String>> descriptiveAmenities, List<RoomTypeMediaInner> media)

Types

Link copied to clipboard
public final class Builder
Link copied to clipboard

Indicate the room type is sold as package or standalone. Values: STANDALONE,PACKAGE,WHOLESALE

Link copied to clipboard

The smoking options available for the room type. Values: SMOKING_OR_NON_SMOKING,SMOKING,NON_SMOKING

Properties

Link copied to clipboard
@Valid()
private final List<RoomTypeAmenitiesInner> amenities
Link copied to clipboard
@Valid()
private final List<BedType> bedTypeOptions
Link copied to clipboard
@Valid()
private final String description
Link copied to clipboard
@Valid()
private final Map<String, List<String>> descriptiveAmenities
Link copied to clipboard
@Valid()
private final RoomTypeLinks links
Link copied to clipboard
@Valid()
private final List<RoomTypeMediaInner> media
Link copied to clipboard
@Valid()
private final String merchantName
Link copied to clipboard
@Valid()
private final String offerId
Link copied to clipboard
@Valid()
private final RoomTypePrice price
Link copied to clipboard
@Deprecated(message = "This property is deprecated.")
@Valid()
private final List<Promotion> promotionsDeprecated
Link copied to clipboard
@Valid()
private final List<RatePlan> ratePlans
Link copied to clipboard
Link copied to clipboard
@Deprecated(message = "This property is deprecated.")
@Valid()
private final String roomKey
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
public final static RoomType.Builder builder()
Link copied to clipboard
Link copied to clipboard
public final List<BedType> getBedTypeOptions()
Link copied to clipboard
public final String getDescription()
Link copied to clipboard
Link copied to clipboard
public final RoomTypeLinks getLinks()
Link copied to clipboard
Link copied to clipboard
public final String getMerchantName()
Link copied to clipboard
public final String getOfferId()
Link copied to clipboard
public final RoomTypePrice getPrice()
Link copied to clipboard
Link copied to clipboard
public final List<RatePlan> getRatePlans()
Link copied to clipboard
Link copied to clipboard
public final String getRoomKey()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final RoomType.Builder toBuilder()