Class RatePlanAgent

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-11-03T16:30:28.282006180+07:00[Asia/Bangkok]") public class RatePlanAgent extends Object
Rate plan used for this stay
  • Field Details

  • Constructor Details

    • RatePlanAgent

      public RatePlanAgent()
  • Method Details

    • identifier

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

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

      public void setHotelIdentifier(UUID hotelIdentifier)
    • name

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

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

      public void setAllInclusive(Boolean allInclusive)
    • allInclusivePlusAlcohol

      public RatePlanAgent allInclusivePlusAlcohol(Boolean allInclusivePlusAlcohol)
    • getAllInclusivePlusAlcohol

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

      public void setAllInclusivePlusAlcohol(Boolean allInclusivePlusAlcohol)
    • sellStartDate

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

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

      public void setMaxLOS(Integer maxLOS)
    • minAge

      public RatePlanAgent 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 RatePlanAgent 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 RatePlanAgent availableDaysOfWeek(DowPatternGroupAgent availableDaysOfWeek)
    • getAvailableDaysOfWeek

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

      public void setAvailableDaysOfWeek(DowPatternGroupAgent availableDaysOfWeek)
    • arrivalDaysOfWeek

      public RatePlanAgent arrivalDaysOfWeek(DowPatternGroupAgent arrivalDaysOfWeek)
    • getArrivalDaysOfWeek

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

      public void setArrivalDaysOfWeek(DowPatternGroupAgent arrivalDaysOfWeek)
    • departureDaysOfWeek

      public RatePlanAgent departureDaysOfWeek(DowPatternGroupAgent departureDaysOfWeek)
    • getDepartureDaysOfWeek

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

      public void setDepartureDaysOfWeek(DowPatternGroupAgent departureDaysOfWeek)
    • requiredDaysOfWeek

      public RatePlanAgent requiredDaysOfWeek(DowPatternGroupAgent requiredDaysOfWeek)
    • getRequiredDaysOfWeek

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

      public void setRequiredDaysOfWeek(DowPatternGroupAgent requiredDaysOfWeek)
    • earlyCheckInCharge

      public RatePlanAgent earlyCheckInCharge(Object earlyCheckInCharge)
    • getEarlyCheckInCharge

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

      public void setEarlyCheckInCharge(Object earlyCheckInCharge)
    • lateCheckOutCharge

      public RatePlanAgent lateCheckOutCharge(Object lateCheckOutCharge)
    • getLateCheckOutCharge

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

      public void setLateCheckOutCharge(Object lateCheckOutCharge)
    • cancellationPolicyIdentifier

      public RatePlanAgent 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 RatePlanAgent cancellationPolicy(CancellationPolicyAgent cancellationPolicy)
    • getCancellationPolicy

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

      public void setCancellationPolicy(CancellationPolicyAgent cancellationPolicy)
    • cancellationPolicyExceptions

      public RatePlanAgent cancellationPolicyExceptions(CancellationPolicyExceptionsAgent cancellationPolicyExceptions)
    • getCancellationPolicyExceptions

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

      public void setCancellationPolicyExceptions(CancellationPolicyExceptionsAgent 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