GetLodgingRateCalendarOperationParams

Constructors

Link copied to clipboard
public GetLodgingRateCalendarOperationParams GetLodgingRateCalendarOperationParams(String partnerTransactionId, String ecomHotelId, String hcomHotelId, LocalDate startDate, LocalDate endDate, Integer lengthOfStay, String currency)

Types

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
@Valid()
private final String currency

The requested currency expressed according to ISO 4217.

Link copied to clipboard
@Valid()
private final String ecomHotelId

The Expedia hotel ID for which the calendar is being requested. Note: Either an Expedia Hotel ID or a Hotels.com Hotel ID must be included in the request. You may use one or the other, but not both.

Link copied to clipboard
@NotNull()
@Valid()
private final LocalDate endDate

End date for check-in search range in an ISO 8601 Date format YYYY-MM-DD. Note: The end date must be after the start date. The maximum supported search range is 180 days.

Link copied to clipboard
@Valid()
private final String hcomHotelId

The Hotel.com hotel ID for which the calendar is being requested. Note: Either an Expedia Hotel ID or a Hotels.com Hotel ID must be included in the request. You may use one or the other, but not both.

Link copied to clipboard
@Valid()
private final Integer lengthOfStay

The length of stay to retrieve the lowest price for.

Link copied to clipboard
@NotNull()
@Valid()
private final String partnerTransactionId

The Partner-Transaction-ID is a required API request header element that is not consumed by Expedia. It will be required in all XAP v3 API request headers and will be mirrored back to the partner in the corresponding API response header. The Partner-Transaction-ID may be any alphanumeric string of the partner's choosing.

Link copied to clipboard
@NotNull()
@Valid()
private final LocalDate startDate

Start date for check-in search range in an ISO 8601 Date format YYYY-MM-DD. Note: The start date may not be in the past.

Functions

Link copied to clipboard
Link copied to clipboard
public final String getCurrency()

The requested currency expressed according to ISO 4217.

Link copied to clipboard
public final String getEcomHotelId()

The Expedia hotel ID for which the calendar is being requested. Note: Either an Expedia Hotel ID or a Hotels.com Hotel ID must be included in the request. You may use one or the other, but not both.

Link copied to clipboard
public final LocalDate getEndDate()

End date for check-in search range in an ISO 8601 Date format YYYY-MM-DD. Note: The end date must be after the start date. The maximum supported search range is 180 days.

Link copied to clipboard
public final String getHcomHotelId()

The Hotel.com hotel ID for which the calendar is being requested. Note: Either an Expedia Hotel ID or a Hotels.com Hotel ID must be included in the request. You may use one or the other, but not both.

Link copied to clipboard
public Headers getHeaders()
Link copied to clipboard
public final Integer getLengthOfStay()

The length of stay to retrieve the lowest price for.

Link copied to clipboard

The Partner-Transaction-ID is a required API request header element that is not consumed by Expedia. It will be required in all XAP v3 API request headers and will be mirrored back to the partner in the corresponding API response header. The Partner-Transaction-ID may be any alphanumeric string of the partner's choosing.

Link copied to clipboard
Link copied to clipboard
public Parameters getQueryParams()
Link copied to clipboard
public final LocalDate getStartDate()

Start date for check-in search range in an ISO 8601 Date format YYYY-MM-DD. Note: The start date may not be in the past.

Link copied to clipboard