Class RateSupplierDetails

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-08-22T15:43:52.377864372+07:00[Asia/Bangkok]") public class RateSupplierDetails extends Object
RateSupplierDetails
  • Field Details

  • Constructor Details

    • RateSupplierDetails

      public RateSupplierDetails()
  • Method Details

    • identifier

      public RateSupplierDetails identifier(UUID identifier)
    • getIdentifier

      @Nonnull @NotNull @Valid public @NotNull @Valid UUID getIdentifier()
      Unique record identifier.
      Returns:
      identifier
    • setIdentifier

      public void setIdentifier(UUID identifier)
    • hotelIdentifier

      public RateSupplierDetails hotelIdentifier(UUID hotelIdentifier)
    • getHotelIdentifier

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

      public void setHotelIdentifier(UUID hotelIdentifier)
    • rateSource

      public RateSupplierDetails 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)
    • masterRateIdentifier

      public RateSupplierDetails masterRateIdentifier(UUID masterRateIdentifier)
    • getMasterRateIdentifier

      @Nonnull @NotNull @Valid public @NotNull @Valid UUID getMasterRateIdentifier()
      Master rate associated with this daily rate.
      Returns:
      masterRateIdentifier
    • setMasterRateIdentifier

      public void setMasterRateIdentifier(UUID masterRateIdentifier)
    • ratePlanIdentifier

      public RateSupplierDetails ratePlanIdentifier(UUID ratePlanIdentifier)
    • getRatePlanIdentifier

      @Nonnull @NotNull @Valid public @NotNull @Valid UUID getRatePlanIdentifier()
      Rate plan associated with this daily rate.
      Returns:
      ratePlanIdentifier
    • setRatePlanIdentifier

      public void setRatePlanIdentifier(UUID ratePlanIdentifier)
    • guestRoomIdentifier

      public RateSupplierDetails guestRoomIdentifier(UUID guestRoomIdentifier)
    • getGuestRoomIdentifier

      @Nonnull @NotNull @Valid public @NotNull @Valid UUID getGuestRoomIdentifier()
      Guest room associated with this daily rate.
      Returns:
      guestRoomIdentifier
    • setGuestRoomIdentifier

      public void setGuestRoomIdentifier(UUID guestRoomIdentifier)
    • rate

    • getRate

      @Nonnull @NotNull @Valid public @NotNull @Valid CustomMonetaryAmount getRate()
      Get rate
      Returns:
      rate
    • setRate

      public void setRate(CustomMonetaryAmount rate)
    • master

      public RateSupplierDetails 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 RateSupplierDetails 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 RateSupplierDetails 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)
    • date

      public RateSupplierDetails date(LocalDate date)
    • getDate

      @Nonnull @NotNull @Valid public @NotNull @Valid LocalDate getDate()
      The date this rate is applicable for.
      Returns:
      date
    • setDate

      public void setDate(LocalDate date)
    • quantity

      public RateSupplierDetails quantity(Integer quantity)
    • getQuantity

      @Nullable public Integer getQuantity()
      Amount of rooms available for this date.
      Returns:
      quantity
    • setQuantity

      public void setQuantity(Integer quantity)
    • minOccupancy

      public RateSupplierDetails minOccupancy(Integer minOccupancy)
    • getMinOccupancy

      @Nonnull @NotNull @Min(1L) public @NotNull @Min(1L) Integer getMinOccupancy()
      Minimum number of guests allowed in a room type. minimum: 1
      Returns:
      minOccupancy
    • setMinOccupancy

      public void setMinOccupancy(Integer minOccupancy)
    • maxOccupancy

      public RateSupplierDetails maxOccupancy(Integer maxOccupancy)
    • getMaxOccupancy

      @Nonnull @NotNull @Min(1L) public @NotNull @Min(1L) Integer getMaxOccupancy()
      Maximum number of guest allowed in a room type. minimum: 1
      Returns:
      maxOccupancy
    • setMaxOccupancy

      public void setMaxOccupancy(Integer maxOccupancy)
    • includedAdultOccupancy

      public RateSupplierDetails includedAdultOccupancy(Integer includedAdultOccupancy)
    • getIncludedAdultOccupancy

      @Nonnull @NotNull @Min(0L) public @NotNull @Min(0L) Integer getIncludedAdultOccupancy()
      The number of pax the room price was meant for minimum: 0
      Returns:
      includedAdultOccupancy
    • setIncludedAdultOccupancy

      public void setIncludedAdultOccupancy(Integer includedAdultOccupancy)
    • includedChildOccupancy

      public RateSupplierDetails includedChildOccupancy(Integer includedChildOccupancy)
    • getIncludedChildOccupancy

      @Nonnull @NotNull @Min(0L) public @NotNull @Min(0L) Integer getIncludedChildOccupancy()
      The number of children the room price was meant for minimum: 0
      Returns:
      includedChildOccupancy
    • setIncludedChildOccupancy

      public void setIncludedChildOccupancy(Integer includedChildOccupancy)
    • maxAdultOccupancy

      public RateSupplierDetails maxAdultOccupancy(Integer maxAdultOccupancy)
    • getMaxAdultOccupancy

      @Nonnull @NotNull @Min(1L) public @NotNull @Min(1L) Integer getMaxAdultOccupancy()
      Maximum number of adults allowed in a room type. minimum: 1
      Returns:
      maxAdultOccupancy
    • setMaxAdultOccupancy

      public void setMaxAdultOccupancy(Integer maxAdultOccupancy)
    • maxChildOccupancy

      public RateSupplierDetails maxChildOccupancy(Integer maxChildOccupancy)
    • getMaxChildOccupancy

      @Nonnull @NotNull @Min(0L) public @NotNull @Min(0L) Integer getMaxChildOccupancy()
      Maximum number of children allowed in a room type. minimum: 0
      Returns:
      maxChildOccupancy
    • setMaxChildOccupancy

      public void setMaxChildOccupancy(Integer maxChildOccupancy)
    • minLengthOfStay

      public RateSupplierDetails 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 RateSupplierDetails 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)
    • singleOccupancyRateModifier

      public RateSupplierDetails singleOccupancyRateModifier(VariableChargeSupplierDetails singleOccupancyRateModifier)
    • getSingleOccupancyRateModifier

      @Nullable @Valid public @Valid VariableChargeSupplierDetails getSingleOccupancyRateModifier()
      Get singleOccupancyRateModifier
      Returns:
      singleOccupancyRateModifier
    • setSingleOccupancyRateModifier

      public void setSingleOccupancyRateModifier(VariableChargeSupplierDetails singleOccupancyRateModifier)
    • extraPaxRateModifier

      public RateSupplierDetails extraPaxRateModifier(VariableChargeSupplierDetails extraPaxRateModifier)
    • getExtraPaxRateModifier

      @Nullable @Valid public @Valid VariableChargeSupplierDetails getExtraPaxRateModifier()
      Get extraPaxRateModifier
      Returns:
      extraPaxRateModifier
    • setExtraPaxRateModifier

      public void setExtraPaxRateModifier(VariableChargeSupplierDetails extraPaxRateModifier)
    • extraChildRateModifier

      public RateSupplierDetails extraChildRateModifier(VariableChargeSupplierDetails extraChildRateModifier)
    • getExtraChildRateModifier

      @Nullable @Valid public @Valid VariableChargeSupplierDetails getExtraChildRateModifier()
      Get extraChildRateModifier
      Returns:
      extraChildRateModifier
    • setExtraChildRateModifier

      public void setExtraChildRateModifier(VariableChargeSupplierDetails extraChildRateModifier)
    • available

      public RateSupplierDetails available(Boolean available)
    • getAvailable

      @Nullable public Boolean getAvailable()
      Convenience data point that tells you if there is availability on this day. It tests that quantity is greater than 0, rate amount is valid and master flag is true.
      Returns:
      available
    • setAvailable

      public void setAvailable(Boolean available)
    • 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