LodgingOccupant

public final class LodgingOccupant

Parameters

adults

The number of adults in a room.

childAges

The ages of children in a room.

Constructors

Link copied to clipboard
public LodgingOccupant LodgingOccupant(Integer adults, List<Integer> childAges)

Types

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
private final Integer adults
Link copied to clipboard
@Valid()
private final List<Integer> childAges

Functions

Link copied to clipboard
public final static LodgingOccupant.Builder builder()
Link copied to clipboard
public final Integer getAdults()
Link copied to clipboard
public final List<Integer> getChildAges()
Link copied to clipboard