Class UpsertBulkRateRequestSupplier

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-08-17T14:16:48.275510066+07:00[Asia/Bangkok]") public class UpsertBulkRateRequestSupplier extends Object
UpsertBulkRateRequestSupplier
  • Field Details

  • Constructor Details

    • UpsertBulkRateRequestSupplier

      public UpsertBulkRateRequestSupplier()
  • Method Details

    • startDate

      public UpsertBulkRateRequestSupplier 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 UpsertBulkRateRequestSupplier 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)
    • rateSource

      public UpsertBulkRateRequestSupplier rateSource(String rateSource)
    • getRateSource

      @Nonnull @NotNull public @NotNull String 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(String rateSource)
    • master

      public UpsertBulkRateRequestSupplier 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 UpsertBulkRateRequestSupplier 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 UpsertBulkRateRequestSupplier 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 UpsertBulkRateRequestSupplier 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 CustomMonetaryAmount getRate()
      Get rate
      Returns:
      rate
    • setRate

      public void setRate(CustomMonetaryAmount rate)
    • minLengthOfStay

      public UpsertBulkRateRequestSupplier 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 UpsertBulkRateRequestSupplier 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