Package travel.wink.sdk.booking.model
Class RatePlanBooker
java.lang.Object
travel.wink.sdk.booking.model.RatePlanBooker
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-08-12T10:01:41.029418435+07:00[Asia/Bangkok]")
public class RatePlanBooker
extends Object
Rate plan used for this stay
-
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(DowPatternGroupBooker arrivalDaysOfWeek) availableDaysOfWeek(DowPatternGroupBooker availableDaysOfWeek) cancellationPolicy(CancellationPolicyBooker cancellationPolicy) cancellationPolicyExceptions(CancellationPolicyExceptionsBooker cancellationPolicyExceptions) cancellationPolicyIdentifier(String cancellationPolicyIdentifier) departureDaysOfWeek(DowPatternGroupBooker departureDaysOfWeek) earlyCheckInCharge(Object earlyCheckInCharge) boolean@NotNull BooleanEverything included except alcohol@NotNull BooleanEverything included with alcohol@Valid DowPatternGroupBookerGet arrivalDaysOfWeek@Valid DowPatternGroupBookerGet availableDaysOfWeek@NotNull BooleanWhen true, indicates breakfast is included.@NotNull BooleanWhen true, indicates brunch is included.@Valid CancellationPolicyBookerGet cancellationPolicyGet cancellationPolicyExceptions@NotNull StringThe cancellation policy for this rate plan.@Valid DowPatternGroupBookerGet 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 DowPatternGroupBookerGet 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(DowPatternGroupBooker requiredDaysOfWeek) sellEndDate(LocalDate sellEndDate) sellStartDate(LocalDate sellStartDate) voidsetAllInclusive(Boolean allInclusive) voidsetAllInclusivePlusAlcohol(Boolean allInclusivePlusAlcohol) voidsetArrivalDaysOfWeek(DowPatternGroupBooker arrivalDaysOfWeek) voidsetAvailableDaysOfWeek(DowPatternGroupBooker availableDaysOfWeek) voidsetBreakfast(Boolean breakfast) voidvoidsetCancellationPolicy(CancellationPolicyBooker cancellationPolicy) voidsetCancellationPolicyExceptions(CancellationPolicyExceptionsBooker cancellationPolicyExceptions) voidsetCancellationPolicyIdentifier(String cancellationPolicyIdentifier) voidsetDepartureDaysOfWeek(DowPatternGroupBooker 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(DowPatternGroupBooker 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
-
RatePlanBooker
public RatePlanBooker()
-
-
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
-
setMaxLOS
-
minAge
-
getMinAge
-
setMinAge
-
maxAge
-
getMaxAge
-
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
-
setEarlyCheckInCharge
-
lateCheckOutCharge
-
getLateCheckOutCharge
-
setLateCheckOutCharge
-
cancellationPolicyIdentifier
-
getCancellationPolicyIdentifier
The cancellation policy for this rate plan.- Returns:
- cancellationPolicyIdentifier
-
setCancellationPolicyIdentifier
-
cancellationPolicy
-
getCancellationPolicy
Get cancellationPolicy- Returns:
- cancellationPolicy
-
setCancellationPolicy
-
cancellationPolicyExceptions
public RatePlanBooker cancellationPolicyExceptions(CancellationPolicyExceptionsBooker cancellationPolicyExceptions) -
getCancellationPolicyExceptions
Get cancellationPolicyExceptions- Returns:
- cancellationPolicyExceptions
-
setCancellationPolicyExceptions
public void setCancellationPolicyExceptions(CancellationPolicyExceptionsBooker cancellationPolicyExceptions) -
equals
-
hashCode
-
toString
-