Occupancy

public final class Occupancy

Occupancy information.

Parameters

maxAllowed
ageCategories

Map of the age categories used to determine the maximum children and adult occupancy.

Constructors

Link copied to clipboard
public Occupancy Occupancy(MaxAllowed maxAllowed, Map<String, CategoryAge> ageCategories)

Types

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
@Valid()
private final Map<String, CategoryAge> ageCategories
Link copied to clipboard
@Valid()
private final MaxAllowed maxAllowed

Functions

Link copied to clipboard
public final static Occupancy.Builder builder()
Link copied to clipboard
Link copied to clipboard
public final MaxAllowed getMaxAllowed()