Class AgentBookingRequestAgent
java.lang.Object
travel.wink.sdk.travel.agent.model.AgentBookingRequestAgent
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-12-27T09:39:31.477717564+07:00[Asia/Bangkok]")
public class AgentBookingRequestAgent
extends Object
List of room configuration booking requests. Each entry is a separately booked room.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAncillariesItem(AncillaryRequestAgent ancillariesItem) addExternalFeesItem(FeeAgent externalFeesItem) addPromotionalCodesItem(String promotionalCodesItem) ancillaries(List<AncillaryRequestAgent> ancillaries) bedroomConfigurationIdentifier(String bedroomConfigurationIdentifier) booleanexternalCustomerIdentifier(String externalCustomerIdentifier) externalFees(List<FeeAgent> externalFees) externalSupplierBookingCode(String externalSupplierBookingCode) externalTransactionIdentifier(String externalTransactionIdentifier) @Valid List<AncillaryRequestAgent> Get ancillariesGuest can optionally request a specific bedroom layout if the room type is set up with multiple layout choices.@Valid LocalDateDate when guest departs the premises.External customer identifierGet externalFeesExternal booking code generated by the affiliateExternal transaction identifier@NotNull @Valid UUIDUnique hotel record identifier.Date when guest departs the premises.Get promotionalCodes@NotNull @Valid RoomConfigurationAgentGet roomConfiguration@NotNull @Valid UUIDThe unique master rate that made the guest room / rate plan available for sale.A guest can send a special request to the hotel in free-text here.@NotNull @Valid LocalDateDate when guest arrives on the premises.@NotNull @Valid BookingUserRequestAgentgetUser()Get userGet validUserExternal metadatainthashCode()hotelIdentifier(UUID hotelIdentifier) promotionalCodes(List<String> promotionalCodes) putVendorSpecificItem(String key, String vendorSpecificItem) roomConfiguration(RoomConfigurationAgent roomConfiguration) roomRateIdentifier(UUID roomRateIdentifier) voidsetAncillaries(List<AncillaryRequestAgent> ancillaries) voidsetBedroomConfigurationIdentifier(String bedroomConfigurationIdentifier) voidsetEndDate(LocalDate endDate) voidsetExternalCustomerIdentifier(String externalCustomerIdentifier) voidsetExternalFees(List<FeeAgent> externalFees) voidsetExternalSupplierBookingCode(String externalSupplierBookingCode) voidsetExternalTransactionIdentifier(String externalTransactionIdentifier) voidsetHotelIdentifier(UUID hotelIdentifier) voidvoidsetPromotionalCodes(List<String> promotionalCodes) voidsetRoomConfiguration(RoomConfigurationAgent roomConfiguration) voidsetRoomRateIdentifier(UUID roomRateIdentifier) voidsetSpecialRequests(String specialRequests) voidsetStartDate(LocalDate startDate) voidvoidsetValidUser(Boolean validUser) voidsetVendorSpecific(Map<String, String> vendorSpecific) specialRequests(String specialRequests) toString()user(BookingUserRequestAgent user) vendorSpecific(Map<String, String> vendorSpecific)
-
Field Details
-
JSON_PROPERTY_HOTEL_IDENTIFIER
- See Also:
-
JSON_PROPERTY_START_DATE
- See Also:
-
JSON_PROPERTY_END_DATE
- See Also:
-
JSON_PROPERTY_NIGHTS
- See Also:
-
JSON_PROPERTY_ROOM_CONFIGURATION
- See Also:
-
JSON_PROPERTY_PROMOTIONAL_CODES
- See Also:
-
JSON_PROPERTY_ROOM_RATE_IDENTIFIER
- See Also:
-
JSON_PROPERTY_BEDROOM_CONFIGURATION_IDENTIFIER
- See Also:
-
JSON_PROPERTY_ANCILLARIES
- See Also:
-
JSON_PROPERTY_SPECIAL_REQUESTS
- See Also:
-
JSON_PROPERTY_USER
- See Also:
-
JSON_PROPERTY_EXTERNAL_SUPPLIER_BOOKING_CODE
- See Also:
-
JSON_PROPERTY_EXTERNAL_TRANSACTION_IDENTIFIER
- See Also:
-
JSON_PROPERTY_EXTERNAL_CUSTOMER_IDENTIFIER
- See Also:
-
JSON_PROPERTY_EXTERNAL_FEES
- See Also:
-
JSON_PROPERTY_VENDOR_SPECIFIC
- See Also:
-
JSON_PROPERTY_VALID_USER
- See Also:
-
-
Constructor Details
-
AgentBookingRequestAgent
public AgentBookingRequestAgent()
-
-
Method Details
-
hotelIdentifier
-
getHotelIdentifier
Unique hotel record identifier.- Returns:
- hotelIdentifier
-
setHotelIdentifier
-
startDate
-
getStartDate
Date when guest arrives on the premises.- Returns:
- startDate
-
setStartDate
-
endDate
-
getEndDate
Date when guest departs the premises. Optional if nights is specified.- Returns:
- endDate
-
setEndDate
-
nights
-
getNights
Date when guest departs the premises. Optional if endDate is specified.- Returns:
- nights
-
setNights
-
roomConfiguration
-
getRoomConfiguration
Get roomConfiguration- Returns:
- roomConfiguration
-
setRoomConfiguration
-
promotionalCodes
-
addPromotionalCodesItem
-
getPromotionalCodes
-
setPromotionalCodes
-
roomRateIdentifier
-
getRoomRateIdentifier
The unique master rate that made the guest room / rate plan available for sale.- Returns:
- roomRateIdentifier
-
setRoomRateIdentifier
-
bedroomConfigurationIdentifier
public AgentBookingRequestAgent bedroomConfigurationIdentifier(String bedroomConfigurationIdentifier) -
getBedroomConfigurationIdentifier
Guest can optionally request a specific bedroom layout if the room type is set up with multiple layout choices.- Returns:
- bedroomConfigurationIdentifier
-
setBedroomConfigurationIdentifier
-
ancillaries
-
addAncillariesItem
-
getAncillaries
Get ancillaries- Returns:
- ancillaries
-
setAncillaries
-
specialRequests
-
getSpecialRequests
A guest can send a special request to the hotel in free-text here.- Returns:
- specialRequests
-
setSpecialRequests
-
user
-
getUser
Get user- Returns:
- user
-
setUser
-
externalSupplierBookingCode
-
getExternalSupplierBookingCode
External booking code generated by the affiliate- Returns:
- externalSupplierBookingCode
-
setExternalSupplierBookingCode
-
externalTransactionIdentifier
-
getExternalTransactionIdentifier
External transaction identifier- Returns:
- externalTransactionIdentifier
-
setExternalTransactionIdentifier
-
externalCustomerIdentifier
-
getExternalCustomerIdentifier
External customer identifier- Returns:
- externalCustomerIdentifier
-
setExternalCustomerIdentifier
-
externalFees
-
addExternalFeesItem
-
getExternalFees
-
setExternalFees
-
vendorSpecific
-
putVendorSpecificItem
-
getVendorSpecific
-
setVendorSpecific
-
validUser
-
getValidUser
-
setValidUser
-
equals
-
hashCode
-
toString
-