RoomType

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)

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.