Class UserSessionAgent
java.lang.Object
travel.wink.sdk.travel.agent.model.UserSessionAgent
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-09-28T11:55:37.128463507+07:00[Asia/Bangkok]")
public class UserSessionAgent
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(String promotionalCodesItem) booleanUser's currency preference@NotNull @Valid ItineraryAgentGet itineraryUser'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(ItineraryAgent itinerary) lifestyle(UserSessionAgent.LifestyleEnum lifestyle) promotionalCodes(List<String> promotionalCodes) selectedRoomConfigurationIndex(Integer selectedRoomConfigurationIndex) voidsetCurrency(String currency) voidsetItinerary(ItineraryAgent itinerary) voidsetLanguage(String language) voidsetLifestyle(UserSessionAgent.LifestyleEnum lifestyle) voidsetPromotionalCodes(List<String> 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
-
UserSessionAgent
public UserSessionAgent()
-
-
Method Details
-
itinerary
-
getItinerary
Get itinerary- Returns:
- itinerary
-
setItinerary
-
language
-
getLanguage
-
setLanguage
-
currency
-
getCurrency
-
setCurrency
-
promotionalCodes
-
addPromotionalCodesItem
-
getPromotionalCodes
-
setPromotionalCodes
-
selectedRoomConfigurationIndex
-
getSelectedRoomConfigurationIndex
User can pass the current room configuration index to retrieve rates specifically for that room configuration.- Returns:
- selectedRoomConfigurationIndex
-
setSelectedRoomConfigurationIndex
-
lifestyle
-
getLifestyle
The preferred user lifestyle.- Returns:
- lifestyle
-
setLifestyle
-
equals
-
hashCode
-
toString
-