Class DailyRateUpdate

java.lang.Object
travel.wink.sdk.extranet.model.DailyRateUpdate

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-09-08T16:32:28.411222+07:00[Asia/Bangkok]") public class DailyRateUpdate extends Object
DailyRateUpdate
  • Field Details

  • Constructor Details

    • DailyRateUpdate

      public DailyRateUpdate()
  • Method Details

    • startDate

      public DailyRateUpdate startDate(LocalDate startDate)
    • getStartDate

      @Nonnull @NotNull @Valid public @NotNull @Valid LocalDate getStartDate()
      Start date for where you want to begin updating rates
      Returns:
      startDate
    • setStartDate

      public void setStartDate(LocalDate startDate)
    • endDate

      public DailyRateUpdate endDate(LocalDate endDate)
    • getEndDate

      @Nonnull @NotNull @Valid public @NotNull @Valid LocalDate getEndDate()
      End date for where you want to stop updating rates
      Returns:
      endDate
    • setEndDate

      public void setEndDate(LocalDate endDate)
    • hotelIdentifier

      public DailyRateUpdate hotelIdentifier(UUID hotelIdentifier)
    • getHotelIdentifier

      @Nonnull @NotNull @Valid public @NotNull @Valid UUID getHotelIdentifier()
      Owner of this rate date range.
      Returns:
      hotelIdentifier
    • setHotelIdentifier

      public void setHotelIdentifier(UUID hotelIdentifier)
    • masterRateIdentifier

      public DailyRateUpdate masterRateIdentifier(UUID masterRateIdentifier)
    • getMasterRateIdentifier

      @Nonnull @NotNull @Valid public @NotNull @Valid UUID getMasterRateIdentifier()
      The master rate you wish to update daily rates for.
      Returns:
      masterRateIdentifier
    • setMasterRateIdentifier

      public void setMasterRateIdentifier(UUID masterRateIdentifier)
    • rateSource

      public DailyRateUpdate rateSource(DailyRateUpdate.RateSourceEnum rateSource)
    • getRateSource

      @Nonnull @NotNull public @NotNull DailyRateUpdate.RateSourceEnum getRateSource()
      Indicate where this rate originated from. Leave as TRAVELIKO unless you are a channel manager and responsible for the property's rates externally of this payment.
      Returns:
      rateSource
    • setRateSource

      public void setRateSource(DailyRateUpdate.RateSourceEnum rateSource)
    • master

      public DailyRateUpdate master(Boolean master)
    • getMaster

      @Nonnull @NotNull public @NotNull Boolean getMaster()
      This flag indicates whether this rate is available for this date.
      Returns:
      master
    • setMaster

      public void setMaster(Boolean master)
    • closedOnArrival

      public DailyRateUpdate closedOnArrival(Boolean closedOnArrival)
    • getClosedOnArrival

      @Nonnull @NotNull public @NotNull Boolean getClosedOnArrival()
      This flag indicates whether a guest can arrive at the property on this date.
      Returns:
      closedOnArrival
    • setClosedOnArrival

      public void setClosedOnArrival(Boolean closedOnArrival)
    • closedOnDeparture

      public DailyRateUpdate closedOnDeparture(Boolean closedOnDeparture)
    • getClosedOnDeparture

      @Nonnull @NotNull public @NotNull Boolean getClosedOnDeparture()
      This flag indicates whether a guest can leave the property on this date.
      Returns:
      closedOnDeparture
    • setClosedOnDeparture

      public void setClosedOnDeparture(Boolean closedOnDeparture)
    • numberOfUnits

      public DailyRateUpdate numberOfUnits(Integer numberOfUnits)
    • getNumberOfUnits

      @Nullable public Integer getNumberOfUnits()
      Update the amount of rooms available for this date range. Leave empty if you don't want to update this property.
      Returns:
      numberOfUnits
    • setNumberOfUnits

      public void setNumberOfUnits(Integer numberOfUnits)
    • rate

    • getRate

      @Nullable @Valid public @Valid DailyRateUpdateRate getRate()
      Get rate
      Returns:
      rate
    • setRate

      public void setRate(DailyRateUpdateRate rate)
    • minLengthOfStay

      public DailyRateUpdate minLengthOfStay(Integer minLengthOfStay)
    • getMinLengthOfStay

      @Nullable public Integer getMinLengthOfStay()
      Control the minimum length of stay at the day-level. This means that a guest arriving within this date range is required to stay at least these number of days in order to get this rate. Leave empty if you don't want to update this property.
      Returns:
      minLengthOfStay
    • setMinLengthOfStay

      public void setMinLengthOfStay(Integer minLengthOfStay)
    • maxLengthOfStay

      public DailyRateUpdate maxLengthOfStay(Integer maxLengthOfStay)
    • getMaxLengthOfStay

      @Nullable public Integer getMaxLengthOfStay()
      Control the maximum length of stay at the day-level. This means that a guest arriving within this date range is required to stay no longer than these number of days in order to get this rate. Leave empty if you don't want to update this property.
      Returns:
      maxLengthOfStay
    • setMaxLengthOfStay

      public void setMaxLengthOfStay(Integer maxLengthOfStay)
    • 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