Class BookingUserSessionBooker
java.lang.Object
travel.wink.sdk.booking.model.BookingUserSessionBooker
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-06-26T20:16:53.154776164+07:00[Asia/Bangkok]",
comments="Generator version: 7.13.0")
public class BookingUserSessionBooker
extends Object
User session information containing itinerary and other user related data.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe preferred user lifestyle. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddPromotionalCodesItem(Object promotionalCodesItem) booleanUser's currency preference@NotNull @Valid BookingItineraryBookerDates and travel info.User's language preferenceThe preferred user lifestyle.Get promotionalCodesUser can pass the current room configuration index to retrieve rates specifically for that room configuration.inthashCode()itinerary(BookingItineraryBooker itinerary) lifestyle(BookingUserSessionBooker.LifestyleEnum lifestyle) promotionalCodes(List<Object> promotionalCodes) selectedRoomConfigurationIndex(Integer selectedRoomConfigurationIndex) voidsetCurrency(String currency) voidsetItinerary(BookingItineraryBooker itinerary) voidsetLanguage(String language) voidvoidsetPromotionalCodes(List<Object> promotionalCodes) voidsetSelectedRoomConfigurationIndex(Integer selectedRoomConfigurationIndex) toString()
-
Field Details
-
JSON_PROPERTY_ITINERARY
- See Also:
-
JSON_PROPERTY_LANGUAGE
- See Also:
-
JSON_PROPERTY_CURRENCY
- See Also:
-
JSON_PROPERTY_PROMOTIONAL_CODES
- See Also:
-
JSON_PROPERTY_SELECTED_ROOM_CONFIGURATION_INDEX
- See Also:
-
JSON_PROPERTY_LIFESTYLE
- See Also:
-
-
Constructor Details
-
BookingUserSessionBooker
public BookingUserSessionBooker()
-
-
Method Details
-
itinerary
-
getItinerary
Dates and travel info.- Returns:
- itinerary
-
setItinerary
-
language
-
getLanguage
-
setLanguage
-
currency
-
getCurrency
-
setCurrency
-
promotionalCodes
-
addPromotionalCodesItem
-
getPromotionalCodes
-
setPromotionalCodes
-
selectedRoomConfigurationIndex
public BookingUserSessionBooker selectedRoomConfigurationIndex(@Nullable Integer selectedRoomConfigurationIndex) -
getSelectedRoomConfigurationIndex
User can pass the current room configuration index to retrieve rates specifically for that room configuration.- Returns:
- selectedRoomConfigurationIndex
-
setSelectedRoomConfigurationIndex
-
lifestyle
public BookingUserSessionBooker lifestyle(@Nullable BookingUserSessionBooker.LifestyleEnum lifestyle) -
getLifestyle
The preferred user lifestyle.- Returns:
- lifestyle
-
setLifestyle
-
equals
-
hashCode
-
toString
-