Class CreateAgentBookingRequest
java.lang.Object
travel.wink.sdk.booking.engine.model.CreateAgentBookingRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-05-28T12:06:10.339522+07:00[Asia/Bangkok]")
public class CreateAgentBookingRequest
extends Object
CreateAgentBookingRequest
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddRoomsItem(AgentBookingRequest roomsItem) displayCurrency(String displayCurrency) displayLanguage(String displayLanguage) boolean@NotNull StringThe desired currency@NotNull StringThe desired language@NotNull @Valid List<AgentBookingRequest>getRooms()List of room configuration booking requests.@NotNull StringWhere did the booking occurIntegrator can choose to include a unique identifier to help identify the collection of bookingsinthashCode()rooms(List<AgentBookingRequest> rooms) voidsetDisplayCurrency(String displayCurrency) voidsetDisplayLanguage(String displayLanguage) voidsetRooms(List<AgentBookingRequest> rooms) voidsetSourceUrl(String sourceUrl) voidsetTraceId(String traceId) toString()
-
Field Details
-
JSON_PROPERTY_ROOMS
- See Also:
-
JSON_PROPERTY_DISPLAY_CURRENCY
- See Also:
-
JSON_PROPERTY_DISPLAY_LANGUAGE
- See Also:
-
JSON_PROPERTY_SOURCE_URL
- See Also:
-
JSON_PROPERTY_TRACE_ID
- See Also:
-
-
Constructor Details
-
CreateAgentBookingRequest
public CreateAgentBookingRequest()
-
-
Method Details
-
rooms
-
addRoomsItem
-
getRooms
List of room configuration booking requests. Each entry is a separately booked room.- Returns:
- rooms
-
setRooms
-
displayCurrency
-
getDisplayCurrency
The desired currency- Returns:
- displayCurrency
-
setDisplayCurrency
-
displayLanguage
-
getDisplayLanguage
The desired language- Returns:
- displayLanguage
-
setDisplayLanguage
-
sourceUrl
-
getSourceUrl
Where did the booking occur- Returns:
- sourceUrl
-
setSourceUrl
-
traceId
-
getTraceId
Integrator can choose to include a unique identifier to help identify the collection of bookings- Returns:
- traceId
-
setTraceId
-
equals
-
hashCode
public int hashCode() -
toString
-