RatePlan

public final class RatePlan

Container for information on each rate plan.

Parameters

roomTypeId

The room type identifier.

ratePlanId

The rate plan identifier.

rateRuleId

The identifier of rate rule.

inventorySourceId

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

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. Also note that the RemainingCount response element has a maximum returned value of 100, even if there are more than 100 rooms available within bookable Expedia inventory. 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.

price
memberOnlyDeal

Indicates whether the rate is for member only. Only visible by configuration. Please contact your Expedia Account Manager if you need this node.

promotions

All promotion information of the ratePlan.

standalonePrice
taxesAndFeesInclusive

Indicates whether taxes and fees are included in base rate.

guaranteeText

Text description for any deposit information provide by the property (if applicable).

paymentMethod

Room payment information. The available options are: - Online: Pay at the time of booking - Hotel: Could either be paid at the hotel during the time of stay or paid at the time indicated by PaymentTime and PaymentSchedule

paymentTime

The time when the booking amount will be charged on the traveler’s credit card. Valid values are as follows: - UponBooking - PayLater - SupplierDiscretion

fullDepositUponBooking

It will be true if PaymentSchedule has one installment and the value of \"Due\" is booking date, otherwise, it will be false.

paymentSchedule

Contains information on the payment schedule.

reserveWithDeposit

Indicates whether this rate plan need deposit to reserve.

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). You can find a link to the complete list of Free Internet Details in Lodging Free Breakfast and Internet Details.

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). You can find a link to the complete list of Free Breakfast Details in Lodging Free Breakfast and Internet Details.

hcomRewardsEarn

Indicate whether the room qualifies for Hcom Rewards Earn. (Hotels.com partners only)

hcomRewardsBurn

Indicate whether the room qualifies for Hcom Rewards Burn. (Hotels.com partners only)

cancellationPolicy
amenities

The amenities of the rateplan.

Constructors

Link copied to clipboard
public RatePlan RatePlan(String roomTypeId, String ratePlanId, String rateRuleId, String inventorySourceId, String inventorySourceCode, StayDates stayDates, Integer remainingCount, RatePlanPrice price, Boolean memberOnlyDeal, List<Promotion> promotions, RatePlanStandalonePrice standalonePrice, Boolean taxesAndFeesInclusive, String guaranteeText, RatePlan.PaymentMethod paymentMethod, RatePlan.PaymentTime paymentTime, Boolean fullDepositUponBooking, List<PaymentSchedule> paymentSchedule, Boolean reserveWithDeposit, Boolean freeInternet, Boolean freeWiFi, List<String> freeInternetDetails, Boolean freeParking, Boolean freeBreakfast, List<String> freeBreakfastDetails, Boolean hcomRewardsEarn, Boolean hcomRewardsBurn, CancellationPolicy cancellationPolicy, List<RatePlanAmenitiesInner> amenities)

Types

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

Room payment information. The available options are: - Online: Pay at the time of booking - Hotel: Could either be paid at the hotel during the time of stay or paid at the time indicated by PaymentTime and PaymentSchedule Values: ONLINE,HOTEL

Link copied to clipboard

The time when the booking amount will be charged on the traveler’s credit card. Valid values are as follows: - UponBooking - PayLater - SupplierDiscretion Values: UPON_BOOKING,PAY_LATER,SUPPLIER_DISCRETION

Properties

Link copied to clipboard
@Valid()
private final List<RatePlanAmenitiesInner> amenities
Link copied to clipboard
@Valid()
private final CancellationPolicy cancellationPolicy
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 Boolean fullDepositUponBooking
Link copied to clipboard
@Valid()
private final String guaranteeText
Link copied to clipboard
@Valid()
private final Boolean hcomRewardsBurn
Link copied to clipboard
@Valid()
private final Boolean hcomRewardsEarn
Link copied to clipboard
@Valid()
private final String inventorySourceCode
Link copied to clipboard
@Valid()
private final String inventorySourceId
Link copied to clipboard
@Valid()
private final Boolean memberOnlyDeal
Link copied to clipboard
Link copied to clipboard
@Valid()
private final List<PaymentSchedule> paymentSchedule
Link copied to clipboard
Link copied to clipboard
@Valid()
private final RatePlanPrice price
Link copied to clipboard
@Valid()
private final List<Promotion> promotions
Link copied to clipboard
@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
@Valid()
private final Boolean reserveWithDeposit
Link copied to clipboard
@Valid()
private final String roomTypeId
Link copied to clipboard
Link copied to clipboard
@Valid()
private final StayDates stayDates
Link copied to clipboard
@Valid()
private final Boolean taxesAndFeesInclusive

Functions

Link copied to clipboard
public final static RatePlan.Builder builder()
Link copied to clipboard
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
public final String getGuaranteeText()
Link copied to clipboard
public final Boolean getHcomRewardsBurn()
Link copied to clipboard
public final Boolean getHcomRewardsEarn()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final Boolean getMemberOnlyDeal()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final RatePlanPrice getPrice()
Link copied to clipboard
public final List<Promotion> getPromotions()
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
Link copied to clipboard
public final String getRoomTypeId()
Link copied to clipboard
Link copied to clipboard
public final StayDates getStayDates()
Link copied to clipboard
Link copied to clipboard
public final RatePlan.Builder toBuilder()