RoomHistoryItem

public RoomHistoryItem RoomHistoryItem(String historyId, String eventTimestamp, RoomHistoryItem.EventType eventType, RoomHistoryItem.EventSource eventSource, String changeReferenceId, Integer agentId, String roomId, ConfirmationId confirmationId, String bedGroupId, String checkin, String checkout, BigDecimal numberOfAdults, List<BigDecimal> childAges, String givenName, String familyName, StatusItinerary status, String specialRequest, Boolean smoking, String loyaltyId, Charge amountCharged, Charge amountRefunded, Charge penalty, RateHistory rate)

Parameters

historyId

Room history id for particular change.

eventTimestamp

Date and time in UTC of the change event, in extended ISO 8601 format.

eventType

Type of event associated with this history item such as modified or canceled. If the booking is marked as a no-show by the property/supplier, the value of event_type is canceled when the include request parameter is history. However, it is canceled_no_show when the include request parameter is history_v2.

eventSource

The source of the event. If voyager_agent, agent_id will be supplied. If the event source is property/supplier, the value of event_source is other when the include request parameter is history. However, it is supplier when the include request parameter is history_v2.

changeReferenceId

Optional identifier provided during changes via Rapid.

agentId

An agent user id number associated with a modification.

roomId

The room id.

confirmationId
bedGroupId

Unique identifier for a bed type.

checkin

The check-in date of the itinerary.

checkout

The check-out date of the itinerary.

numberOfAdults

The number of adults staying in the room.

childAges

The ages of children for the room.

givenName

The first name of the main guest staying in the room.

familyName

The last name of the main guest staying in the room.

status
specialRequest

Any special request info associated with the room.

smoking

Indicates if the room is smoking or non-smoking.

loyaltyId

A loyalty identifier for a hotel loyalty program associated with this room guest.

amountCharged
amountRefunded
penalty
rate