Package travel.wink.sdk.lookup.model
Class RatePlanConsumer
java.lang.Object
travel.wink.sdk.lookup.model.RatePlanConsumer
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-08-22T15:44:53.753236998+07:00[Asia/Bangkok]")
public class RatePlanConsumer
extends Object
An optional rate plan can be applied to the add-on. The rate plan can help to create availability restrictions.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallInclusive(Boolean allInclusive) allInclusivePlusAlcohol(Boolean allInclusivePlusAlcohol) arrivalDaysOfWeek(DowPatternGroupConsumer arrivalDaysOfWeek) availableDaysOfWeek(DowPatternGroupConsumer availableDaysOfWeek) cancellationPolicy(CancellationPolicyConsumer cancellationPolicy) cancellationPolicyExceptions(CancellationPolicyExceptionsConsumer cancellationPolicyExceptions) cancellationPolicyIdentifier(String cancellationPolicyIdentifier) departureDaysOfWeek(DowPatternGroupConsumer departureDaysOfWeek) earlyCheckInCharge(Object earlyCheckInCharge) boolean@NotNull BooleanEverything included except alcohol@NotNull BooleanEverything included with alcohol@Valid DowPatternGroupConsumerGet arrivalDaysOfWeek@Valid DowPatternGroupConsumerGet availableDaysOfWeek@NotNull BooleanWhen true, indicates breakfast is included.@NotNull BooleanWhen true, indicates brunch is included.@Valid CancellationPolicyConsumerGet cancellationPolicyGet cancellationPolicyExceptions@NotNull StringThe cancellation policy for this rate plan.@Valid DowPatternGroupConsumerGet departureDaysOfWeek@NotNull BooleanWhen true, indicates dinner is included.Get earlyCheckInCharge@NotNull @Valid UUIDHotel Identifier@NotNull @Valid UUIDRate plan identifierGet lateCheckOutChargeProperty honors loyalty points with this rate plan.@NotNull BooleangetLunch()When true, indicates lunch is included.Maximum days before the arrival date for which this rate plan may be booked.The maximum age to qualify for this rate plan.Indicates the maximum length of stay.Defines the maximum number of total occupants required for this rate plan.Minimum days before the arrival date for which this rate plan may be booked.The minimum age to qualify for this rate plan.Indicates the minimum length of stay required for this rate plan.Defines the minimum number of total occupants required for this rate plan.@NotNull StringgetName()Provides the name of the rate plan.@NotNull BooleanWhen true, indicates if the rate is a prepaid rate.@Valid DowPatternGroupConsumerGet requiredDaysOfWeek@Valid LocalDateSet an end date for when to finish selling this rate.@Valid LocalDateSet a start date for when to start selling this rate.@Valid LocalDateSet an end date for when the guest can visit.@Valid LocalDateSet a start date for when the guest can visit.inthashCode()hotelIdentifier(UUID hotelIdentifier) identifier(UUID identifier) lateCheckOutCharge(Object lateCheckOutCharge) loyaltyPointsAccrue(Boolean loyaltyPointsAccrue) maxAdvanceBookingOffset(Integer maxAdvanceBookingOffset) maxTotalOccupancy(Integer maxTotalOccupancy) minAdvanceBookingOffset(Integer minAdvanceBookingOffset) minTotalOccupancy(Integer minTotalOccupancy) requiredDaysOfWeek(DowPatternGroupConsumer requiredDaysOfWeek) sellEndDate(LocalDate sellEndDate) sellStartDate(LocalDate sellStartDate) voidsetAllInclusive(Boolean allInclusive) voidsetAllInclusivePlusAlcohol(Boolean allInclusivePlusAlcohol) voidsetArrivalDaysOfWeek(DowPatternGroupConsumer arrivalDaysOfWeek) voidsetAvailableDaysOfWeek(DowPatternGroupConsumer availableDaysOfWeek) voidsetBreakfast(Boolean breakfast) voidvoidsetCancellationPolicy(CancellationPolicyConsumer cancellationPolicy) voidsetCancellationPolicyExceptions(CancellationPolicyExceptionsConsumer cancellationPolicyExceptions) voidsetCancellationPolicyIdentifier(String cancellationPolicyIdentifier) voidsetDepartureDaysOfWeek(DowPatternGroupConsumer departureDaysOfWeek) voidvoidsetEarlyCheckInCharge(Object earlyCheckInCharge) voidsetHotelIdentifier(UUID hotelIdentifier) voidsetIdentifier(UUID identifier) voidsetLateCheckOutCharge(Object lateCheckOutCharge) voidsetLoyaltyPointsAccrue(Boolean loyaltyPointsAccrue) voidvoidsetMaxAdvanceBookingOffset(Integer maxAdvanceBookingOffset) voidvoidvoidsetMaxTotalOccupancy(Integer maxTotalOccupancy) voidsetMinAdvanceBookingOffset(Integer minAdvanceBookingOffset) voidvoidvoidsetMinTotalOccupancy(Integer minTotalOccupancy) voidvoidsetPrepaid(Boolean prepaid) voidsetRequiredDaysOfWeek(DowPatternGroupConsumer requiredDaysOfWeek) voidsetSellEndDate(LocalDate sellEndDate) voidsetSellStartDate(LocalDate sellStartDate) voidsetStayEndDate(LocalDate stayEndDate) voidsetStayStartDate(LocalDate stayStartDate) stayEndDate(LocalDate stayEndDate) stayStartDate(LocalDate stayStartDate) toString()
-
Field Details
-
JSON_PROPERTY_IDENTIFIER
- See Also:
-
JSON_PROPERTY_HOTEL_IDENTIFIER
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_PREPAID
- See Also:
-
JSON_PROPERTY_BREAKFAST
- See Also:
-
JSON_PROPERTY_BRUNCH
- See Also:
-
JSON_PROPERTY_LUNCH
- See Also:
-
JSON_PROPERTY_DINNER
- See Also:
-
JSON_PROPERTY_ALL_INCLUSIVE
- See Also:
-
JSON_PROPERTY_ALL_INCLUSIVE_PLUS_ALCOHOL
- See Also:
-
JSON_PROPERTY_SELL_START_DATE
- See Also:
-
JSON_PROPERTY_SELL_END_DATE
- See Also:
-
JSON_PROPERTY_STAY_START_DATE
- See Also:
-
JSON_PROPERTY_STAY_END_DATE
- See Also:
-
JSON_PROPERTY_LOYALTY_POINTS_ACCRUE
- See Also:
-
JSON_PROPERTY_MAX_ADVANCE_BOOKING_OFFSET
- See Also:
-
JSON_PROPERTY_MIN_ADVANCE_BOOKING_OFFSET
- See Also:
-
JSON_PROPERTY_MIN_TOTAL_OCCUPANCY
- See Also:
-
JSON_PROPERTY_MAX_TOTAL_OCCUPANCY
- See Also:
-
JSON_PROPERTY_MIN_L_O_S
- See Also:
-
JSON_PROPERTY_MAX_L_O_S
- See Also:
-
JSON_PROPERTY_MIN_AGE
- See Also:
-
JSON_PROPERTY_MAX_AGE
- See Also:
-
JSON_PROPERTY_AVAILABLE_DAYS_OF_WEEK
- See Also:
-
JSON_PROPERTY_ARRIVAL_DAYS_OF_WEEK
- See Also:
-
JSON_PROPERTY_DEPARTURE_DAYS_OF_WEEK
- See Also:
-
JSON_PROPERTY_REQUIRED_DAYS_OF_WEEK
- See Also:
-
JSON_PROPERTY_EARLY_CHECK_IN_CHARGE
- See Also:
-
JSON_PROPERTY_LATE_CHECK_OUT_CHARGE
- See Also:
-
JSON_PROPERTY_CANCELLATION_POLICY_IDENTIFIER
- See Also:
-
JSON_PROPERTY_CANCELLATION_POLICY
- See Also:
-
JSON_PROPERTY_CANCELLATION_POLICY_EXCEPTIONS
- See Also:
-
-
Constructor Details
-
RatePlanConsumer
public RatePlanConsumer()
-
-
Method Details
-
identifier
-
getIdentifier
Rate plan identifier- Returns:
- identifier
-
setIdentifier
-
hotelIdentifier
-
getHotelIdentifier
Hotel Identifier- Returns:
- hotelIdentifier
-
setHotelIdentifier
-
name
-
getName
Provides the name of the rate plan.- Returns:
- name
-
setName
-
prepaid
-
getPrepaid
When true, indicates if the rate is a prepaid rate.- Returns:
- prepaid
-
setPrepaid
-
breakfast
-
getBreakfast
When true, indicates breakfast is included.- Returns:
- breakfast
-
setBreakfast
-
brunch
-
getBrunch
When true, indicates brunch is included.- Returns:
- brunch
-
setBrunch
-
lunch
-
getLunch
When true, indicates lunch is included.- Returns:
- lunch
-
setLunch
-
dinner
-
getDinner
When true, indicates dinner is included.- Returns:
- dinner
-
setDinner
-
allInclusive
-
getAllInclusive
Everything included except alcohol- Returns:
- allInclusive
-
setAllInclusive
-
allInclusivePlusAlcohol
-
getAllInclusivePlusAlcohol
Everything included with alcohol- Returns:
- allInclusivePlusAlcohol
-
setAllInclusivePlusAlcohol
-
sellStartDate
-
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
-
sellEndDate
-
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
-
stayStartDate
-
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
-
stayEndDate
-
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
-
loyaltyPointsAccrue
-
getLoyaltyPointsAccrue
Property honors loyalty points with this rate plan.- Returns:
- loyaltyPointsAccrue
-
setLoyaltyPointsAccrue
-
maxAdvanceBookingOffset
-
getMaxAdvanceBookingOffset
Maximum days before the arrival date for which this rate plan may be booked.- Returns:
- maxAdvanceBookingOffset
-
setMaxAdvanceBookingOffset
-
minAdvanceBookingOffset
-
getMinAdvanceBookingOffset
Minimum days before the arrival date for which this rate plan may be booked.- Returns:
- minAdvanceBookingOffset
-
setMinAdvanceBookingOffset
-
minTotalOccupancy
-
getMinTotalOccupancy
Defines the minimum number of total occupants required for this rate plan.- Returns:
- minTotalOccupancy
-
setMinTotalOccupancy
-
maxTotalOccupancy
-
getMaxTotalOccupancy
Defines the maximum number of total occupants required for this rate plan.- Returns:
- maxTotalOccupancy
-
setMaxTotalOccupancy
-
minLOS
-
getMinLOS
Indicates the minimum length of stay required for this rate plan.- Returns:
- minLOS
-
setMinLOS
-
maxLOS
-
getMaxLOS
Indicates the maximum length of stay.- Returns:
- maxLOS
-
setMaxLOS
-
minAge
-
getMinAge
The minimum age to qualify for this rate plan.- Returns:
- minAge
-
setMinAge
-
maxAge
-
getMaxAge
The maximum age to qualify for this rate plan.- Returns:
- maxAge
-
setMaxAge
-
availableDaysOfWeek
-
getAvailableDaysOfWeek
Get availableDaysOfWeek- Returns:
- availableDaysOfWeek
-
setAvailableDaysOfWeek
-
arrivalDaysOfWeek
-
getArrivalDaysOfWeek
Get arrivalDaysOfWeek- Returns:
- arrivalDaysOfWeek
-
setArrivalDaysOfWeek
-
departureDaysOfWeek
-
getDepartureDaysOfWeek
Get departureDaysOfWeek- Returns:
- departureDaysOfWeek
-
setDepartureDaysOfWeek
-
requiredDaysOfWeek
-
getRequiredDaysOfWeek
Get requiredDaysOfWeek- Returns:
- requiredDaysOfWeek
-
setRequiredDaysOfWeek
-
earlyCheckInCharge
-
getEarlyCheckInCharge
Get earlyCheckInCharge- Returns:
- earlyCheckInCharge
-
setEarlyCheckInCharge
-
lateCheckOutCharge
-
getLateCheckOutCharge
Get lateCheckOutCharge- Returns:
- lateCheckOutCharge
-
setLateCheckOutCharge
-
cancellationPolicyIdentifier
-
getCancellationPolicyIdentifier
The cancellation policy for this rate plan.- Returns:
- cancellationPolicyIdentifier
-
setCancellationPolicyIdentifier
-
cancellationPolicy
-
getCancellationPolicy
Get cancellationPolicy- Returns:
- cancellationPolicy
-
setCancellationPolicy
-
cancellationPolicyExceptions
public RatePlanConsumer cancellationPolicyExceptions(CancellationPolicyExceptionsConsumer cancellationPolicyExceptions) -
getCancellationPolicyExceptions
@Nullable @Valid public @Valid CancellationPolicyExceptionsConsumer getCancellationPolicyExceptions()Get cancellationPolicyExceptions- Returns:
- cancellationPolicyExceptions
-
setCancellationPolicyExceptions
public void setCancellationPolicyExceptions(CancellationPolicyExceptionsConsumer cancellationPolicyExceptions) -
equals
-
hashCode
public int hashCode() -
toString
-