AgeClassRestriction

public final class AgeClassRestriction

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

Parameters

ageClass

Categories for hotel guests, based on age.

ageMinimum

The minimum age defined in a particular AgeClass.

ageMaximum

The maximum age defined in a particular AgeClass. If not specified, the AgeClass has no upper bound.

maxGuestCount

The max guest count allowed in a particular AgeClass.

Constructors

Link copied to clipboard
public AgeClassRestriction AgeClassRestriction(AgeClassRestriction.AgeClass ageClass, Integer ageMinimum, Integer ageMaximum, Integer maxGuestCount)

Types

Link copied to clipboard

Categories for hotel guests, based on age. Values: ALL_AGES,SENIOR,ADULT,CHILD,INFANT,OTHER

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
Link copied to clipboard
private final Integer ageMaximum
Link copied to clipboard
private final Integer ageMinimum
Link copied to clipboard
private final Integer maxGuestCount

Functions

Link copied to clipboard
public final static AgeClassRestriction.Builder builder()
Link copied to clipboard
Link copied to clipboard
public final Integer getAgeMaximum()
Link copied to clipboard
public final Integer getAgeMinimum()
Link copied to clipboard
public final Integer getMaxGuestCount()
Link copied to clipboard