Capacity

public final class Capacity

Capacity for car's properties.

Parameters

adultCount

The typical number of adults that can fit comfortably in the car.

childCount

The typical number of children that can fit comfortably in the car.

smallLuggageCount

The typical number of small pieces of luggage that fit in the cargo space.

largeLuggageCount

The typical number of large pieces of luggage that fit in the cargo space.

Constructors

Link copied to clipboard
public Capacity Capacity(Long adultCount, Long childCount, Long smallLuggageCount, Long largeLuggageCount)

Types

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
private final Long adultCount
Link copied to clipboard
private final Long childCount
Link copied to clipboard
private final Long largeLuggageCount
Link copied to clipboard
private final Long smallLuggageCount

Functions

Link copied to clipboard
public final static Capacity.Builder builder()
Link copied to clipboard
public final Long getAdultCount()
Link copied to clipboard
public final Long getChildCount()
Link copied to clipboard
public final Long getLargeLuggageCount()
Link copied to clipboard
public final Long getSmallLuggageCount()
Link copied to clipboard
public final Capacity.Builder toBuilder()