FlightsV3RatePlan

public final class FlightsV3RatePlan

Container for rate plan information.

Parameters

roomTypeId

The room type identifier.

ratePlanId

The rate plan identifier.

inventorySourceId

The identification number of the source that provides the rate plan.

rateRuleId

The identifier of rate rule.

inventorySourceCode

The source name that provided the rate plan.

stayDates
remainingCount

The number of rooms remaining through Expedia for this room type. NOTE: This value does NOT represent the total number of rooms remaining at the hotel property, only the number of rooms allocated to Expedia for sale by the property that currently remain in Expedia's inventory. When a hotel is listed as 'sold out' by Expedia there may still be rooms available for sale by the hotel through other channels. CMA Compliance Note (UK): websites in the UK that display remainingCount should make it clear to consumers that this count refers to the number of rooms remaining within Expedia inventory - NOT the number remaining at the property.

freeInternet

Indicates whether the price of the room includes free Internet. (either wireless or wired)

freeWiFi

Indicates whether the price of the room includes free wireless Internet access.

freeInternetDetails

The localized details for the free internet amenity (only shown when FreeInternet = true).

freeParking

Indicates whether the price of the room includes free parking.

freeBreakfast

Indicates whether the price of the room includes free breakfast.

freeBreakfastDetails

The localized details for the free breakfast amenity (only shown when FreeBreakfast = true).

amenities

The amenities of the rateplan.

Constructors

Link copied to clipboard
public FlightsV3RatePlan FlightsV3RatePlan(String roomTypeId, String ratePlanId, String inventorySourceId, String rateRuleId, String inventorySourceCode, FlightsV3StayDates stayDates, Integer remainingCount, Boolean freeInternet, Boolean freeWiFi, List<String> freeInternetDetails, Boolean freeParking, Boolean freeBreakfast, List<String> freeBreakfastDetails, List<FlightsV3LodgingAmenity> amenities)

Types

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
@Valid()
private final List<FlightsV3LodgingAmenity> amenities
Link copied to clipboard
@Valid()
private final Boolean freeBreakfast
Link copied to clipboard
@Valid()
private final List<String> freeBreakfastDetails
Link copied to clipboard
@Valid()
private final Boolean freeInternet
Link copied to clipboard
@Valid()
private final List<String> freeInternetDetails
Link copied to clipboard
@Valid()
private final Boolean freeParking
Link copied to clipboard
@Valid()
private final Boolean freeWiFi
Link copied to clipboard
@Valid()
private final String inventorySourceCode
Link copied to clipboard
@NotNull()
@Valid()
private final String inventorySourceId
Link copied to clipboard
@NotNull()
@Valid()
private final String ratePlanId
Link copied to clipboard
@Valid()
private final String rateRuleId
Link copied to clipboard
private final Integer remainingCount
Link copied to clipboard
@NotNull()
@Valid()
private final String roomTypeId
Link copied to clipboard
@Valid()
private final FlightsV3StayDates stayDates

Functions

Link copied to clipboard
public final static FlightsV3RatePlan.Builder builder()
Link copied to clipboard
Link copied to clipboard
public final Boolean getFreeBreakfast()
Link copied to clipboard
Link copied to clipboard
public final Boolean getFreeInternet()
Link copied to clipboard
Link copied to clipboard
public final Boolean getFreeParking()
Link copied to clipboard
public final Boolean getFreeWiFi()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final String getRatePlanId()
Link copied to clipboard
public final String getRateRuleId()
Link copied to clipboard
public final Integer getRemainingCount()
Link copied to clipboard
public final String getRoomTypeId()
Link copied to clipboard
Link copied to clipboard