Package travel.wink.sdk.extranet.model
Class BookingSupplier
java.lang.Object
travel.wink.sdk.extranet.model.BookingSupplier
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-04-06T14:58:42.579815638+07:00[Asia/Bangkok]")
public class BookingSupplier
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<BookingAncillarySupplier> activities) addActivitiesItem(BookingAncillarySupplier activitiesItem) addAddOnsItem(BookingAncillarySupplier addOnsItem) addAncillaryListItem(BookingAncillarySupplier ancillaryListItem) addAttractionsItem(BookingAncillarySupplier attractionsItem) addCommissionListItem(CommissionableEntrySupplier commissionListItem) addMeetingRoomsItem(BookingAncillarySupplier meetingRoomsItem) addOns(List<BookingAncillarySupplier> addOns) addPlacesItem(BookingAncillarySupplier placesItem) address(AddressSupplier address) addRestaurantsItem(BookingAncillarySupplier restaurantsItem) addRoomTypeAncillariesItem(BookingAncillarySupplier roomTypeAncillariesItem) addSocialsItem(SocialSupplier socialsItem) addSpasItem(BookingAncillarySupplier spasItem) ancillaryList(List<BookingAncillarySupplier> ancillaryList) attractions(List<BookingAncillarySupplier> attractions) bookingCode(String bookingCode) bookingContract(BookingContractSupplier bookingContract) commissionList(List<CommissionableEntrySupplier> commissionList) contactInfo(ContactSupplier contactInfo) date(LocalDateTime date) earlyCheckInCharge(MoneysSupplier earlyCheckInCharge) earlyCheckInChargePercent(Float earlyCheckInChargePercent) emailHeaderLogoUrl(String emailHeaderLogoUrl) engineConfiguration(EngineConfigurationBookingReportSupplier engineConfiguration) booleanfullAddress(String fullAddress) @Valid List<BookingAncillarySupplier>Activity reservation records.@Valid List<BookingAncillarySupplier>Add-on records.@NotNull @Valid AddressSupplierGet address@Valid List<BookingAncillarySupplier>Get ancillaryList@Valid List<BookingAncillarySupplier>Attraction reservation records.@NotNull StringUnique user-friendly booking geoname.@NotNull @Valid BookingContractSupplierGet bookingContractInternal comment field the payment can add and make available to channel manager partners.@Valid List<CommissionableEntrySupplier>List of all travel inventory entries that are due a commission to the affiliate.@NotNull @Valid ContactSupplierGet contactInfogetDate()Date and time the booking was made.@Valid MoneysSupplierGet earlyCheckInChargeEarly check-in charge calculated in percent of first room night price.@NotNull StringFull url of the image logo optimized for emails@NotNull @Valid EngineConfigurationBookingReportSupplierGet 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 HotelOnMapSuppliergetHotel()Get hotel@NotNull StringAbsolute URL of hotel image that can be used as-is@NotNull @Valid UUIDUnique record identifier@Valid MoneysSupplierGet lateCheckOutChargeEarly check-in charge calculated in percent of first room night price.Logo cloudinary identifier for potential reuse@Valid List<BookingAncillarySupplier>Meeting room reservation records.@Valid List<BookingAncillarySupplier>Place reservation records.Rate origin.@Valid List<BookingAncillarySupplier>Restaurant reservation records.@Valid ReviewSupplierGet review@NotNull StringAbsolute URL of room image that can be used as-is@NotNull @Valid RoomStaySupplierGet roomStay@Valid List<BookingAncillarySupplier>Room type ancillary records.@NotNull StringThe URL the booking occurred@Valid List<SocialSupplier>List of all social network account property has for the traveler to get in touch.@Valid List<BookingAncillarySupplier>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 BookingUserSuppliergetUser()Get user@NotNull @Valid UserSessionSupplierGet 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(HotelOnMapSupplier hotel) hotelImageUrl(String hotelImageUrl) identifier(UUID identifier) lateCheckOutCharge(MoneysSupplier lateCheckOutCharge) lateCheckOutChargePercent(Float lateCheckOutChargePercent) logoIdentifier(String logoIdentifier) meetingRooms(List<BookingAncillarySupplier> meetingRooms) places(List<BookingAncillarySupplier> places) rateSource(String rateSource) restaurants(List<BookingAncillarySupplier> restaurants) review(ReviewSupplier review) roomImageUrl(String roomImageUrl) roomStay(RoomStaySupplier roomStay) roomTypeAncillaries(List<BookingAncillarySupplier> roomTypeAncillaries) voidsetActivities(List<BookingAncillarySupplier> activities) voidsetAddOns(List<BookingAncillarySupplier> addOns) voidsetAddress(AddressSupplier address) voidsetAncillaryList(List<BookingAncillarySupplier> ancillaryList) voidsetAttractions(List<BookingAncillarySupplier> attractions) voidsetBookingCode(String bookingCode) voidsetBookingContract(BookingContractSupplier bookingContract) voidsetComment(String comment) voidsetCommissionList(List<CommissionableEntrySupplier> commissionList) voidsetContactInfo(ContactSupplier contactInfo) voidsetDate(LocalDateTime date) voidsetEarlyCheckInCharge(MoneysSupplier earlyCheckInCharge) voidsetEarlyCheckInChargePercent(Float earlyCheckInChargePercent) voidsetEmailHeaderLogoUrl(String emailHeaderLogoUrl) voidsetEngineConfiguration(EngineConfigurationBookingReportSupplier 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(HotelOnMapSupplier hotel) voidsetHotelImageUrl(String hotelImageUrl) voidsetIdentifier(UUID identifier) voidsetLateCheckOutCharge(MoneysSupplier lateCheckOutCharge) voidsetLateCheckOutChargePercent(Float lateCheckOutChargePercent) voidsetLogoIdentifier(String logoIdentifier) voidsetMeetingRooms(List<BookingAncillarySupplier> meetingRooms) voidsetPlaces(List<BookingAncillarySupplier> places) voidsetRateSource(String rateSource) voidsetRestaurants(List<BookingAncillarySupplier> restaurants) voidsetReview(ReviewSupplier review) voidsetRoomImageUrl(String roomImageUrl) voidsetRoomStay(RoomStaySupplier roomStay) voidsetRoomTypeAncillaries(List<BookingAncillarySupplier> roomTypeAncillaries) voidsetServerUrl(String serverUrl) voidsetSocials(List<SocialSupplier> socials) voidsetSpas(List<BookingAncillarySupplier> spas) voidsetSpecialRequests(String specialRequests) voidsetStatus(BookingSupplier.StatusEnum status) voidvoidsetUser(BookingUserSupplier user) voidsetUserSession(UserSessionSupplier userSession) socials(List<SocialSupplier> socials) spas(List<BookingAncillarySupplier> spas) specialRequests(String specialRequests) status(BookingSupplier.StatusEnum status) toString()user(BookingUserSupplier user) userSession(UserSessionSupplier 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_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_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_RATE_SOURCE
- 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_FULL_ADDRESS
- See Also:
-
-
Constructor Details
-
BookingSupplier
public BookingSupplier()
-
-
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
public BookingSupplier engineConfiguration(EngineConfigurationBookingReportSupplier engineConfiguration) -
getEngineConfiguration
@Nonnull @NotNull @Valid public @NotNull @Valid EngineConfigurationBookingReportSupplier 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
-
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
-
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
-
rateSource
-
getRateSource
Rate origin. This is usually the property channel manager.- Returns:
- rateSource
-
setRateSource
-
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
-
fullAddress
-
getFullAddress
Convenience data point to return the full hotel address.- Returns:
- fullAddress
-
setFullAddress
-
equals
-
hashCode
public int hashCode() -
toString
-
socials