AvailabilityCalendar

public final class AvailabilityCalendar

Parameters

propertyId

The unique property identifier that designates a single property.

dateRange
availability

A string of codes that shows property availability, one for every day in the specified date range. Valid values include Y (available) and N (unavailable). Note: The first code stands for availability on the StartDate in the DateRange and the last one stands for the EndDate.

changeOver

A string of codes that shows changeover action, one for every day in the specified date range. Valid values include - X (no action possible) - C (check-in, checkout) - O (checkout only) - I (check-in only) Note: The first code stands for possible action on the StartDate in the DateRange and the last one stands for the EndDate. All actions are possible if not returned.

minPriorNotify

A comma-separated list of numbers that shows how many days before a reservation the booking must occur, one for every day in the specified date range. Valid values include 0-999, and 0 indicates no prior notification required for a given day. The unit is always day. Note: The first number stands for the minimum advance booking days on the StartDate in the DateRange and the last one stands for the EndDate. No limitation if not returned.

minStay

A comma-separated list of numbers that show the minimum number of days a traveler can stay, one for every day in the specified date range. Valid values include 0-999, and 0 indicates no minimum for a given day. The unit is always day. Note: The first number stands for the minimum stay on the StartDate in the DateRange and the last one stands for the EndDate. No limitation if not returned.

maxStay

A comma-separated list of numbers that show the maximum number of days a traveler can stay, one for every day in the specified date range. Valid values include 0-999, and 0 indicates no maximum for a given day. The unit is always day. *Note: The first number stands for the maximum stay on the StartDate in the DateRange and the last one stands for the EndDate. No limitation if not returned.

Constructors

Link copied to clipboard
public AvailabilityCalendar AvailabilityCalendar(String propertyId, DateRange dateRange, String availability, String changeOver, String minPriorNotify, String minStay, String maxStay)

Types

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
@Valid()
private final String availability
Link copied to clipboard
@Valid()
private final String changeOver
Link copied to clipboard
@Valid()
private final DateRange dateRange
Link copied to clipboard
@Valid()
private final String maxStay
Link copied to clipboard
@Valid()
private final String minPriorNotify
Link copied to clipboard
@Valid()
private final String minStay
Link copied to clipboard
@Valid()
private final String propertyId

Functions

Link copied to clipboard
public final static AvailabilityCalendar.Builder builder()
Link copied to clipboard
public final String getAvailability()
Link copied to clipboard
public final String getChangeOver()
Link copied to clipboard
public final DateRange getDateRange()
Link copied to clipboard
public final String getMaxStay()
Link copied to clipboard
public final String getMinPriorNotify()
Link copied to clipboard
public final String getMinStay()
Link copied to clipboard
public final String getPropertyId()
Link copied to clipboard