Class ApiHotel

java.lang.Object
travel.wink.hotelbeds.booking.sdk.model.ApiHotel

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-10-04T11:28:08.331690043+07:00[Asia/Bangkok]") public class ApiHotel extends Object
Information about an hotel and its associated room rates.
  • Field Details

  • Constructor Details

    • ApiHotel

      public ApiHotel()
  • Method Details

    • checkOut

      public ApiHotel checkOut(LocalDate checkOut)
    • getCheckOut

      @Nullable @Valid public @Valid LocalDate getCheckOut()
      Check-out date.
      Returns:
      checkOut
    • setCheckOut

      public void setCheckOut(LocalDate checkOut)
    • checkIn

      public ApiHotel checkIn(LocalDate checkIn)
    • getCheckIn

      @Nullable @Valid public @Valid LocalDate getCheckIn()
      Check-in date.
      Returns:
      checkIn
    • setCheckIn

      public void setCheckIn(LocalDate checkIn)
    • code

      public ApiHotel code(Integer code)
    • getCode

      @Nullable public Integer getCode()
      Hotelbeds internal hotel code.
      Returns:
      code
    • setCode

      public void setCode(Integer code)
    • name

      public ApiHotel name(String name)
    • getName

      @Nullable public String getName()
      Name of the hotel.
      Returns:
      name
    • setName

      public void setName(String name)
    • description

      public ApiHotel description(String description)
    • getDescription

      @Nullable public String getDescription()
      Hotel description.
      Returns:
      description
    • setDescription

      public void setDescription(String description)
    • exclusiveDeal

      public ApiHotel exclusiveDeal(Integer exclusiveDeal)
    • getExclusiveDeal

      @Nullable public Integer getExclusiveDeal()
      The value follows a qualitative scale, the number 1 being always the top priority/preferential, and the rest of the product defined by our commercial departments. As of today, the possible values are: 1: Identifies preferential product with exclusive guaranteed availability. 2: Identifies top hotels. 3: Identifies the rest of hotels. In case new values are added in the future, a proper communication campaign will be carried out to inform you.
      Returns:
      exclusiveDeal
    • setExclusiveDeal

      public void setExclusiveDeal(Integer exclusiveDeal)
    • categoryCode

      public ApiHotel categoryCode(String categoryCode)
    • getCategoryCode

      @Nullable public String getCategoryCode()
      Hotelbeds code of the hotel category.
      Returns:
      categoryCode
    • setCategoryCode

      public void setCategoryCode(String categoryCode)
    • categoryName

      public ApiHotel categoryName(String categoryName)
    • getCategoryName

      @Nullable public String getCategoryName()
      Name of the hotel category.
      Returns:
      categoryName
    • setCategoryName

      public void setCategoryName(String categoryName)
    • destinationCode

      public ApiHotel destinationCode(String destinationCode)
    • getDestinationCode

      @Nullable public String getDestinationCode()
      Code of the destination of the hotel location.
      Returns:
      destinationCode
    • setDestinationCode

      public void setDestinationCode(String destinationCode)
    • destinationName

      public ApiHotel destinationName(String destinationName)
    • getDestinationName

      @Nullable public String getDestinationName()
      Name of the destination of the hotel location.
      Returns:
      destinationName
    • setDestinationName

      public void setDestinationName(String destinationName)
    • zoneCode

      public ApiHotel zoneCode(Integer zoneCode)
    • getZoneCode

      @Nullable public Integer getZoneCode()
      Code of the zone of the hotel location.
      Returns:
      zoneCode
    • setZoneCode

      public void setZoneCode(Integer zoneCode)
    • zoneName

      public ApiHotel zoneName(String zoneName)
    • getZoneName

      @Nullable public String getZoneName()
      Name of the zone of the hotel location.
      Returns:
      zoneName
    • setZoneName

      public void setZoneName(String zoneName)
    • latitude

      public ApiHotel latitude(String latitude)
    • getLatitude

      @Nullable public String getLatitude()
      Latitude coordinate of the hotel location.
      Returns:
      latitude
    • setLatitude

      public void setLatitude(String latitude)
    • longitude

      public ApiHotel longitude(String longitude)
    • getLongitude

      @Nullable public String getLongitude()
      Longitude coordinate of the hotel location.
      Returns:
      longitude
    • setLongitude

      public void setLongitude(String longitude)
    • minRate

      public ApiHotel minRate(String minRate)
    • getMinRate

      @Nullable public String getMinRate()
      Minimum hotel room price.
      Returns:
      minRate
    • setMinRate

      public void setMinRate(String minRate)
    • maxRate

      public ApiHotel maxRate(String maxRate)
    • getMaxRate

      @Nullable public String getMaxRate()
      Maximum hotel room price.
      Returns:
      maxRate
    • setMaxRate

      public void setMaxRate(String maxRate)
    • totalSellingRate

      public ApiHotel totalSellingRate(BigDecimal totalSellingRate)
    • getTotalSellingRate

      @Nullable @Valid public @Valid BigDecimal getTotalSellingRate()
      Total amount of the booking.
      Returns:
      totalSellingRate
    • setTotalSellingRate

      public void setTotalSellingRate(BigDecimal totalSellingRate)
    • totalNet

      public ApiHotel totalNet(BigDecimal totalNet)
    • getTotalNet

      @Nullable @Valid public @Valid BigDecimal getTotalNet()
      Total amount of the booking.
      Returns:
      totalNet
    • setTotalNet

      public void setTotalNet(BigDecimal totalNet)
    • pendingAmount

      public ApiHotel pendingAmount(BigDecimal pendingAmount)
    • getPendingAmount

      @Nullable @Valid public @Valid BigDecimal getPendingAmount()
      Remaining amount to be paid.
      Returns:
      pendingAmount
    • setPendingAmount

      public void setPendingAmount(BigDecimal pendingAmount)
    • currency

      public ApiHotel currency(String currency)
    • getCurrency

      @Nullable public String getCurrency()
      Client currency.
      Returns:
      currency
    • setCurrency

      public void setCurrency(String currency)
    • supplier

      public ApiHotel supplier(ApiSupplier supplier)
    • getSupplier

      @Nullable @Valid public @Valid ApiSupplier getSupplier()
      Get supplier
      Returns:
      supplier
    • setSupplier

      public void setSupplier(ApiSupplier supplier)
    • clientComments

      public ApiHotel clientComments(String clientComments)
    • getClientComments

      @Nullable public String getClientComments()
      Get clientComments
      Returns:
      clientComments
    • setClientComments

      public void setClientComments(String clientComments)
    • cancellationAmount

      public ApiHotel cancellationAmount(String cancellationAmount)
    • getCancellationAmount

      @Nullable public String getCancellationAmount()
      Get cancellationAmount
      Returns:
      cancellationAmount
    • setCancellationAmount

      public void setCancellationAmount(String cancellationAmount)
    • upselling

      public ApiHotel upselling(ApiUpselling upselling)
    • getUpselling

      @Nullable @Valid public @Valid ApiUpselling getUpselling()
      Get upselling
      Returns:
      upselling
    • setUpselling

      public void setUpselling(ApiUpselling upselling)
    • keywords

      public ApiHotel keywords(List<ApiKeyword> keywords)
    • addKeywordsItem

      public ApiHotel addKeywordsItem(ApiKeyword keywordsItem)
    • getKeywords

      @Nullable @Valid public @Valid List<ApiKeyword> getKeywords()
      Get keywords
      Returns:
      keywords
    • setKeywords

      public void setKeywords(List<ApiKeyword> keywords)
    • reviews

      public ApiHotel reviews(List<ApiReview> reviews)
    • addReviewsItem

      public ApiHotel addReviewsItem(ApiReview reviewsItem)
    • getReviews

      @Nullable @Valid public @Valid List<ApiReview> getReviews()
      Get reviews
      Returns:
      reviews
    • setReviews

      public void setReviews(List<ApiReview> reviews)
    • rooms

      public ApiHotel rooms(List<Room> rooms)
    • addRoomsItem

      public ApiHotel addRoomsItem(Room roomsItem)
    • getRooms

      @Nullable @Valid public @Valid List<Room> getRooms()
      Get rooms
      Returns:
      rooms
    • setRooms

      public void setRooms(List<Room> rooms)
    • creditCards

      public ApiHotel creditCards(List<ApiCreditCard> creditCards)
    • addCreditCardsItem

      public ApiHotel addCreditCardsItem(ApiCreditCard creditCardsItem)
    • getCreditCards

      @Nullable @Valid public @Valid List<ApiCreditCard> getCreditCards()
      List of credit cards accepted by the hotel.
      Returns:
      creditCards
    • setCreditCards

      public void setCreditCards(List<ApiCreditCard> creditCards)
    • paymentDataRequired

      public ApiHotel paymentDataRequired(Boolean paymentDataRequired)
    • getPaymentDataRequired

      @Nullable public Boolean getPaymentDataRequired()
      Indicates the need for payment data(i.e.: credit card details) in order to finish the booking.
      Returns:
      paymentDataRequired
    • setPaymentDataRequired

      public void setPaymentDataRequired(Boolean paymentDataRequired)
    • 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