Package travel.wink.sdk.extranet.model
Class RatePlan
java.lang.Object
travel.wink.sdk.extranet.model.RatePlan
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-20T22:26:49.575007+07:00[Asia/Bangkok]")
public class RatePlan
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 Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddRatePlanLevelFeesItem(RatePlanLevelFee ratePlanLevelFeesItem) allInclusive(Boolean allInclusive) allInclusivePlusAlcohol(Boolean allInclusivePlusAlcohol) arrivalDaysOfWeek(RatePlanArrivalDaysOfWeek arrivalDaysOfWeek) availableDaysOfWeek(RatePlanAvailableDaysOfWeek availableDaysOfWeek) cancellationPolicy(CancellationPolicy cancellationPolicy) cancellationPolicyExceptions(CancellationPolicyExceptions cancellationPolicyExceptions) cancellationPolicyIdentifier(String cancellationPolicyIdentifier) departureDaysOfWeek(RatePlanDepartureDaysOfWeek departureDaysOfWeek) earlyCheckInCharge(RatePlanEarlyCheckInCharge earlyCheckInCharge) booleanextraChildRateModifier(RatePlanExtraChildRateModifier extraChildRateModifier) extraPaxRateModifier(RatePlanExtraPaxRateModifier extraPaxRateModifier) @NotNull BooleanEverything included except alcohol@NotNull BooleanEverything included with alcohol@Valid RatePlanArrivalDaysOfWeekGet arrivalDaysOfWeek@Valid RatePlanAvailableDaysOfWeekGet availableDaysOfWeek@NotNull BooleanWhen true, indicates breakfast is included.@NotNull BooleanWhen true, indicates brunch is included.@Valid CancellationPolicyGet cancellationPolicy@Valid CancellationPolicyExceptionsGet cancellationPolicyExceptions@NotNull StringThe cancellation policy for this rate plan.@Valid RatePlanDepartureDaysOfWeekGet departureDaysOfWeek@NotNull BooleanWhen true, indicates dinner is included.@Valid RatePlanEarlyCheckInChargeGet earlyCheckInCharge@NotNull BooleanWhether rate plan is active or not.Get extraChildRateModifier@Valid RatePlanExtraPaxRateModifierGet extraPaxRateModifier@NotNull StringHotel IdentifierRate plan identifier@Valid RatePlanLateCheckOutChargeGet 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 List<RatePlanLevelFee>This can be a one-time fee such as a cleaning fee@Valid RatePlanRequiredDaysOfWeekGet 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.Get singleOccupancyRateModifier@Valid LocalDateSet an end date for when the guest can visit.@Valid LocalDateSet a start date for when the guest can visit.inthashCode()hotelIdentifier(String hotelIdentifier) identifier(String identifier) lateCheckOutCharge(RatePlanLateCheckOutCharge lateCheckOutCharge) loyaltyPointsAccrue(Boolean loyaltyPointsAccrue) maxAdvanceBookingOffset(Integer maxAdvanceBookingOffset) maxTotalOccupancy(Integer maxTotalOccupancy) minAdvanceBookingOffset(Integer minAdvanceBookingOffset) minTotalOccupancy(Integer minTotalOccupancy) ratePlanLevelFees(List<RatePlanLevelFee> ratePlanLevelFees) requiredDaysOfWeek(RatePlanRequiredDaysOfWeek requiredDaysOfWeek) sellEndDate(LocalDate sellEndDate) sellStartDate(LocalDate sellStartDate) voidsetAllInclusive(Boolean allInclusive) voidsetAllInclusivePlusAlcohol(Boolean allInclusivePlusAlcohol) voidsetArrivalDaysOfWeek(RatePlanArrivalDaysOfWeek arrivalDaysOfWeek) voidsetAvailableDaysOfWeek(RatePlanAvailableDaysOfWeek availableDaysOfWeek) voidsetBreakfast(Boolean breakfast) voidvoidsetCancellationPolicy(CancellationPolicy cancellationPolicy) voidsetCancellationPolicyExceptions(CancellationPolicyExceptions cancellationPolicyExceptions) voidsetCancellationPolicyIdentifier(String cancellationPolicyIdentifier) voidsetDepartureDaysOfWeek(RatePlanDepartureDaysOfWeek departureDaysOfWeek) voidvoidsetEarlyCheckInCharge(RatePlanEarlyCheckInCharge earlyCheckInCharge) voidsetEnabled(Boolean enabled) voidsetExtraChildRateModifier(RatePlanExtraChildRateModifier extraChildRateModifier) voidsetExtraPaxRateModifier(RatePlanExtraPaxRateModifier extraPaxRateModifier) voidsetHotelIdentifier(String hotelIdentifier) voidsetIdentifier(String identifier) voidsetLateCheckOutCharge(RatePlanLateCheckOutCharge lateCheckOutCharge) voidsetLoyaltyPointsAccrue(Boolean loyaltyPointsAccrue) voidvoidsetMaxAdvanceBookingOffset(Integer maxAdvanceBookingOffset) voidvoidvoidsetMaxTotalOccupancy(Integer maxTotalOccupancy) voidsetMinAdvanceBookingOffset(Integer minAdvanceBookingOffset) voidvoidvoidsetMinTotalOccupancy(Integer minTotalOccupancy) voidvoidsetPrepaid(Boolean prepaid) voidsetRatePlanLevelFees(List<RatePlanLevelFee> ratePlanLevelFees) voidsetRequiredDaysOfWeek(RatePlanRequiredDaysOfWeek requiredDaysOfWeek) voidsetSellEndDate(LocalDate sellEndDate) voidsetSellStartDate(LocalDate sellStartDate) voidsetSingleOccupancyRateModifier(RatePlanSingleOccupancyRateModifier singleOccupancyRateModifier) voidsetStayEndDate(LocalDate stayEndDate) voidsetStayStartDate(LocalDate stayStartDate) singleOccupancyRateModifier(RatePlanSingleOccupancyRateModifier singleOccupancyRateModifier) 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_ENABLED
- 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_RATE_PLAN_LEVEL_FEES
- 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:
-
JSON_PROPERTY_SINGLE_OCCUPANCY_RATE_MODIFIER
- See Also:
-
JSON_PROPERTY_EXTRA_PAX_RATE_MODIFIER
- See Also:
-
JSON_PROPERTY_EXTRA_CHILD_RATE_MODIFIER
- See Also:
-
-
Constructor Details
-
RatePlan
public RatePlan()
-
-
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
-
enabled
-
getEnabled
Whether rate plan is active or not.- Returns:
- enabled
-
setEnabled
-
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
-
ratePlanLevelFees
-
addRatePlanLevelFeesItem
-
getRatePlanLevelFees
This can be a one-time fee such as a cleaning fee- Returns:
- ratePlanLevelFees
-
setRatePlanLevelFees
-
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 RatePlan cancellationPolicyExceptions(CancellationPolicyExceptions cancellationPolicyExceptions) -
getCancellationPolicyExceptions
Get cancellationPolicyExceptions- Returns:
- cancellationPolicyExceptions
-
setCancellationPolicyExceptions
public void setCancellationPolicyExceptions(CancellationPolicyExceptions cancellationPolicyExceptions) -
singleOccupancyRateModifier
public RatePlan singleOccupancyRateModifier(RatePlanSingleOccupancyRateModifier singleOccupancyRateModifier) -
getSingleOccupancyRateModifier
Get singleOccupancyRateModifier- Returns:
- singleOccupancyRateModifier
-
setSingleOccupancyRateModifier
public void setSingleOccupancyRateModifier(RatePlanSingleOccupancyRateModifier singleOccupancyRateModifier) -
extraPaxRateModifier
-
getExtraPaxRateModifier
Get extraPaxRateModifier- Returns:
- extraPaxRateModifier
-
setExtraPaxRateModifier
-
extraChildRateModifier
-
getExtraChildRateModifier
Get extraChildRateModifier- Returns:
- extraChildRateModifier
-
setExtraChildRateModifier
-
equals
-
hashCode
public int hashCode() -
toString
-