RateCalendar

public final class RateCalendar

The lowest rate information of requested days

Parameters

stayDate

Stay date for which the price is returned.

price
priceLevel

Indicates how that day's price compares to the other lowest price for that hotel over the searched date range. Prices will be bucketed into LOW/MEDIUM/HIGH. Here are the details for each PriceLevel: - HIGH: 65th percentile+ - MEDIUM: 30th Percentile+ - LOW: Anything lower than 30th percentile

status

Represents whether the offer is currently available.

Constructors

Link copied to clipboard

Types

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

Indicates how that day's price compares to the other lowest price for that hotel over the searched date range. Prices will be bucketed into LOW/MEDIUM/HIGH. Here are the details for each PriceLevel: - HIGH: 65th percentile+ - MEDIUM: 30th Percentile+ - LOW: Anything lower than 30th percentile Values: HIGH,MEDIUM,LOW

Link copied to clipboard
public enum Status extends Enum<RateCalendar.Status>

Represents whether the offer is currently available. Values: AVAILABLE,NOT_AVAILABLE

Properties

Link copied to clipboard
@Valid()
private final RateCalendarPrice price
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
private final LocalDate stayDate

Functions

Link copied to clipboard
public final static RateCalendar.Builder builder()
Link copied to clipboard
public final RateCalendarPrice getPrice()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final LocalDate getStayDate()
Link copied to clipboard