RoomOccupancyPolicy

public final class RoomOccupancyPolicy

Room occupancy policy.

Parameters

maxGuestCount

The maximum number of guests allowed to stay in a room.

minCheckInAge

The minimum age required for check-in.

includedGuestCount

The number of guests included in base rate.

minGuestAge

The minimum age required for any guest staying in the room.

ageClassRestrictions

Container for room occupancy rules based on the age of the guests.

Constructors

Link copied to clipboard
public RoomOccupancyPolicy RoomOccupancyPolicy(Integer maxGuestCount, Integer minCheckInAge, Integer includedGuestCount, Integer minGuestAge, List<AgeClassRestriction> ageClassRestrictions)

Types

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
private final Integer maxGuestCount
Link copied to clipboard
private final Integer minCheckInAge
Link copied to clipboard
private final Integer minGuestAge

Functions

Link copied to clipboard
public final static RoomOccupancyPolicy.Builder builder()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final Integer getMaxGuestCount()
Link copied to clipboard
public final Integer getMinCheckInAge()
Link copied to clipboard
public final Integer getMinGuestAge()
Link copied to clipboard