Property

public final class Property

Container for information on each offered hotel.

Parameters

id

The unique property identifier used to designate a single property.

status

Represents whether the offer is currently available.

roomTypes

Container for all of available room types.

Constructors

Link copied to clipboard
public Property Property(String id, Property.Status status, List<LodgingRoomType> roomTypes)

Types

Link copied to clipboard
public final class Builder
Link copied to clipboard
public enum Status extends Enum<Property.Status>

Represents whether the offer is currently available. Values: AVAILABLE,NOT_AVAILABLE,ERROR,NUMBER_OF_ADULTS_NOT_ACCEPTED,NUMBER_OF_CHILDREN_NOT_ACCEPTED,NUMBER_OF_INFANTS_NOT_ACCEPTED,NUMBER_OF_PERSONS_NOT_ACCEPTED,CHECK_IN_AGE_NOT_ACCEPTED

Properties

Link copied to clipboard
@Valid()
private final String id
Link copied to clipboard
@Valid()
private final List<LodgingRoomType> roomTypes
Link copied to clipboard
private final Property.Status status

Functions

Link copied to clipboard
public final static Property.Builder builder()
Link copied to clipboard
public final String getId()
Link copied to clipboard
Link copied to clipboard
public final Property.Status getStatus()
Link copied to clipboard
public final Property.Builder toBuilder()