Class RatePlanBooker

java.lang.Object
travel.wink.sdk.booking.model.RatePlanBooker

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-10T15:16:35.775571862+07:00[Asia/Bangkok]") public class RatePlanBooker extends Object
Rate plan used for this stay
  • Field Details

  • Constructor Details

    • RatePlanBooker

      public RatePlanBooker()
  • Method Details

    • identifier

      public RatePlanBooker 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 RatePlanBooker hotelIdentifier(UUID hotelIdentifier)
    • getHotelIdentifier

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

      public void setHotelIdentifier(UUID hotelIdentifier)
    • name

      public RatePlanBooker 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 RatePlanBooker 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)
    • breakfast

      public RatePlanBooker 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 RatePlanBooker 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 RatePlanBooker 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 RatePlanBooker 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 RatePlanBooker allInclusive(Boolean allInclusive)
    • getAllInclusive

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

      public void setAllInclusive(Boolean allInclusive)
    • allInclusivePlusAlcohol

      public RatePlanBooker allInclusivePlusAlcohol(Boolean allInclusivePlusAlcohol)
    • getAllInclusivePlusAlcohol

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

      public void setAllInclusivePlusAlcohol(Boolean allInclusivePlusAlcohol)
    • sellStartDate

      public RatePlanBooker 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 RatePlanBooker 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 RatePlanBooker 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 RatePlanBooker 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 RatePlanBooker 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 RatePlanBooker 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 RatePlanBooker 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 RatePlanBooker 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 RatePlanBooker 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 RatePlanBooker 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 RatePlanBooker maxLOS(Integer maxLOS)
    • getMaxLOS

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

      public void setMaxLOS(Integer maxLOS)
    • minAge

      public RatePlanBooker 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 RatePlanBooker 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)
    • availableDaysOfWeek

      public RatePlanBooker availableDaysOfWeek(DowPatternGroupBooker availableDaysOfWeek)
    • getAvailableDaysOfWeek

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

      public void setAvailableDaysOfWeek(DowPatternGroupBooker availableDaysOfWeek)
    • arrivalDaysOfWeek

      public RatePlanBooker arrivalDaysOfWeek(DowPatternGroupBooker arrivalDaysOfWeek)
    • getArrivalDaysOfWeek

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

      public void setArrivalDaysOfWeek(DowPatternGroupBooker arrivalDaysOfWeek)
    • departureDaysOfWeek

      public RatePlanBooker departureDaysOfWeek(DowPatternGroupBooker departureDaysOfWeek)
    • getDepartureDaysOfWeek

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

      public void setDepartureDaysOfWeek(DowPatternGroupBooker departureDaysOfWeek)
    • requiredDaysOfWeek

      public RatePlanBooker requiredDaysOfWeek(DowPatternGroupBooker requiredDaysOfWeek)
    • getRequiredDaysOfWeek

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

      public void setRequiredDaysOfWeek(DowPatternGroupBooker requiredDaysOfWeek)
    • earlyCheckInCharge

      public RatePlanBooker earlyCheckInCharge(Object earlyCheckInCharge)
    • getEarlyCheckInCharge

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

      public void setEarlyCheckInCharge(Object earlyCheckInCharge)
    • lateCheckOutCharge

      public RatePlanBooker lateCheckOutCharge(Object lateCheckOutCharge)
    • getLateCheckOutCharge

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

      public void setLateCheckOutCharge(Object lateCheckOutCharge)
    • cancellationPolicyIdentifier

      public RatePlanBooker 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 RatePlanBooker cancellationPolicy(CancellationPolicyBooker cancellationPolicy)
    • getCancellationPolicy

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

      public void setCancellationPolicy(CancellationPolicyBooker cancellationPolicy)
    • cancellationPolicyExceptions

      public RatePlanBooker cancellationPolicyExceptions(CancellationPolicyExceptionsBooker cancellationPolicyExceptions)
    • getCancellationPolicyExceptions

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

      public void setCancellationPolicyExceptions(CancellationPolicyExceptionsBooker cancellationPolicyExceptions)
    • 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