Class RatePlanSupplier

java.lang.Object
travel.wink.sdk.extranet.booking.model.RatePlanSupplier

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-01-24T16:09:09.617820397+07:00[Asia/Bangkok]") public class RatePlanSupplier extends Object
Rate plan used for this stay
  • Field Details

  • Constructor Details

    • RatePlanSupplier

      public RatePlanSupplier()
  • Method Details

    • identifier

      public RatePlanSupplier identifier(UUID identifier)
    • getIdentifier

      @Nonnull @NotNull @Valid public @NotNull @Valid UUID getIdentifier()
      Rate plan identifier
      Returns:
      identifier
    • setIdentifier

      public void setIdentifier(UUID identifier)
    • hotelIdentifier

      public RatePlanSupplier hotelIdentifier(UUID hotelIdentifier)
    • getHotelIdentifier

      @Nonnull @NotNull @Valid public @NotNull @Valid UUID getHotelIdentifier()
      Hotel Identifier
      Returns:
      hotelIdentifier
    • setHotelIdentifier

      public void setHotelIdentifier(UUID hotelIdentifier)
    • name

      public RatePlanSupplier name(String name)
    • getName

      @Nonnull @NotNull public @NotNull String getName()
      Provides the name of the rate plan.
      Returns:
      name
    • setName

      public void setName(String name)
    • prepaid

      public RatePlanSupplier prepaid(Boolean prepaid)
    • getPrepaid

      @Nonnull @NotNull public @NotNull Boolean getPrepaid()
      When true, indicates if the rate is a prepaid rate.
      Returns:
      prepaid
    • setPrepaid

      public void setPrepaid(Boolean prepaid)
    • enabled

      public RatePlanSupplier enabled(Boolean enabled)
    • getEnabled

      @Nonnull @NotNull public @NotNull Boolean getEnabled()
      Whether rate plan is active or not.
      Returns:
      enabled
    • setEnabled

      public void setEnabled(Boolean enabled)
    • breakfast

      public RatePlanSupplier breakfast(Boolean breakfast)
    • getBreakfast

      @Nonnull @NotNull public @NotNull Boolean getBreakfast()
      When true, indicates breakfast is included.
      Returns:
      breakfast
    • setBreakfast

      public void setBreakfast(Boolean breakfast)
    • brunch

      public RatePlanSupplier brunch(Boolean brunch)
    • getBrunch

      @Nonnull @NotNull public @NotNull Boolean getBrunch()
      When true, indicates brunch is included.
      Returns:
      brunch
    • setBrunch

      public void setBrunch(Boolean brunch)
    • lunch

      public RatePlanSupplier lunch(Boolean lunch)
    • getLunch

      @Nonnull @NotNull public @NotNull Boolean getLunch()
      When true, indicates lunch is included.
      Returns:
      lunch
    • setLunch

      public void setLunch(Boolean lunch)
    • dinner

      public RatePlanSupplier dinner(Boolean dinner)
    • getDinner

      @Nonnull @NotNull public @NotNull Boolean getDinner()
      When true, indicates dinner is included.
      Returns:
      dinner
    • setDinner

      public void setDinner(Boolean dinner)
    • allInclusive

      public RatePlanSupplier allInclusive(Boolean allInclusive)
    • getAllInclusive

      @Nonnull @NotNull public @NotNull Boolean getAllInclusive()
      Everything included except alcohol
      Returns:
      allInclusive
    • setAllInclusive

      public void setAllInclusive(Boolean allInclusive)
    • allInclusivePlusAlcohol

      public RatePlanSupplier allInclusivePlusAlcohol(Boolean allInclusivePlusAlcohol)
    • getAllInclusivePlusAlcohol

      @Nonnull @NotNull public @NotNull Boolean getAllInclusivePlusAlcohol()
      Everything included with alcohol
      Returns:
      allInclusivePlusAlcohol
    • setAllInclusivePlusAlcohol

      public void setAllInclusivePlusAlcohol(Boolean allInclusivePlusAlcohol)
    • sellStartDate

      public RatePlanSupplier sellStartDate(LocalDate sellStartDate)
    • getSellStartDate

      @Nullable @Valid public @Valid LocalDate getSellStartDate()
      Set a start date for when to start selling this rate. When sellStartDate and sellEndDate are set, this rate is only available for sale within that date range.
      Returns:
      sellStartDate
    • setSellStartDate

      public void setSellStartDate(LocalDate sellStartDate)
    • sellEndDate

      public RatePlanSupplier sellEndDate(LocalDate sellEndDate)
    • getSellEndDate

      @Nullable @Valid public @Valid LocalDate getSellEndDate()
      Set an end date for when to finish selling this rate. When sellStartDate and sellEndDate are set, this rate is only available for sale within that date range.
      Returns:
      sellEndDate
    • setSellEndDate

      public void setSellEndDate(LocalDate sellEndDate)
    • stayStartDate

      public RatePlanSupplier stayStartDate(LocalDate stayStartDate)
    • getStayStartDate

      @Nullable @Valid public @Valid LocalDate getStayStartDate()
      Set a start date for when the guest can visit. When stayStartDate and stayEndDate are set, this rate is only available for stay within that date range.
      Returns:
      stayStartDate
    • setStayStartDate

      public void setStayStartDate(LocalDate stayStartDate)
    • stayEndDate

      public RatePlanSupplier stayEndDate(LocalDate stayEndDate)
    • getStayEndDate

      @Nullable @Valid public @Valid LocalDate getStayEndDate()
      Set an end date for when the guest can visit. When stayStartDate and stayEndDate are set, this rate is only available for stay within that date range.
      Returns:
      stayEndDate
    • setStayEndDate

      public void setStayEndDate(LocalDate stayEndDate)
    • loyaltyPointsAccrue

      public RatePlanSupplier loyaltyPointsAccrue(Boolean loyaltyPointsAccrue)
    • getLoyaltyPointsAccrue

      @Nullable public Boolean getLoyaltyPointsAccrue()
      Property honors loyalty points with this rate plan.
      Returns:
      loyaltyPointsAccrue
    • setLoyaltyPointsAccrue

      public void setLoyaltyPointsAccrue(Boolean loyaltyPointsAccrue)
    • maxAdvanceBookingOffset

      public RatePlanSupplier maxAdvanceBookingOffset(Integer maxAdvanceBookingOffset)
    • getMaxAdvanceBookingOffset

      @Nullable public Integer getMaxAdvanceBookingOffset()
      Maximum days before the arrival date for which this rate plan may be booked.
      Returns:
      maxAdvanceBookingOffset
    • setMaxAdvanceBookingOffset

      public void setMaxAdvanceBookingOffset(Integer maxAdvanceBookingOffset)
    • minAdvanceBookingOffset

      public RatePlanSupplier minAdvanceBookingOffset(Integer minAdvanceBookingOffset)
    • getMinAdvanceBookingOffset

      @Nullable public Integer getMinAdvanceBookingOffset()
      Minimum days before the arrival date for which this rate plan may be booked.
      Returns:
      minAdvanceBookingOffset
    • setMinAdvanceBookingOffset

      public void setMinAdvanceBookingOffset(Integer minAdvanceBookingOffset)
    • minTotalOccupancy

      public RatePlanSupplier minTotalOccupancy(Integer minTotalOccupancy)
    • getMinTotalOccupancy

      @Nullable public Integer getMinTotalOccupancy()
      Defines the minimum number of total occupants required for this rate plan.
      Returns:
      minTotalOccupancy
    • setMinTotalOccupancy

      public void setMinTotalOccupancy(Integer minTotalOccupancy)
    • maxTotalOccupancy

      public RatePlanSupplier maxTotalOccupancy(Integer maxTotalOccupancy)
    • getMaxTotalOccupancy

      @Nullable public Integer getMaxTotalOccupancy()
      Defines the maximum number of total occupants required for this rate plan.
      Returns:
      maxTotalOccupancy
    • setMaxTotalOccupancy

      public void setMaxTotalOccupancy(Integer maxTotalOccupancy)
    • minLOS

      public RatePlanSupplier minLOS(Integer minLOS)
    • getMinLOS

      @Nullable public Integer getMinLOS()
      Indicates the minimum length of stay required for this rate plan.
      Returns:
      minLOS
    • setMinLOS

      public void setMinLOS(Integer minLOS)
    • maxLOS

      public RatePlanSupplier maxLOS(Integer maxLOS)
    • getMaxLOS

      @Nullable public Integer getMaxLOS()
      Indicates the maximum length of stay.
      Returns:
      maxLOS
    • setMaxLOS

      public void setMaxLOS(Integer maxLOS)
    • minAge

      public RatePlanSupplier minAge(Integer minAge)
    • getMinAge

      @Nullable public Integer getMinAge()
      The minimum age to qualify for this rate plan.
      Returns:
      minAge
    • setMinAge

      public void setMinAge(Integer minAge)
    • maxAge

      public RatePlanSupplier maxAge(Integer maxAge)
    • getMaxAge

      @Nullable public Integer getMaxAge()
      The maximum age to qualify for this rate plan.
      Returns:
      maxAge
    • setMaxAge

      public void setMaxAge(Integer maxAge)
    • ratePlanLevelFees

      public RatePlanSupplier ratePlanLevelFees(List<RatePlanLevelFeeSupplier> ratePlanLevelFees)
    • addRatePlanLevelFeesItem

      public RatePlanSupplier addRatePlanLevelFeesItem(RatePlanLevelFeeSupplier ratePlanLevelFeesItem)
    • getRatePlanLevelFees

      @Nullable @Valid public @Valid List<RatePlanLevelFeeSupplier> getRatePlanLevelFees()
      This can be a one-time fee such as a cleaning fee
      Returns:
      ratePlanLevelFees
    • setRatePlanLevelFees

      public void setRatePlanLevelFees(List<RatePlanLevelFeeSupplier> ratePlanLevelFees)
    • availableDaysOfWeek

      public RatePlanSupplier availableDaysOfWeek(DowPatternGroupSupplier availableDaysOfWeek)
    • getAvailableDaysOfWeek

      @Nullable @Valid public @Valid DowPatternGroupSupplier getAvailableDaysOfWeek()
      Get availableDaysOfWeek
      Returns:
      availableDaysOfWeek
    • setAvailableDaysOfWeek

      public void setAvailableDaysOfWeek(DowPatternGroupSupplier availableDaysOfWeek)
    • arrivalDaysOfWeek

      public RatePlanSupplier arrivalDaysOfWeek(DowPatternGroupSupplier arrivalDaysOfWeek)
    • getArrivalDaysOfWeek

      @Nullable @Valid public @Valid DowPatternGroupSupplier getArrivalDaysOfWeek()
      Get arrivalDaysOfWeek
      Returns:
      arrivalDaysOfWeek
    • setArrivalDaysOfWeek

      public void setArrivalDaysOfWeek(DowPatternGroupSupplier arrivalDaysOfWeek)
    • departureDaysOfWeek

      public RatePlanSupplier departureDaysOfWeek(DowPatternGroupSupplier departureDaysOfWeek)
    • getDepartureDaysOfWeek

      @Nullable @Valid public @Valid DowPatternGroupSupplier getDepartureDaysOfWeek()
      Get departureDaysOfWeek
      Returns:
      departureDaysOfWeek
    • setDepartureDaysOfWeek

      public void setDepartureDaysOfWeek(DowPatternGroupSupplier departureDaysOfWeek)
    • requiredDaysOfWeek

      public RatePlanSupplier requiredDaysOfWeek(DowPatternGroupSupplier requiredDaysOfWeek)
    • getRequiredDaysOfWeek

      @Nullable @Valid public @Valid DowPatternGroupSupplier getRequiredDaysOfWeek()
      Get requiredDaysOfWeek
      Returns:
      requiredDaysOfWeek
    • setRequiredDaysOfWeek

      public void setRequiredDaysOfWeek(DowPatternGroupSupplier requiredDaysOfWeek)
    • earlyCheckInCharge

      public RatePlanSupplier earlyCheckInCharge(VariableChargeSupplier earlyCheckInCharge)
    • getEarlyCheckInCharge

      @Nullable @Valid public @Valid VariableChargeSupplier getEarlyCheckInCharge()
      Get earlyCheckInCharge
      Returns:
      earlyCheckInCharge
    • setEarlyCheckInCharge

      public void setEarlyCheckInCharge(VariableChargeSupplier earlyCheckInCharge)
    • lateCheckOutCharge

      public RatePlanSupplier lateCheckOutCharge(VariableChargeSupplier lateCheckOutCharge)
    • getLateCheckOutCharge

      @Nullable @Valid public @Valid VariableChargeSupplier getLateCheckOutCharge()
      Get lateCheckOutCharge
      Returns:
      lateCheckOutCharge
    • setLateCheckOutCharge

      public void setLateCheckOutCharge(VariableChargeSupplier lateCheckOutCharge)
    • cancellationPolicyIdentifier

      public RatePlanSupplier cancellationPolicyIdentifier(String cancellationPolicyIdentifier)
    • getCancellationPolicyIdentifier

      @Nonnull @NotNull public @NotNull String getCancellationPolicyIdentifier()
      The cancellation policy for this rate plan.
      Returns:
      cancellationPolicyIdentifier
    • setCancellationPolicyIdentifier

      public void setCancellationPolicyIdentifier(String cancellationPolicyIdentifier)
    • cancellationPolicy

      public RatePlanSupplier cancellationPolicy(CancellationPolicySupplier cancellationPolicy)
    • getCancellationPolicy

      @Nullable @Valid public @Valid CancellationPolicySupplier getCancellationPolicy()
      Get cancellationPolicy
      Returns:
      cancellationPolicy
    • setCancellationPolicy

      public void setCancellationPolicy(CancellationPolicySupplier cancellationPolicy)
    • cancellationPolicyExceptions

      public RatePlanSupplier cancellationPolicyExceptions(CancellationPolicyExceptionsSupplier cancellationPolicyExceptions)
    • getCancellationPolicyExceptions

      @Nullable @Valid public @Valid CancellationPolicyExceptionsSupplier getCancellationPolicyExceptions()
      Get cancellationPolicyExceptions
      Returns:
      cancellationPolicyExceptions
    • setCancellationPolicyExceptions

      public void setCancellationPolicyExceptions(CancellationPolicyExceptionsSupplier cancellationPolicyExceptions)
    • singleOccupancyRateModifier

      public RatePlanSupplier singleOccupancyRateModifier(VariableChargeSupplier singleOccupancyRateModifier)
    • getSingleOccupancyRateModifier

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

      public void setSingleOccupancyRateModifier(VariableChargeSupplier singleOccupancyRateModifier)
    • extraPaxRateModifier

      public RatePlanSupplier extraPaxRateModifier(VariableChargeSupplier extraPaxRateModifier)
    • getExtraPaxRateModifier

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

      public void setExtraPaxRateModifier(VariableChargeSupplier extraPaxRateModifier)
    • extraChildRateModifier

      public RatePlanSupplier extraChildRateModifier(VariableChargeSupplier extraChildRateModifier)
    • getExtraChildRateModifier

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

      public void setExtraChildRateModifier(VariableChargeSupplier extraChildRateModifier)
    • 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