Package travel.wink.sdk.booking.model
Class BookingAgent
java.lang.Object
travel.wink.sdk.booking.model.BookingAgent
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-04-12T17:36:27.832341431+07:00[Asia/Bangkok]")
public class BookingAgent
extends Object
Booking data object
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumConvenience data point to show which status the booking currently has. -
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 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 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 Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactivities(List<BookingAncillaryAgent> activities) addActivitiesItem(BookingAncillaryAgent activitiesItem) addAddOnsItem(BookingAncillaryAgent addOnsItem) addAncillaryListItem(BookingAncillaryAgent ancillaryListItem) addAttractionsItem(BookingAncillaryAgent attractionsItem) addCommissionListItem(CommissionableEntryAgent commissionListItem) addMeetingRoomsItem(BookingAncillaryAgent meetingRoomsItem) addOns(List<BookingAncillaryAgent> addOns) addPlacesItem(BookingAncillaryAgent placesItem) address(AddressAgent address) addRestaurantsItem(BookingAncillaryAgent restaurantsItem) addRoomTypeAncillariesItem(BookingAncillaryAgent roomTypeAncillariesItem) addSocialsItem(SocialAgent socialsItem) addSpasItem(BookingAncillaryAgent spasItem) ancillaryList(List<BookingAncillaryAgent> ancillaryList) attractions(List<BookingAncillaryAgent> attractions) bookingCode(String bookingCode) bookingContract(BookingContractAgent bookingContract) commissionList(List<CommissionableEntryAgent> commissionList) contactInfo(ContactAgent contactInfo) date(LocalDateTime date) earlyCheckInCharge(MoneysAgent earlyCheckInCharge) earlyCheckInChargePercent(Float earlyCheckInChargePercent) emailHeaderLogoUrl(String emailHeaderLogoUrl) engineConfiguration(EngineConfigurationBookingReportAgent engineConfiguration) booleanfullAddress(String fullAddress) @Valid List<BookingAncillaryAgent>Activity reservation records.@Valid List<BookingAncillaryAgent>Add-on records.@NotNull @Valid AddressAgentGet address@Valid List<BookingAncillaryAgent>Get ancillaryList@Valid List<BookingAncillaryAgent>Attraction reservation records.@NotNull StringUnique user-friendly booking geoname.@NotNull @Valid BookingContractAgentGet bookingContractInternal comment field the payment can add and make available to channel manager partners.@Valid List<CommissionableEntryAgent>List of all travel inventory entries that are due a commission to the affiliate.@NotNull @Valid ContactAgentGet contactInfogetDate()Date and time the booking was made.@Valid MoneysAgentGet earlyCheckInChargeEarly check-in charge calculated in percent of first room night price.@NotNull StringFull url of the image logo optimized for emails@NotNull @Valid EngineConfigurationBookingReportAgentGet engineConfigurationConvenience data point to return the full hotel address.@NotNull @Valid UUIDUnique record identifier for the collection of bookings that were made at the same time.Convenience data point to check if any activity reservations are included in this booking.Convenience data point to check if any add-on offers are in this booking.Convenience data point to get to all-inclusive quickly.Convenience data point to get to all-inclusive with alcohol quickly.Convenience data point to check if any attractions reservations are included in this booking.Convenience data point to get to breakfast quickly.Convenience data point to get to brunch quickly.Convenience data point to get to dinner quickly.Convenience data point to check if any food is included in this booking.Convenience data point to get to lunch quickly.Convenience data point to check if any meeting room reservations are included in this booking.Convenience data point to check if any place reservations are included in this booking.Convenience data point to check if any restaurant reservations are included in this booking.Convenience data point to check if any room type ancillaries are in this booking.Convenience data point to check if any spa reservations are included in this booking.@NotNull @Valid HotelOnMapAgentgetHotel()Get hotel@NotNull StringAbsolute URL of hotel image that can be used as-is@NotNull @Valid UUIDUnique record identifier@Valid MoneysAgentGet lateCheckOutChargeEarly check-in charge calculated in percent of first room night price.Logo cloudinary identifier for potential reuse@Valid List<BookingAncillaryAgent>Meeting room reservation records.@Valid List<BookingAncillaryAgent>Place reservation records.Rate origin.@Valid List<BookingAncillaryAgent>Restaurant reservation records.@Valid ReviewAgentGet review@NotNull StringAbsolute URL of room image that can be used as-is@NotNull @Valid RoomStayAgentGet roomStay@Valid List<BookingAncillaryAgent>Room type ancillary records.@NotNull StringThe URL the booking occurred@Valid List<SocialAgent>List of all social network account property has for the traveler to get in touch.@Valid List<BookingAncillaryAgent>getSpas()Spa reservation records.Free text where the traveler can add a message to the property.Convenience data point to show which status the booking currently has.@NotNull BooleangetTest()Whether this was a test booking by the property than can safely be deleted again@NotNull @Valid BookingUserAgentgetUser()Get user@NotNull @Valid UserSessionAgentGet userSessiongroupIdentifier(UUID groupIdentifier) hasActivities(Boolean hasActivities) hasAllInclusive(Boolean hasAllInclusive) hasAllInclusivePlusAlcohol(Boolean hasAllInclusivePlusAlcohol) hasAttractions(Boolean hasAttractions) hasBreakfast(Boolean hasBreakfast) inthashCode()hasMeetingRooms(Boolean hasMeetingRooms) hasRestaurants(Boolean hasRestaurants) hasRoomTypeAncillaries(Boolean hasRoomTypeAncillaries) hotel(HotelOnMapAgent hotel) hotelImageUrl(String hotelImageUrl) identifier(UUID identifier) lateCheckOutCharge(MoneysAgent lateCheckOutCharge) lateCheckOutChargePercent(Float lateCheckOutChargePercent) logoIdentifier(String logoIdentifier) meetingRooms(List<BookingAncillaryAgent> meetingRooms) places(List<BookingAncillaryAgent> places) rateSource(String rateSource) restaurants(List<BookingAncillaryAgent> restaurants) review(ReviewAgent review) roomImageUrl(String roomImageUrl) roomStay(RoomStayAgent roomStay) roomTypeAncillaries(List<BookingAncillaryAgent> roomTypeAncillaries) voidsetActivities(List<BookingAncillaryAgent> activities) voidsetAddOns(List<BookingAncillaryAgent> addOns) voidsetAddress(AddressAgent address) voidsetAncillaryList(List<BookingAncillaryAgent> ancillaryList) voidsetAttractions(List<BookingAncillaryAgent> attractions) voidsetBookingCode(String bookingCode) voidsetBookingContract(BookingContractAgent bookingContract) voidsetComment(String comment) voidsetCommissionList(List<CommissionableEntryAgent> commissionList) voidsetContactInfo(ContactAgent contactInfo) voidsetDate(LocalDateTime date) voidsetEarlyCheckInCharge(MoneysAgent earlyCheckInCharge) voidsetEarlyCheckInChargePercent(Float earlyCheckInChargePercent) voidsetEmailHeaderLogoUrl(String emailHeaderLogoUrl) voidsetEngineConfiguration(EngineConfigurationBookingReportAgent engineConfiguration) voidsetFullAddress(String fullAddress) voidsetGroupIdentifier(UUID groupIdentifier) voidsetHasActivities(Boolean hasActivities) voidsetHasAddOns(Boolean hasAddOns) voidsetHasAllInclusive(Boolean hasAllInclusive) voidsetHasAllInclusivePlusAlcohol(Boolean hasAllInclusivePlusAlcohol) voidsetHasAttractions(Boolean hasAttractions) voidsetHasBreakfast(Boolean hasBreakfast) voidsetHasBrunch(Boolean hasBrunch) voidsetHasDinner(Boolean hasDinner) voidsetHasFood(Boolean hasFood) voidsetHasLunch(Boolean hasLunch) voidsetHasMeetingRooms(Boolean hasMeetingRooms) voidsetHasPlaces(Boolean hasPlaces) voidsetHasRestaurants(Boolean hasRestaurants) voidsetHasRoomTypeAncillaries(Boolean hasRoomTypeAncillaries) voidsetHasSpas(Boolean hasSpas) voidsetHotel(HotelOnMapAgent hotel) voidsetHotelImageUrl(String hotelImageUrl) voidsetIdentifier(UUID identifier) voidsetLateCheckOutCharge(MoneysAgent lateCheckOutCharge) voidsetLateCheckOutChargePercent(Float lateCheckOutChargePercent) voidsetLogoIdentifier(String logoIdentifier) voidsetMeetingRooms(List<BookingAncillaryAgent> meetingRooms) voidsetPlaces(List<BookingAncillaryAgent> places) voidsetRateSource(String rateSource) voidsetRestaurants(List<BookingAncillaryAgent> restaurants) voidsetReview(ReviewAgent review) voidsetRoomImageUrl(String roomImageUrl) voidsetRoomStay(RoomStayAgent roomStay) voidsetRoomTypeAncillaries(List<BookingAncillaryAgent> roomTypeAncillaries) voidsetServerUrl(String serverUrl) voidsetSocials(List<SocialAgent> socials) voidsetSpas(List<BookingAncillaryAgent> spas) voidsetSpecialRequests(String specialRequests) voidsetStatus(BookingAgent.StatusEnum status) voidvoidsetUser(BookingUserAgent user) voidsetUserSession(UserSessionAgent userSession) socials(List<SocialAgent> socials) spas(List<BookingAncillaryAgent> spas) specialRequests(String specialRequests) status(BookingAgent.StatusEnum status) toString()user(BookingUserAgent user) userSession(UserSessionAgent userSession)
-
Field Details
-
JSON_PROPERTY_TEST
- See Also:
-
JSON_PROPERTY_DATE
- See Also:
-
JSON_PROPERTY_GROUP_IDENTIFIER
- See Also:
-
JSON_PROPERTY_IDENTIFIER
- See Also:
-
JSON_PROPERTY_ENGINE_CONFIGURATION
- See Also:
-
JSON_PROPERTY_BOOKING_CODE
- See Also:
-
JSON_PROPERTY_USER
- See Also:
-
JSON_PROPERTY_USER_SESSION
- See Also:
-
JSON_PROPERTY_SERVER_URL
- See Also:
-
JSON_PROPERTY_CONTACT_INFO
- See Also:
-
JSON_PROPERTY_ADDRESS
- See Also:
-
JSON_PROPERTY_SOCIALS
- See Also:
-
JSON_PROPERTY_REVIEW
- See Also:
-
JSON_PROPERTY_EMAIL_HEADER_LOGO_URL
- See Also:
-
JSON_PROPERTY_LOGO_IDENTIFIER
- See Also:
-
JSON_PROPERTY_HOTEL
- See Also:
-
JSON_PROPERTY_ROOM_STAY
- See Also:
-
JSON_PROPERTY_SPECIAL_REQUESTS
- See Also:
-
JSON_PROPERTY_COMMENT
- See Also:
-
JSON_PROPERTY_EARLY_CHECK_IN_CHARGE
- See Also:
-
JSON_PROPERTY_LATE_CHECK_OUT_CHARGE
- See Also:
-
JSON_PROPERTY_EARLY_CHECK_IN_CHARGE_PERCENT
- See Also:
-
JSON_PROPERTY_LATE_CHECK_OUT_CHARGE_PERCENT
- See Also:
-
JSON_PROPERTY_HOTEL_IMAGE_URL
- See Also:
-
JSON_PROPERTY_ROOM_IMAGE_URL
- See Also:
-
JSON_PROPERTY_COMMISSION_LIST
- See Also:
-
JSON_PROPERTY_ANCILLARY_LIST
- See Also:
-
JSON_PROPERTY_BOOKING_CONTRACT
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_HAS_ROOM_TYPE_ANCILLARIES
- See Also:
-
JSON_PROPERTY_HAS_FOOD
- See Also:
-
JSON_PROPERTY_HAS_RESTAURANTS
- See Also:
-
JSON_PROPERTY_HAS_MEETING_ROOMS
- See Also:
-
JSON_PROPERTY_HAS_SPAS
- See Also:
-
JSON_PROPERTY_HAS_ACTIVITIES
- See Also:
-
JSON_PROPERTY_HAS_ATTRACTIONS
- See Also:
-
JSON_PROPERTY_HAS_PLACES
- See Also:
-
JSON_PROPERTY_HAS_BREAKFAST
- See Also:
-
JSON_PROPERTY_HAS_BRUNCH
- See Also:
-
JSON_PROPERTY_HAS_LUNCH
- See Also:
-
JSON_PROPERTY_HAS_DINNER
- See Also:
-
JSON_PROPERTY_HAS_ALL_INCLUSIVE
- See Also:
-
JSON_PROPERTY_HAS_ALL_INCLUSIVE_PLUS_ALCOHOL
- See Also:
-
JSON_PROPERTY_MEETING_ROOMS
- See Also:
-
JSON_PROPERTY_RESTAURANTS
- See Also:
-
JSON_PROPERTY_SPAS
- See Also:
-
JSON_PROPERTY_ACTIVITIES
- See Also:
-
JSON_PROPERTY_ATTRACTIONS
- See Also:
-
JSON_PROPERTY_PLACES
- See Also:
-
JSON_PROPERTY_ROOM_TYPE_ANCILLARIES
- See Also:
-
JSON_PROPERTY_ADD_ONS
- See Also:
-
JSON_PROPERTY_HAS_ADD_ONS
- See Also:
-
JSON_PROPERTY_RATE_SOURCE
- See Also:
-
JSON_PROPERTY_FULL_ADDRESS
- See Also:
-
-
Constructor Details
-
BookingAgent
public BookingAgent()
-
-
Method Details
-
test
-
getTest
Whether this was a test booking by the property than can safely be deleted again- Returns:
- test
-
setTest
-
date
-
getDate
Date and time the booking was made.- Returns:
- date
-
setDate
-
groupIdentifier
-
getGroupIdentifier
Unique record identifier for the collection of bookings that were made at the same time.- Returns:
- groupIdentifier
-
setGroupIdentifier
-
identifier
-
getIdentifier
Unique record identifier- Returns:
- identifier
-
setIdentifier
-
engineConfiguration
-
getEngineConfiguration
@Nonnull @NotNull @Valid public @NotNull @Valid EngineConfigurationBookingReportAgent getEngineConfiguration()Get engineConfiguration- Returns:
- engineConfiguration
-
setEngineConfiguration
-
bookingCode
-
getBookingCode
Unique user-friendly booking geoname. This code should be used when corresponding with travelers.- Returns:
- bookingCode
-
setBookingCode
-
user
-
getUser
Get user- Returns:
- user
-
setUser
-
userSession
-
getUserSession
Get userSession- Returns:
- userSession
-
setUserSession
-
serverUrl
-
getServerUrl
The URL the booking occurred- Returns:
- serverUrl
-
setServerUrl
-
contactInfo
-
getContactInfo
Get contactInfo- Returns:
- contactInfo
-
setContactInfo
-
address
-
getAddress
Get address- Returns:
- address
-
setAddress
-
addSocialsItem
-
getSocials
List of all social network account property has for the traveler to get in touch.- Returns:
- socials
-
setSocials
-
review
-
getReview
Get review- Returns:
- review
-
setReview
-
emailHeaderLogoUrl
-
getEmailHeaderLogoUrl
Full url of the image logo optimized for emails- Returns:
- emailHeaderLogoUrl
-
setEmailHeaderLogoUrl
-
logoIdentifier
-
getLogoIdentifier
Logo cloudinary identifier for potential reuse- Returns:
- logoIdentifier
-
setLogoIdentifier
-
hotel
-
getHotel
Get hotel- Returns:
- hotel
-
setHotel
-
roomStay
-
getRoomStay
Get roomStay- Returns:
- roomStay
-
setRoomStay
-
specialRequests
-
getSpecialRequests
Free text where the traveler can add a message to the property.- Returns:
- specialRequests
-
setSpecialRequests
-
comment
-
getComment
Internal comment field the payment can add and make available to channel manager partners.- Returns:
- comment
-
setComment
-
earlyCheckInCharge
-
getEarlyCheckInCharge
Get earlyCheckInCharge- Returns:
- earlyCheckInCharge
-
setEarlyCheckInCharge
-
lateCheckOutCharge
-
getLateCheckOutCharge
Get lateCheckOutCharge- Returns:
- lateCheckOutCharge
-
setLateCheckOutCharge
-
earlyCheckInChargePercent
-
getEarlyCheckInChargePercent
Early check-in charge calculated in percent of first room night price.- Returns:
- earlyCheckInChargePercent
-
setEarlyCheckInChargePercent
-
lateCheckOutChargePercent
-
getLateCheckOutChargePercent
Early check-in charge calculated in percent of first room night price.- Returns:
- lateCheckOutChargePercent
-
setLateCheckOutChargePercent
-
hotelImageUrl
-
getHotelImageUrl
Absolute URL of hotel image that can be used as-is- Returns:
- hotelImageUrl
-
setHotelImageUrl
-
roomImageUrl
-
getRoomImageUrl
Absolute URL of room image that can be used as-is- Returns:
- roomImageUrl
-
setRoomImageUrl
-
commissionList
-
addCommissionListItem
-
getCommissionList
List of all travel inventory entries that are due a commission to the affiliate.- Returns:
- commissionList
-
setCommissionList
-
ancillaryList
-
addAncillaryListItem
-
getAncillaryList
Get ancillaryList- Returns:
- ancillaryList
-
setAncillaryList
-
bookingContract
-
getBookingContract
Get bookingContract- Returns:
- bookingContract
-
setBookingContract
-
status
-
getStatus
Convenience data point to show which status the booking currently has.- Returns:
- status
-
setStatus
-
hasRoomTypeAncillaries
-
getHasRoomTypeAncillaries
Convenience data point to check if any room type ancillaries are in this booking.- Returns:
- hasRoomTypeAncillaries
-
setHasRoomTypeAncillaries
-
hasFood
-
getHasFood
Convenience data point to check if any food is included in this booking.- Returns:
- hasFood
-
setHasFood
-
hasRestaurants
-
getHasRestaurants
Convenience data point to check if any restaurant reservations are included in this booking.- Returns:
- hasRestaurants
-
setHasRestaurants
-
hasMeetingRooms
-
getHasMeetingRooms
Convenience data point to check if any meeting room reservations are included in this booking.- Returns:
- hasMeetingRooms
-
setHasMeetingRooms
-
hasSpas
-
getHasSpas
Convenience data point to check if any spa reservations are included in this booking.- Returns:
- hasSpas
-
setHasSpas
-
hasActivities
-
getHasActivities
Convenience data point to check if any activity reservations are included in this booking.- Returns:
- hasActivities
-
setHasActivities
-
hasAttractions
-
getHasAttractions
Convenience data point to check if any attractions reservations are included in this booking.- Returns:
- hasAttractions
-
setHasAttractions
-
hasPlaces
-
getHasPlaces
Convenience data point to check if any place reservations are included in this booking.- Returns:
- hasPlaces
-
setHasPlaces
-
hasBreakfast
-
getHasBreakfast
Convenience data point to get to breakfast quickly.- Returns:
- hasBreakfast
-
setHasBreakfast
-
hasBrunch
-
getHasBrunch
Convenience data point to get to brunch quickly.- Returns:
- hasBrunch
-
setHasBrunch
-
hasLunch
-
getHasLunch
Convenience data point to get to lunch quickly.- Returns:
- hasLunch
-
setHasLunch
-
hasDinner
-
getHasDinner
Convenience data point to get to dinner quickly.- Returns:
- hasDinner
-
setHasDinner
-
hasAllInclusive
-
getHasAllInclusive
Convenience data point to get to all-inclusive quickly.- Returns:
- hasAllInclusive
-
setHasAllInclusive
-
hasAllInclusivePlusAlcohol
-
getHasAllInclusivePlusAlcohol
Convenience data point to get to all-inclusive with alcohol quickly.- Returns:
- hasAllInclusivePlusAlcohol
-
setHasAllInclusivePlusAlcohol
-
meetingRooms
-
addMeetingRoomsItem
-
getMeetingRooms
Meeting room reservation records.- Returns:
- meetingRooms
-
setMeetingRooms
-
restaurants
-
addRestaurantsItem
-
getRestaurants
Restaurant reservation records.- Returns:
- restaurants
-
setRestaurants
-
spas
-
addSpasItem
-
getSpas
Spa reservation records.- Returns:
- spas
-
setSpas
-
activities
-
addActivitiesItem
-
getActivities
Activity reservation records.- Returns:
- activities
-
setActivities
-
attractions
-
addAttractionsItem
-
getAttractions
Attraction reservation records.- Returns:
- attractions
-
setAttractions
-
places
-
addPlacesItem
-
getPlaces
Place reservation records.- Returns:
- places
-
setPlaces
-
roomTypeAncillaries
-
addRoomTypeAncillariesItem
-
getRoomTypeAncillaries
Room type ancillary records.- Returns:
- roomTypeAncillaries
-
setRoomTypeAncillaries
-
addOns
-
addAddOnsItem
-
getAddOns
Add-on records.- Returns:
- addOns
-
setAddOns
-
hasAddOns
-
getHasAddOns
Convenience data point to check if any add-on offers are in this booking.- Returns:
- hasAddOns
-
setHasAddOns
-
rateSource
-
getRateSource
Rate origin. This is usually the property channel manager.- Returns:
- rateSource
-
setRateSource
-
fullAddress
-
getFullAddress
Convenience data point to return the full hotel address.- Returns:
- fullAddress
-
setFullAddress
-
equals
-
hashCode
public int hashCode() -
toString
-
socials