Class CheckRateRQ

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-10-04T11:28:08.331690043+07:00[Asia/Bangkok]") public class CheckRateRQ extends Object
Request of CheckRate operation.
  • Field Details

  • Constructor Details

    • CheckRateRQ

      public CheckRateRQ()
  • Method Details

    • upselling

      public CheckRateRQ upselling(Boolean upselling)
    • getUpselling

      @Nullable public Boolean getUpselling()
      Parameter to add or remove the upSelling options node to the response.
      Returns:
      upselling
    • setUpselling

      public void setUpselling(Boolean upselling)
    • expandCXL

      public CheckRateRQ expandCXL(Boolean expandCXL)
    • getExpandCXL

      @Nullable public Boolean getExpandCXL()
      When true, it will add either the percent or the numberOfnights to the cancellation policies.
      Returns:
      expandCXL
    • setExpandCXL

      public void setExpandCXL(Boolean expandCXL)
    • language

      public CheckRateRQ language(String language)
    • getLanguage

      @Nullable public String getLanguage()
      Language code that defines the language of the response. English will be used by default if this field is not informed.
      Returns:
      language
    • setLanguage

      public void setLanguage(String language)
    • rooms

      public CheckRateRQ rooms(List<ApiBookingRoom> rooms)
    • addRoomsItem

      public CheckRateRQ addRoomsItem(ApiBookingRoom roomsItem)
    • getRooms

      @Nullable @Valid @Size(min=1, max=2147483647) public @Valid @Size(min=1,max=2147483647) List<ApiBookingRoom> getRooms()
      List of rooms to be checked/valuated.
      Returns:
      rooms
    • setRooms

      public void setRooms(List<ApiBookingRoom> rooms)
    • 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