Class MerchantBookingRequest
java.lang.Object
travel.wink.sdk.booking.engine.model.MerchantBookingRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-05-28T12:37:03.813612+07:00[Asia/Bangkok]")
public class MerchantBookingRequest
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) booleanUnique 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.@NotNull StringUnique hotel record identifier.Unique package identifiers guest wants added to her booking.@NotNull StringIdentifier generated by TripPay.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 StringtraceId is a way to track multiple booking contracts@NotNull @Valid BookingUserRequestgetUser()Get userinthashCode()hotelIdentifier(String hotelIdentifier) packageOffers(List<String> packageOffers) paymentIdentifier(String paymentIdentifier) promotionalCodes(List<String> promotionalCodes) roomConfiguration(RoomConfiguration roomConfiguration) roomRateIdentifier(String roomRateIdentifier) voidsetAddOnOffers(List<String> addOnOffers) voidsetAncillaries(List<AncillaryRequest> ancillaries) voidsetBedType(String bedType) voidsetEndDate(LocalDate endDate) voidsetHotelIdentifier(String hotelIdentifier) voidsetPackageOffers(List<String> packageOffers) voidsetPaymentIdentifier(String paymentIdentifier) voidsetPromotionalCodes(List<String> promotionalCodes) voidsetRoomConfiguration(RoomConfiguration roomConfiguration) voidsetRoomRateIdentifier(String roomRateIdentifier) voidsetSpecialRequests(String specialRequests) voidsetStartDate(LocalDate startDate) voidsetTraceId(String traceId) 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_TRACE_ID
- See Also:
-
JSON_PROPERTY_PAYMENT_IDENTIFIER
- See Also:
-
-
Constructor Details
-
MerchantBookingRequest
public MerchantBookingRequest()
-
-
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
-
traceId
-
getTraceId
traceId is a way to track multiple booking contracts- Returns:
- traceId
-
setTraceId
-
paymentIdentifier
-
getPaymentIdentifier
Identifier generated by TripPay.- Returns:
- paymentIdentifier
-
setPaymentIdentifier
-
equals
-
hashCode
public int hashCode() -
toString
-