Class ApiHotelBookingList
java.lang.Object
travel.wink.hotelbeds.booking.sdk.model.ApiHotelBookingList
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-10-04T11:28:08.331690043+07:00[Asia/Bangkok]")
public class ApiHotelBookingList
extends Object
Information about an hotel and its associated room rates.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddRoomsItem(RoomBookingList roomsItem) cancellationAmount(String cancellationAmount) destinationCode(String destinationCode) booleanGet cancellationAmount@Valid LocalDateCheck-in date.@Valid LocalDateCheck-out date.getCode()Hotelbeds internal hotel code.Code of the destination of the hotel location.getName()Name of the hotel.@Valid List<RoomBookingList>getRooms()Get roomsinthashCode()rooms(List<RoomBookingList> rooms) voidsetCancellationAmount(String cancellationAmount) voidsetCheckIn(LocalDate checkIn) voidsetCheckOut(LocalDate checkOut) voidvoidsetDestinationCode(String destinationCode) voidvoidsetRooms(List<RoomBookingList> rooms) toString()
-
Field Details
-
JSON_PROPERTY_CHECK_OUT
- See Also:
-
JSON_PROPERTY_CHECK_IN
- See Also:
-
JSON_PROPERTY_CODE
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_DESTINATION_CODE
- See Also:
-
JSON_PROPERTY_CANCELLATION_AMOUNT
- See Also:
-
JSON_PROPERTY_ROOMS
- See Also:
-
-
Constructor Details
-
ApiHotelBookingList
public ApiHotelBookingList()
-
-
Method Details
-
checkOut
-
getCheckOut
Check-out date.- Returns:
- checkOut
-
setCheckOut
-
checkIn
-
getCheckIn
Check-in date.- Returns:
- checkIn
-
setCheckIn
-
code
-
getCode
Hotelbeds internal hotel code.- Returns:
- code
-
setCode
-
name
-
getName
Name of the hotel.- Returns:
- name
-
setName
-
destinationCode
-
getDestinationCode
Code of the destination of the hotel location.- Returns:
- destinationCode
-
setDestinationCode
-
cancellationAmount
-
getCancellationAmount
Get cancellationAmount- Returns:
- cancellationAmount
-
setCancellationAmount
-
rooms
-
addRoomsItem
-
getRooms
Get rooms- Returns:
- rooms
-
setRooms
-
equals
-
hashCode
public int hashCode() -
toString
-