Class UserSession
java.lang.Object
travel.wink.sdk.booking.engine.model.UserSession
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-16T12:47:15.131812+07:00[Asia/Bangkok]")
public class UserSession
extends Object
User session information containing itinerary and other user related data.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddPromotionalCodesItem(String promotionalCodesItem) bounds(GeoJsonPolygon bounds) boolean@Valid GeoJsonPolygonGet boundsUser's currency preferenceUser's incoming IP number@NotNull @Valid ItineraryGet itineraryUser's language preference@Valid GeoJsonPointGet locationUser can pass promotional codes to system to change prices.@Valid SearchFiltersGet searchFilters@Valid RoomConfigurationGet selectedRoomConfigurationPass along the user identifier if user is known.inthashCode()location(GeoJsonPoint location) promotionalCodes(List<String> promotionalCodes) searchFilters(SearchFilters searchFilters) selectedRoomConfiguration(RoomConfiguration selectedRoomConfiguration) voidsetBounds(GeoJsonPolygon bounds) voidsetCurrency(String currency) voidsetItinerary(Itinerary itinerary) voidsetLanguage(String language) voidsetLocation(GeoJsonPoint location) voidsetPromotionalCodes(List<String> promotionalCodes) voidsetSearchFilters(SearchFilters searchFilters) voidsetSelectedRoomConfiguration(RoomConfiguration selectedRoomConfiguration) toString()
-
Field Details
-
JSON_PROPERTY_LOCATION
- See Also:
-
JSON_PROPERTY_IP_NUMBER
- See Also:
-
JSON_PROPERTY_BOUNDS
- See Also:
-
JSON_PROPERTY_ITINERARY
- See Also:
-
JSON_PROPERTY_SEARCH_FILTERS
- See Also:
-
JSON_PROPERTY_LANGUAGE
- See Also:
-
JSON_PROPERTY_CURRENCY
- See Also:
-
JSON_PROPERTY_USER_IDENTIFIER
- See Also:
-
JSON_PROPERTY_PROMOTIONAL_CODES
- See Also:
-
JSON_PROPERTY_SELECTED_ROOM_CONFIGURATION
- See Also:
-
-
Constructor Details
-
UserSession
public UserSession() -
UserSession
-
-
Method Details
-
location
-
getLocation
Get location- Returns:
- location
-
setLocation
-
getIpNumber
User's incoming IP number- Returns:
- ipNumber
-
bounds
-
getBounds
Get bounds- Returns:
- bounds
-
setBounds
-
itinerary
-
getItinerary
Get itinerary- Returns:
- itinerary
-
setItinerary
-
searchFilters
-
getSearchFilters
Get searchFilters- Returns:
- searchFilters
-
setSearchFilters
-
language
-
getLanguage
User's language preference- Returns:
- language
-
setLanguage
-
currency
-
getCurrency
User's currency preference- Returns:
- currency
-
setCurrency
-
getUserIdentifier
Pass along the user identifier if user is known.- Returns:
- userIdentifier
-
promotionalCodes
-
addPromotionalCodesItem
-
getPromotionalCodes
User can pass promotional codes to system to change prices.- Returns:
- promotionalCodes
-
setPromotionalCodes
-
selectedRoomConfiguration
-
getSelectedRoomConfiguration
Get selectedRoomConfiguration- Returns:
- selectedRoomConfiguration
-
setSelectedRoomConfiguration
-
equals
-
hashCode
public int hashCode() -
toString
-