Class AgentBookingRequest
java.lang.Object
travel.wink.sdk.booking.engine.model.AgentBookingRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-05-28T12:37:03.813612+07:00[Asia/Bangkok]")
public class AgentBookingRequest
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 String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAddOnOffersItem(String addOnOffersItem) addAncillariesItem(AncillaryRequest ancillariesItem) addOnOffers(List<String> addOnOffers) addPackageOffersItem(String packageOffersItem) addPromotionalCodesItem(String promotionalCodesItem) ancillaries(List<AncillaryRequest> ancillaries) booleanexternalSupplierBookingCode(String externalSupplierBookingCode) externalTransactionIdentifier(String externalTransactionIdentifier) Unique add-on identifiers guest wants added to her booking.@Valid List<AncillaryRequest>Extra reservations of spas, meeting rooms etc that should accompany the room type booking.Guest can optionally request a specific bed type if the room type is set up with multiple bed type choices.@NotNull @Valid LocalDateDate when guest departs the premises.External booking code generated by the affiliateExternal transaction identifier populated when agent responsible for acquiring@NotNull StringUnique hotel record identifier.Unique package identifiers guest wants added to her booking.List of promotional codes the user entered to to activate a promotion.@NotNull @Valid RoomConfigurationGet roomConfiguration@NotNull StringThe 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 BookingUserRequestgetUser()Get userinthashCode()hotelIdentifier(String hotelIdentifier) packageOffers(List<String> packageOffers) promotionalCodes(List<String> promotionalCodes) roomConfiguration(RoomConfiguration roomConfiguration) roomRateIdentifier(String roomRateIdentifier) voidsetAddOnOffers(List<String> addOnOffers) voidsetAncillaries(List<AncillaryRequest> ancillaries) voidsetBedType(String bedType) voidsetEndDate(LocalDate endDate) voidsetExternalSupplierBookingCode(String externalSupplierBookingCode) voidsetExternalTransactionIdentifier(String externalTransactionIdentifier) voidsetHotelIdentifier(String hotelIdentifier) voidsetPackageOffers(List<String> packageOffers) voidsetPromotionalCodes(List<String> promotionalCodes) voidsetRoomConfiguration(RoomConfiguration roomConfiguration) voidsetRoomRateIdentifier(String roomRateIdentifier) voidsetSpecialRequests(String specialRequests) voidsetStartDate(LocalDate startDate) voidsetUser(BookingUserRequest user) specialRequests(String specialRequests) toString()user(BookingUserRequest user)
-
Field Details
-
JSON_PROPERTY_HOTEL_IDENTIFIER
- See Also:
-
JSON_PROPERTY_START_DATE
- See Also:
-
JSON_PROPERTY_END_DATE
- See Also:
-
JSON_PROPERTY_ROOM_CONFIGURATION
- See Also:
-
JSON_PROPERTY_PROMOTIONAL_CODES
- See Also:
-
JSON_PROPERTY_ROOM_RATE_IDENTIFIER
- See Also:
-
JSON_PROPERTY_BED_TYPE
- See Also:
-
JSON_PROPERTY_PACKAGE_OFFERS
- See Also:
-
JSON_PROPERTY_ADD_ON_OFFERS
- 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:
-
-
Constructor Details
-
AgentBookingRequest
public AgentBookingRequest()
-
-
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.- Returns:
- endDate
-
setEndDate
-
roomConfiguration
-
getRoomConfiguration
Get roomConfiguration- Returns:
- roomConfiguration
-
setRoomConfiguration
-
promotionalCodes
-
addPromotionalCodesItem
-
getPromotionalCodes
List of promotional codes the user entered to to activate a promotion.- Returns:
- promotionalCodes
-
setPromotionalCodes
-
roomRateIdentifier
-
getRoomRateIdentifier
The unique master rate that made the guest room / rate plan available for sale.- Returns:
- roomRateIdentifier
-
setRoomRateIdentifier
-
bedType
-
getBedType
Guest can optionally request a specific bed type if the room type is set up with multiple bed type choices. Example: 9 is a `Single`. Taken from the `BED` OTA specification.- Returns:
- bedType
-
setBedType
-
packageOffers
-
addPackageOffersItem
-
getPackageOffers
Unique package identifiers guest wants added to her booking. Note: these add-ons must be available as part of the room type to be able to add them to a booking.- Returns:
- packageOffers
-
setPackageOffers
-
addOnOffers
-
addAddOnOffersItem
-
getAddOnOffers
Unique add-on identifiers guest wants added to her booking. Note: these add-ons must be available as part of the room type to be able to add them to a booking.- Returns:
- addOnOffers
-
setAddOnOffers
-
ancillaries
-
addAncillariesItem
-
getAncillaries
Extra reservations of spas, meeting rooms etc that should accompany the room type booking.- 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 populated when agent responsible for acquiring- Returns:
- externalTransactionIdentifier
-
setExternalTransactionIdentifier
-
equals
-
hashCode
public int hashCode() -
toString
-