Class BookingBooker

java.lang.Object
travel.wink.sdk.booking.model.BookingBooker

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-03-04T20:46:30.066932548+07:00[Asia/Bangkok]") public class BookingBooker extends Object
Booking data object
  • Field Details

  • Constructor Details

    • BookingBooker

      public BookingBooker()
  • Method Details

    • creation

      public BookingBooker creation(BookingBooker.CreationEnum creation)
    • getCreation

      @Nullable public BookingBooker.CreationEnum getCreation()
      Communicates whether the booking was created normally or if it failed or was just for testing.
      Returns:
      creation
    • setCreation

      public void setCreation(BookingBooker.CreationEnum creation)
    • date

      public BookingBooker date(LocalDateTime date)
    • getDate

      @Nonnull @NotNull @Valid public LocalDateTime getDate()
      Date and time the booking was made.
      Returns:
      date
    • setDate

      public void setDate(LocalDateTime date)
    • groupIdentifier

      public BookingBooker groupIdentifier(UUID groupIdentifier)
    • getGroupIdentifier

      @Nonnull @NotNull @Valid public @NotNull @Valid UUID getGroupIdentifier()
      Unique record identifier for the collection of bookings that were made at the same time.
      Returns:
      groupIdentifier
    • setGroupIdentifier

      public void setGroupIdentifier(UUID groupIdentifier)
    • identifier

      public BookingBooker identifier(UUID identifier)
    • getIdentifier

      @Nonnull @NotNull @Valid public @NotNull @Valid UUID getIdentifier()
      Unique record identifier
      Returns:
      identifier
    • setIdentifier

      public void setIdentifier(UUID identifier)
    • engineConfiguration

      public BookingBooker engineConfiguration(EngineConfigurationBookingReportBooker engineConfiguration)
    • getEngineConfiguration

      @Nonnull @NotNull @Valid public @NotNull @Valid EngineConfigurationBookingReportBooker getEngineConfiguration()
      Get engineConfiguration
      Returns:
      engineConfiguration
    • setEngineConfiguration

      public void setEngineConfiguration(EngineConfigurationBookingReportBooker engineConfiguration)
    • bookingCode

      public BookingBooker bookingCode(String bookingCode)
    • getBookingCode

      @Nonnull @NotNull public @NotNull String getBookingCode()
      Unique user-friendly booking geoname. This code should be used when corresponding with travelers.
      Returns:
      bookingCode
    • setBookingCode

      public void setBookingCode(String bookingCode)
    • user

      public BookingBooker user(BookingUserBooker user)
    • getUser

      @Nonnull @NotNull @Valid public @NotNull @Valid BookingUserBooker getUser()
      Get user
      Returns:
      user
    • setUser

      public void setUser(BookingUserBooker user)
    • userSession

      public BookingBooker userSession(BookingUserSessionBooker userSession)
    • getUserSession

      @Nonnull @NotNull @Valid public @NotNull @Valid BookingUserSessionBooker getUserSession()
      Get userSession
      Returns:
      userSession
    • setUserSession

      public void setUserSession(BookingUserSessionBooker userSession)
    • serverUrl

      public BookingBooker serverUrl(String serverUrl)
    • getServerUrl

      @Nonnull @NotNull public @NotNull String getServerUrl()
      The URL the booking occurred
      Returns:
      serverUrl
    • setServerUrl

      public void setServerUrl(String serverUrl)
    • contactInfo

      public BookingBooker contactInfo(ContactBooker contactInfo)
    • getContactInfo

      @Nonnull @NotNull @Valid public @NotNull @Valid ContactBooker getContactInfo()
      Get contactInfo
      Returns:
      contactInfo
    • setContactInfo

      public void setContactInfo(ContactBooker contactInfo)
    • address

      public BookingBooker address(AddressBooker address)
    • getAddress

      @Nonnull @NotNull @Valid public @NotNull @Valid AddressBooker getAddress()
      Get address
      Returns:
      address
    • setAddress

      public void setAddress(AddressBooker address)
    • socials

      public BookingBooker socials(List<SocialBooker> socials)
    • addSocialsItem

      public BookingBooker addSocialsItem(SocialBooker socialsItem)
    • getSocials

      @Nullable @Valid public @Valid List<SocialBooker> getSocials()
      List of all social network account property has for the traveler to get in touch.
      Returns:
      socials
    • setSocials

      public void setSocials(List<SocialBooker> socials)
    • review

      public BookingBooker review(ReviewBooker review)
    • getReview

      @Nullable @Valid public @Valid ReviewBooker getReview()
      Get review
      Returns:
      review
    • setReview

      public void setReview(ReviewBooker review)
    • emailHeaderLogoUrl

      public BookingBooker emailHeaderLogoUrl(String emailHeaderLogoUrl)
    • getEmailHeaderLogoUrl

      @Nonnull @NotNull public @NotNull String getEmailHeaderLogoUrl()
      Full url of the image logo optimized for emails
      Returns:
      emailHeaderLogoUrl
    • setEmailHeaderLogoUrl

      public void setEmailHeaderLogoUrl(String emailHeaderLogoUrl)
    • logoIdentifier

      public BookingBooker logoIdentifier(String logoIdentifier)
    • getLogoIdentifier

      @Nullable public String getLogoIdentifier()
      Logo cloudinary identifier for potential reuse
      Returns:
      logoIdentifier
    • setLogoIdentifier

      public void setLogoIdentifier(String logoIdentifier)
    • hotel

      public BookingBooker hotel(HotelOnMapBooker hotel)
    • getHotel

      @Nonnull @NotNull @Valid public @NotNull @Valid HotelOnMapBooker getHotel()
      Get hotel
      Returns:
      hotel
    • setHotel

      public void setHotel(HotelOnMapBooker hotel)
    • roomStay

      public BookingBooker roomStay(RoomStayBooker roomStay)
    • getRoomStay

      @Nullable @Valid public @Valid RoomStayBooker getRoomStay()
      Get roomStay
      Returns:
      roomStay
    • setRoomStay

      public void setRoomStay(RoomStayBooker roomStay)
    • specialRequests

      public BookingBooker specialRequests(String specialRequests)
    • getSpecialRequests

      @Nullable public String getSpecialRequests()
      Free text where the traveler can add a message to the property.
      Returns:
      specialRequests
    • setSpecialRequests

      public void setSpecialRequests(String specialRequests)
    • comment

      public BookingBooker comment(String comment)
    • getComment

      @Nullable public String getComment()
      Internal comment field the platform can add and make available to channel manager partners.
      Returns:
      comment
    • setComment

      public void setComment(String comment)
    • earlyCheckInCharge

      public BookingBooker earlyCheckInCharge(CustomMonetaryAmount earlyCheckInCharge)
    • getEarlyCheckInCharge

      @Nullable @Valid public @Valid CustomMonetaryAmount getEarlyCheckInCharge()
      Get earlyCheckInCharge
      Returns:
      earlyCheckInCharge
    • setEarlyCheckInCharge

      public void setEarlyCheckInCharge(CustomMonetaryAmount earlyCheckInCharge)
    • lateCheckOutCharge

      public BookingBooker lateCheckOutCharge(CustomMonetaryAmount lateCheckOutCharge)
    • getLateCheckOutCharge

      @Nullable @Valid public @Valid CustomMonetaryAmount getLateCheckOutCharge()
      Get lateCheckOutCharge
      Returns:
      lateCheckOutCharge
    • setLateCheckOutCharge

      public void setLateCheckOutCharge(CustomMonetaryAmount lateCheckOutCharge)
    • earlyCheckInChargePercent

      public BookingBooker earlyCheckInChargePercent(Float earlyCheckInChargePercent)
    • getEarlyCheckInChargePercent

      @Nullable public Float getEarlyCheckInChargePercent()
      Early check-in charge calculated in percent of first room night price.
      Returns:
      earlyCheckInChargePercent
    • setEarlyCheckInChargePercent

      public void setEarlyCheckInChargePercent(Float earlyCheckInChargePercent)
    • lateCheckOutChargePercent

      public BookingBooker lateCheckOutChargePercent(Float lateCheckOutChargePercent)
    • getLateCheckOutChargePercent

      @Nullable public Float getLateCheckOutChargePercent()
      Early check-in charge calculated in percent of first room night price.
      Returns:
      lateCheckOutChargePercent
    • setLateCheckOutChargePercent

      public void setLateCheckOutChargePercent(Float lateCheckOutChargePercent)
    • hotelImageUrl

      public BookingBooker hotelImageUrl(String hotelImageUrl)
    • getHotelImageUrl

      @Nonnull @NotNull public @NotNull String getHotelImageUrl()
      Absolute URL of hotel image that can be used as-is
      Returns:
      hotelImageUrl
    • setHotelImageUrl

      public void setHotelImageUrl(String hotelImageUrl)
    • roomImageUrl

      public BookingBooker roomImageUrl(String roomImageUrl)
    • getRoomImageUrl

      @Nonnull @NotNull public @NotNull String getRoomImageUrl()
      Absolute URL of room image that can be used as-is
      Returns:
      roomImageUrl
    • setRoomImageUrl

      public void setRoomImageUrl(String roomImageUrl)
    • commissionList

      public BookingBooker commissionList(List<CommissionableEntryBooker> commissionList)
    • addCommissionListItem

      public BookingBooker addCommissionListItem(CommissionableEntryBooker commissionListItem)
    • getCommissionList

      @Nullable @Valid public @Valid List<CommissionableEntryBooker> getCommissionList()
      List of all travel inventory entries that are due a commission to the affiliate.
      Returns:
      commissionList
    • setCommissionList

      public void setCommissionList(List<CommissionableEntryBooker> commissionList)
    • ancillaryList

      public BookingBooker ancillaryList(List<BookingAncillaryBooker> ancillaryList)
    • addAncillaryListItem

      public BookingBooker addAncillaryListItem(BookingAncillaryBooker ancillaryListItem)
    • getAncillaryList

      @Nullable @Valid public @Valid List<BookingAncillaryBooker> getAncillaryList()
      Get ancillaryList
      Returns:
      ancillaryList
    • setAncillaryList

      public void setAncillaryList(List<BookingAncillaryBooker> ancillaryList)
    • bookingContract

      public BookingBooker bookingContract(BookingContractBooker bookingContract)
    • getBookingContract

      @Nullable @Valid public @Valid BookingContractBooker getBookingContract()
      Get bookingContract
      Returns:
      bookingContract
    • setBookingContract

      public void setBookingContract(BookingContractBooker bookingContract)
    • staticMapImageUrl

      public BookingBooker staticMapImageUrl(String staticMapImageUrl)
    • getStaticMapImageUrl

      @Nullable public String getStaticMapImageUrl()
      Url of map image that can be sent via email
      Returns:
      staticMapImageUrl
    • setStaticMapImageUrl

      public void setStaticMapImageUrl(String staticMapImageUrl)
    • staticMapUrl

      public BookingBooker staticMapUrl(String staticMapUrl)
    • getStaticMapUrl

      @Nullable public String getStaticMapUrl()
      Url of map image location on Google Maps
      Returns:
      staticMapUrl
    • setStaticMapUrl

      public void setStaticMapUrl(String staticMapUrl)
    • status

      public BookingBooker status(BookingBooker.StatusEnum status)
    • getStatus

      @Nullable public BookingBooker.StatusEnum getStatus()
      Convenience data point to show which status the booking currently has.
      Returns:
      status
    • setStatus

      public void setStatus(BookingBooker.StatusEnum status)
    • meetingRooms

      public BookingBooker meetingRooms(List<BookingAncillaryBooker> meetingRooms)
    • addMeetingRoomsItem

      public BookingBooker addMeetingRoomsItem(BookingAncillaryBooker meetingRoomsItem)
    • getMeetingRooms

      @Nullable @Valid public @Valid List<BookingAncillaryBooker> getMeetingRooms()
      Meeting room reservation records.
      Returns:
      meetingRooms
    • setMeetingRooms

      public void setMeetingRooms(List<BookingAncillaryBooker> meetingRooms)
    • restaurants

      public BookingBooker restaurants(List<BookingAncillaryBooker> restaurants)
    • addRestaurantsItem

      public BookingBooker addRestaurantsItem(BookingAncillaryBooker restaurantsItem)
    • getRestaurants

      @Nullable @Valid public @Valid List<BookingAncillaryBooker> getRestaurants()
      Restaurant reservation records.
      Returns:
      restaurants
    • setRestaurants

      public void setRestaurants(List<BookingAncillaryBooker> restaurants)
    • spas

    • addSpasItem

      public BookingBooker addSpasItem(BookingAncillaryBooker spasItem)
    • getSpas

      @Nullable @Valid public @Valid List<BookingAncillaryBooker> getSpas()
      Spa reservation records.
      Returns:
      spas
    • setSpas

      public void setSpas(List<BookingAncillaryBooker> spas)
    • activities

      public BookingBooker activities(List<BookingAncillaryBooker> activities)
    • addActivitiesItem

      public BookingBooker addActivitiesItem(BookingAncillaryBooker activitiesItem)
    • getActivities

      @Nullable @Valid public @Valid List<BookingAncillaryBooker> getActivities()
      Activity reservation records.
      Returns:
      activities
    • setActivities

      public void setActivities(List<BookingAncillaryBooker> activities)
    • attractions

      public BookingBooker attractions(List<BookingAncillaryBooker> attractions)
    • addAttractionsItem

      public BookingBooker addAttractionsItem(BookingAncillaryBooker attractionsItem)
    • getAttractions

      @Nullable @Valid public @Valid List<BookingAncillaryBooker> getAttractions()
      Attraction reservation records.
      Returns:
      attractions
    • setAttractions

      public void setAttractions(List<BookingAncillaryBooker> attractions)
    • places

      public BookingBooker places(List<BookingAncillaryBooker> places)
    • addPlacesItem

      public BookingBooker addPlacesItem(BookingAncillaryBooker placesItem)
    • getPlaces

      @Nullable @Valid public @Valid List<BookingAncillaryBooker> getPlaces()
      Place reservation records.
      Returns:
      places
    • setPlaces

      public void setPlaces(List<BookingAncillaryBooker> places)
    • roomTypeAncillaries

      public BookingBooker roomTypeAncillaries(List<BookingAncillaryBooker> roomTypeAncillaries)
    • addRoomTypeAncillariesItem

      public BookingBooker addRoomTypeAncillariesItem(BookingAncillaryBooker roomTypeAncillariesItem)
    • getRoomTypeAncillaries

      @Nullable @Valid public @Valid List<BookingAncillaryBooker> getRoomTypeAncillaries()
      Room type ancillary records.
      Returns:
      roomTypeAncillaries
    • setRoomTypeAncillaries

      public void setRoomTypeAncillaries(List<BookingAncillaryBooker> roomTypeAncillaries)
    • addOns

      public BookingBooker addOns(List<BookingAncillaryBooker> addOns)
    • addAddOnsItem

      public BookingBooker addAddOnsItem(BookingAncillaryBooker addOnsItem)
    • getAddOns

      @Nullable @Valid public @Valid List<BookingAncillaryBooker> getAddOns()
      Add-on records.
      Returns:
      addOns
    • setAddOns

      public void setAddOns(List<BookingAncillaryBooker> addOns)
    • cancellableByAgent

      public BookingBooker cancellableByAgent(Boolean cancellableByAgent)
    • getCancellableByAgent

      @Nullable public Boolean getCancellableByAgent()
      Whether the booking can still be cancelled completely by the agent.
      Returns:
      cancellableByAgent
    • setCancellableByAgent

      public void setCancellableByAgent(Boolean cancellableByAgent)
    • cancellableBySupplier

      public BookingBooker cancellableBySupplier(Boolean cancellableBySupplier)
    • getCancellableBySupplier

      @Nullable public Boolean getCancellableBySupplier()
      Whether the booking can still be cancelled completely by the supplier.
      Returns:
      cancellableBySupplier
    • setCancellableBySupplier

      public void setCancellableBySupplier(Boolean cancellableBySupplier)
    • cancellableByTraveler

      public BookingBooker cancellableByTraveler(Boolean cancellableByTraveler)
    • getCancellableByTraveler

      @Nullable public Boolean getCancellableByTraveler()
      Whether the booking can still be cancelled completely by the traveller.
      Returns:
      cancellableByTraveler
    • setCancellableByTraveler

      public void setCancellableByTraveler(Boolean cancellableByTraveler)
    • hasAddOns

      public BookingBooker hasAddOns(Boolean hasAddOns)
    • getHasAddOns

      @Nullable public Boolean getHasAddOns()
      Convenience data point to check if any add-on offers are in this booking.
      Returns:
      hasAddOns
    • setHasAddOns

      public void setHasAddOns(Boolean hasAddOns)
    • rateSource

      public BookingBooker rateSource(String rateSource)
    • getRateSource

      @Nullable public String getRateSource()
      Rate origin. This is usually the property channel manager.
      Returns:
      rateSource
    • setRateSource

      public void setRateSource(String rateSource)
    • fullAddress

      public BookingBooker fullAddress(String fullAddress)
    • getFullAddress

      @Nullable public String getFullAddress()
      Convenience data point to return the full hotel address.
      Returns:
      fullAddress
    • setFullAddress

      public void setFullAddress(String fullAddress)
    • hasBreakfast

      public BookingBooker hasBreakfast(Boolean hasBreakfast)
    • getHasBreakfast

      @Nullable public Boolean getHasBreakfast()
      Convenience data point to get to breakfast quickly.
      Returns:
      hasBreakfast
    • setHasBreakfast

      public void setHasBreakfast(Boolean hasBreakfast)
    • hasBrunch

      public BookingBooker hasBrunch(Boolean hasBrunch)
    • getHasBrunch

      @Nullable public Boolean getHasBrunch()
      Convenience data point to get to brunch quickly.
      Returns:
      hasBrunch
    • setHasBrunch

      public void setHasBrunch(Boolean hasBrunch)
    • hasLunch

      public BookingBooker hasLunch(Boolean hasLunch)
    • getHasLunch

      @Nullable public Boolean getHasLunch()
      Convenience data point to get to lunch quickly.
      Returns:
      hasLunch
    • setHasLunch

      public void setHasLunch(Boolean hasLunch)
    • hasDinner

      public BookingBooker hasDinner(Boolean hasDinner)
    • getHasDinner

      @Nullable public Boolean getHasDinner()
      Convenience data point to get to dinner quickly.
      Returns:
      hasDinner
    • setHasDinner

      public void setHasDinner(Boolean hasDinner)
    • hasAllInclusive

      public BookingBooker hasAllInclusive(Boolean hasAllInclusive)
    • getHasAllInclusive

      @Nullable public Boolean getHasAllInclusive()
      Convenience data point to get to all-inclusive quickly.
      Returns:
      hasAllInclusive
    • setHasAllInclusive

      public void setHasAllInclusive(Boolean hasAllInclusive)
    • hasAllInclusivePlusAlcohol

      public BookingBooker hasAllInclusivePlusAlcohol(Boolean hasAllInclusivePlusAlcohol)
    • getHasAllInclusivePlusAlcohol

      @Nullable public Boolean getHasAllInclusivePlusAlcohol()
      Convenience data point to get to all-inclusive with alcohol quickly.
      Returns:
      hasAllInclusivePlusAlcohol
    • setHasAllInclusivePlusAlcohol

      public void setHasAllInclusivePlusAlcohol(Boolean hasAllInclusivePlusAlcohol)
    • hasRoomTypeAncillaries

      public BookingBooker hasRoomTypeAncillaries(Boolean hasRoomTypeAncillaries)
    • getHasRoomTypeAncillaries

      @Nullable public Boolean getHasRoomTypeAncillaries()
      Convenience data point to check if any room type ancillaries are in this booking.
      Returns:
      hasRoomTypeAncillaries
    • setHasRoomTypeAncillaries

      public void setHasRoomTypeAncillaries(Boolean hasRoomTypeAncillaries)
    • hasFood

      public BookingBooker hasFood(Boolean hasFood)
    • getHasFood

      @Nullable public Boolean getHasFood()
      Convenience data point to check if any food is included in this booking.
      Returns:
      hasFood
    • setHasFood

      public void setHasFood(Boolean hasFood)
    • hasRestaurants

      public BookingBooker hasRestaurants(Boolean hasRestaurants)
    • getHasRestaurants

      @Nullable public Boolean getHasRestaurants()
      Convenience data point to check if any restaurant reservations are included in this booking.
      Returns:
      hasRestaurants
    • setHasRestaurants

      public void setHasRestaurants(Boolean hasRestaurants)
    • hasMeetingRooms

      public BookingBooker hasMeetingRooms(Boolean hasMeetingRooms)
    • getHasMeetingRooms

      @Nullable public Boolean getHasMeetingRooms()
      Convenience data point to check if any meeting room reservations are included in this booking.
      Returns:
      hasMeetingRooms
    • setHasMeetingRooms

      public void setHasMeetingRooms(Boolean hasMeetingRooms)
    • hasSpas

      public BookingBooker hasSpas(Boolean hasSpas)
    • getHasSpas

      @Nullable public Boolean getHasSpas()
      Convenience data point to check if any spa reservations are included in this booking.
      Returns:
      hasSpas
    • setHasSpas

      public void setHasSpas(Boolean hasSpas)
    • hasActivities

      public BookingBooker hasActivities(Boolean hasActivities)
    • getHasActivities

      @Nullable public Boolean getHasActivities()
      Convenience data point to check if any activity reservations are included in this booking.
      Returns:
      hasActivities
    • setHasActivities

      public void setHasActivities(Boolean hasActivities)
    • hasAttractions

      public BookingBooker hasAttractions(Boolean hasAttractions)
    • getHasAttractions

      @Nullable public Boolean getHasAttractions()
      Convenience data point to check if any attractions reservations are included in this booking.
      Returns:
      hasAttractions
    • setHasAttractions

      public void setHasAttractions(Boolean hasAttractions)
    • hasPlaces

      public BookingBooker hasPlaces(Boolean hasPlaces)
    • getHasPlaces

      @Nullable public Boolean getHasPlaces()
      Convenience data point to check if any place reservations are included in this booking.
      Returns:
      hasPlaces
    • setHasPlaces

      public void setHasPlaces(Boolean hasPlaces)
    • reportingDailyRateList

      public BookingBooker reportingDailyRateList(List<ReportingDailyRateBooker> reportingDailyRateList)
    • addReportingDailyRateListItem

      public BookingBooker addReportingDailyRateListItem(ReportingDailyRateBooker reportingDailyRateListItem)
    • getReportingDailyRateList

      @Nullable @Valid public @Valid List<ReportingDailyRateBooker> getReportingDailyRateList()
      Get reportingDailyRateList
      Returns:
      reportingDailyRateList
    • setReportingDailyRateList

      public void setReportingDailyRateList(List<ReportingDailyRateBooker> reportingDailyRateList)
    • reportingAncillaryList

      public BookingBooker reportingAncillaryList(List<ReportingAncillaryBooker> reportingAncillaryList)
    • addReportingAncillaryListItem

      public BookingBooker addReportingAncillaryListItem(ReportingAncillaryBooker reportingAncillaryListItem)
    • getReportingAncillaryList

      @Nullable @Valid public @Valid List<ReportingAncillaryBooker> getReportingAncillaryList()
      Get reportingAncillaryList
      Returns:
      reportingAncillaryList
    • setReportingAncillaryList

      public void setReportingAncillaryList(List<ReportingAncillaryBooker> reportingAncillaryList)
    • reportingExtraChargeList

      public BookingBooker reportingExtraChargeList(List<ReportingExtraChargeBooker> reportingExtraChargeList)
    • addReportingExtraChargeListItem

      public BookingBooker addReportingExtraChargeListItem(ReportingExtraChargeBooker reportingExtraChargeListItem)
    • getReportingExtraChargeList

      @Nullable @Valid public @Valid List<ReportingExtraChargeBooker> getReportingExtraChargeList()
      Get reportingExtraChargeList
      Returns:
      reportingExtraChargeList
    • setReportingExtraChargeList

      public void setReportingExtraChargeList(List<ReportingExtraChargeBooker> reportingExtraChargeList)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object