Class MerchantBookingRequest

java.lang.Object
travel.wink.sdk.booking.engine.model.MerchantBookingRequest

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-09-06T15:30:26.907612+07:00[Asia/Bangkok]") public class MerchantBookingRequest extends Object
List of room configuration booking requests. Each entry is a separately booked room.
  • Field Details

  • Constructor Details

    • MerchantBookingRequest

      public MerchantBookingRequest()
  • Method Details

    • hotelIdentifier

      public MerchantBookingRequest hotelIdentifier(UUID hotelIdentifier)
    • getHotelIdentifier

      @Nonnull @NotNull @Valid public @NotNull @Valid UUID getHotelIdentifier()
      Unique hotel record identifier.
      Returns:
      hotelIdentifier
    • setHotelIdentifier

      public void setHotelIdentifier(UUID hotelIdentifier)
    • startDate

      public MerchantBookingRequest startDate(LocalDate startDate)
    • getStartDate

      @Nonnull @NotNull @Valid public @NotNull @Valid LocalDate getStartDate()
      Date when guest arrives on the premises.
      Returns:
      startDate
    • setStartDate

      public void setStartDate(LocalDate startDate)
    • endDate

      public MerchantBookingRequest endDate(LocalDate endDate)
    • getEndDate

      @Nonnull @NotNull @Valid public @NotNull @Valid LocalDate getEndDate()
      Date when guest departs the premises.
      Returns:
      endDate
    • setEndDate

      public void setEndDate(LocalDate endDate)
    • roomConfiguration

      public MerchantBookingRequest roomConfiguration(RoomConfiguration roomConfiguration)
    • getRoomConfiguration

      @Nonnull @NotNull @Valid public @NotNull @Valid RoomConfiguration getRoomConfiguration()
      Get roomConfiguration
      Returns:
      roomConfiguration
    • setRoomConfiguration

      public void setRoomConfiguration(RoomConfiguration roomConfiguration)
    • promotionalCodes

      public MerchantBookingRequest promotionalCodes(List<String> promotionalCodes)
    • addPromotionalCodesItem

      public MerchantBookingRequest addPromotionalCodesItem(String promotionalCodesItem)
    • getPromotionalCodes

      @Nullable public List<String> getPromotionalCodes()
      List of promotional codes the user entered to to activate a promotion.
      Returns:
      promotionalCodes
    • setPromotionalCodes

      public void setPromotionalCodes(List<String> promotionalCodes)
    • roomRateIdentifier

      public MerchantBookingRequest roomRateIdentifier(UUID roomRateIdentifier)
    • getRoomRateIdentifier

      @Nonnull @NotNull @Valid public @NotNull @Valid UUID getRoomRateIdentifier()
      The unique master rate that made the guest room / rate plan available for sale.
      Returns:
      roomRateIdentifier
    • setRoomRateIdentifier

      public void setRoomRateIdentifier(UUID roomRateIdentifier)
    • bedType

      public MerchantBookingRequest bedType(String bedType)
    • getBedType

      @Nullable public String 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

      public void setBedType(String bedType)
    • packageOffers

      public MerchantBookingRequest packageOffers(List<String> packageOffers)
    • addPackageOffersItem

      public MerchantBookingRequest addPackageOffersItem(String packageOffersItem)
    • getPackageOffers

      @Nullable public List<String> 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

      public void setPackageOffers(List<String> packageOffers)
    • addOnOffers

      public MerchantBookingRequest addOnOffers(List<String> addOnOffers)
    • addAddOnOffersItem

      public MerchantBookingRequest addAddOnOffersItem(String addOnOffersItem)
    • getAddOnOffers

      @Nullable public List<String> 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

      public void setAddOnOffers(List<String> addOnOffers)
    • ancillaries

      public MerchantBookingRequest ancillaries(List<AncillaryRequest> ancillaries)
    • addAncillariesItem

      public MerchantBookingRequest addAncillariesItem(AncillaryRequest ancillariesItem)
    • getAncillaries

      @Nullable @Valid public @Valid List<AncillaryRequest> getAncillaries()
      Extra reservations of spas, meeting rooms etc that should accompany the room type booking.
      Returns:
      ancillaries
    • setAncillaries

      public void setAncillaries(List<AncillaryRequest> ancillaries)
    • specialRequests

      public MerchantBookingRequest specialRequests(String specialRequests)
    • getSpecialRequests

      @Nullable public String getSpecialRequests()
      A guest can send a special request to the hotel in free-text here.
      Returns:
      specialRequests
    • setSpecialRequests

      public void setSpecialRequests(String specialRequests)
    • user

    • getUser

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

      public void setUser(BookingUserRequest user)
    • traceId

      public MerchantBookingRequest traceId(String traceId)
    • getTraceId

      @Nonnull @NotNull public @NotNull String getTraceId()
      traceId is a way to track multiple booking contracts
      Returns:
      traceId
    • setTraceId

      public void setTraceId(String traceId)
    • paymentIdentifier

      public MerchantBookingRequest paymentIdentifier(String paymentIdentifier)
    • getPaymentIdentifier

      @Nonnull @NotNull public @NotNull String getPaymentIdentifier()
      Identifier generated by TripPay.
      Returns:
      paymentIdentifier
    • setPaymentIdentifier

      public void setPaymentIdentifier(String paymentIdentifier)
    • 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