Class ApiShiftRate

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-10-04T11:28:08.331690043+07:00[Asia/Bangkok]") public class ApiShiftRate extends Object
Definition of a rate for an alternative date to the one used in the availability request.
  • Field Details

  • Constructor Details

    • ApiShiftRate

      public ApiShiftRate()
  • Method Details

    • rateKey

      public ApiShiftRate rateKey(String rateKey)
    • getRateKey

      @Nullable public String getRateKey()
      Internal key that represents a combination of room type, category, board and occupancy. Is returned in Availability and used to valuate a rate and confirm a booking.
      Returns:
      rateKey
    • setRateKey

      public void setRateKey(String rateKey)
    • rateClass

      public ApiShiftRate rateClass(String rateClass)
    • getRateClass

      @Nullable public String getRateClass()
      Class of the rate.
      Returns:
      rateClass
    • setRateClass

      public void setRateClass(String rateClass)
    • rateType

      public ApiShiftRate rateType(ApiShiftRate.RateTypeEnum rateType)
    • getRateType

      @Nullable public ApiShiftRate.RateTypeEnum getRateType()
      Determines if can booked directly (BOOKABLE) or if it needs to be checked with the ‘CheckRate’ operation (RECHECK).
      Returns:
      rateType
    • setRateType

      public void setRateType(ApiShiftRate.RateTypeEnum rateType)
    • net

      public ApiShiftRate net(String net)
    • getNet

      @Nullable public String getNet()
      Net price of the rate.
      Returns:
      net
    • setNet

      public void setNet(String net)
    • discount

      public ApiShiftRate discount(String discount)
    • getDiscount

      @Nullable public String getDiscount()
      Profit margin that the agency would take if it sells at that recommended price.
      Returns:
      discount
    • setDiscount

      public void setDiscount(String discount)
    • discountPCT

      public ApiShiftRate discountPCT(String discountPCT)
    • getDiscountPCT

      @Nullable public String getDiscountPCT()
      Percentual share of the price corresponding to the profit margin the agency would take if it sells at that recommended price.
      Returns:
      discountPCT
    • setDiscountPCT

      public void setDiscountPCT(String discountPCT)
    • sellingRate

      public ApiShiftRate sellingRate(String sellingRate)
    • getSellingRate

      @Nullable public String getSellingRate()
      Gross price of the room in case it is included.
      Returns:
      sellingRate
    • setSellingRate

      public void setSellingRate(String sellingRate)
    • hotelMandatory

      public ApiShiftRate hotelMandatory(Boolean hotelMandatory)
    • getHotelMandatory

      @Nullable public Boolean getHotelMandatory()
      Identifies if the rate price is recommended.
      Returns:
      hotelMandatory
    • setHotelMandatory

      public void setHotelMandatory(Boolean hotelMandatory)
    • allotment

      public ApiShiftRate allotment(Integer allotment)
    • getAllotment

      @Nullable public Integer getAllotment()
      Number of rooms available for a particular room type.
      Returns:
      allotment
    • setAllotment

      public void setAllotment(Integer allotment)
    • commission

      public ApiShiftRate commission(String commission)
    • getCommission

      @Nullable public String getCommission()
      Profit margin the agency takes (commissionable model).
      Returns:
      commission
    • setCommission

      public void setCommission(String commission)
    • commissionVAT

      public ApiShiftRate commissionVAT(String commissionVAT)
    • getCommissionVAT

      @Nullable public String getCommissionVAT()
      Share of the commission corresponding to the Value Added Tax.
      Returns:
      commissionVAT
    • setCommissionVAT

      public void setCommissionVAT(String commissionVAT)
    • commissionPCT

      public ApiShiftRate commissionPCT(String commissionPCT)
    • getCommissionPCT

      @Nullable public String getCommissionPCT()
      Percentual share of the price corresponding to commision.
      Returns:
      commissionPCT
    • setCommissionPCT

      public void setCommissionPCT(String commissionPCT)
    • checkIn

      public ApiShiftRate checkIn(LocalDate checkIn)
    • getCheckIn

      @Nullable @Valid public @Valid LocalDate getCheckIn()
      CheckIn date for the shift rate. This will always be different than the requested date or the dates of the not alternative rates.
      Returns:
      checkIn
    • setCheckIn

      public void setCheckIn(LocalDate checkIn)
    • checkOut

      public ApiShiftRate checkOut(LocalDate checkOut)
    • getCheckOut

      @Nullable @Valid public @Valid LocalDate getCheckOut()
      CheckIn date for the shift rate. This will always be different than the requested date or the dates of the not alternative rates.
      Returns:
      checkOut
    • setCheckOut

      public void setCheckOut(LocalDate checkOut)
    • brand

      public ApiShiftRate brand(String brand)
    • getBrand

      @Nullable public String getBrand()
      Brand of the hotel.
      Returns:
      brand
    • setBrand

      public void setBrand(String brand)
    • resident

      public ApiShiftRate resident(Boolean resident)
    • getResident

      @Nullable public Boolean getResident()
      Indicates if the rate is only for residents (only appears when resident rates are requested).
      Returns:
      resident
    • setResident

      public void setResident(Boolean resident)
    • 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