Package travel.wink.sdk.extranet.model
Class RatePlanSupplierDetails
java.lang.Object
travel.wink.sdk.extranet.model.RatePlanSupplierDetails
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-02-23T13:12:29.043847278+07:00[Asia/Bangkok]")
public class RatePlanSupplierDetails
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(RatePlanLevelFeeSupplierDetails ratePlanLevelFeesItem) allInclusive(Boolean allInclusive) allInclusivePlusAlcohol(Boolean allInclusivePlusAlcohol) arrivalDaysOfWeek(DowPatternGroupSupplierDetails arrivalDaysOfWeek) availableDaysOfWeek(DowPatternGroupSupplierDetails availableDaysOfWeek) cancellationPolicy(CancellationPolicySupplierDetails cancellationPolicy) cancellationPolicyExceptions(CancellationPolicyExceptionsSupplierDetails cancellationPolicyExceptions) cancellationPolicyIdentifier(String cancellationPolicyIdentifier) departureDaysOfWeek(DowPatternGroupSupplierDetails departureDaysOfWeek) earlyCheckInCharge(VariableChargeSupplierDetails earlyCheckInCharge) booleanextraChildRateModifier(VariableChargeSupplierDetails extraChildRateModifier) extraPaxRateModifier(VariableChargeSupplierDetails extraPaxRateModifier) @NotNull BooleanEverything included except alcohol@NotNull BooleanEverything included with alcoholGet arrivalDaysOfWeekGet availableDaysOfWeek@NotNull BooleanWhen true, indicates breakfast is included.@NotNull BooleanWhen true, indicates brunch is included.Get cancellationPolicyGet cancellationPolicyExceptions@NotNull StringThe cancellation policy for this rate plan.Get departureDaysOfWeek@NotNull BooleanWhen true, indicates dinner is included.Get earlyCheckInCharge@NotNull BooleanWhether rate plan is active or not.Get extraChildRateModifierGet extraPaxRateModifier@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 List<RatePlanLevelFeeSupplierDetails> This can be a one-time fee such as a cleaning feeGet 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(UUID hotelIdentifier) identifier(UUID identifier) lateCheckOutCharge(VariableChargeSupplierDetails lateCheckOutCharge) loyaltyPointsAccrue(Boolean loyaltyPointsAccrue) maxAdvanceBookingOffset(Integer maxAdvanceBookingOffset) maxTotalOccupancy(Integer maxTotalOccupancy) minAdvanceBookingOffset(Integer minAdvanceBookingOffset) minTotalOccupancy(Integer minTotalOccupancy) ratePlanLevelFees(List<RatePlanLevelFeeSupplierDetails> ratePlanLevelFees) requiredDaysOfWeek(DowPatternGroupSupplierDetails requiredDaysOfWeek) sellEndDate(LocalDate sellEndDate) sellStartDate(LocalDate sellStartDate) voidsetAllInclusive(Boolean allInclusive) voidsetAllInclusivePlusAlcohol(Boolean allInclusivePlusAlcohol) voidsetArrivalDaysOfWeek(DowPatternGroupSupplierDetails arrivalDaysOfWeek) voidsetAvailableDaysOfWeek(DowPatternGroupSupplierDetails availableDaysOfWeek) voidsetBreakfast(Boolean breakfast) voidvoidsetCancellationPolicy(CancellationPolicySupplierDetails cancellationPolicy) voidsetCancellationPolicyExceptions(CancellationPolicyExceptionsSupplierDetails cancellationPolicyExceptions) voidsetCancellationPolicyIdentifier(String cancellationPolicyIdentifier) voidsetDepartureDaysOfWeek(DowPatternGroupSupplierDetails departureDaysOfWeek) voidvoidsetEarlyCheckInCharge(VariableChargeSupplierDetails earlyCheckInCharge) voidsetEnabled(Boolean enabled) voidsetExtraChildRateModifier(VariableChargeSupplierDetails extraChildRateModifier) voidsetExtraPaxRateModifier(VariableChargeSupplierDetails extraPaxRateModifier) voidsetHotelIdentifier(UUID hotelIdentifier) voidsetIdentifier(UUID identifier) voidsetLateCheckOutCharge(VariableChargeSupplierDetails lateCheckOutCharge) voidsetLoyaltyPointsAccrue(Boolean loyaltyPointsAccrue) voidvoidsetMaxAdvanceBookingOffset(Integer maxAdvanceBookingOffset) voidvoidvoidsetMaxTotalOccupancy(Integer maxTotalOccupancy) voidsetMinAdvanceBookingOffset(Integer minAdvanceBookingOffset) voidvoidvoidsetMinTotalOccupancy(Integer minTotalOccupancy) voidvoidsetPrepaid(Boolean prepaid) voidsetRatePlanLevelFees(List<RatePlanLevelFeeSupplierDetails> ratePlanLevelFees) voidsetRequiredDaysOfWeek(DowPatternGroupSupplierDetails requiredDaysOfWeek) voidsetSellEndDate(LocalDate sellEndDate) voidsetSellStartDate(LocalDate sellStartDate) voidsetSingleOccupancyRateModifier(VariableChargeSupplierDetails singleOccupancyRateModifier) voidsetStayEndDate(LocalDate stayEndDate) voidsetStayStartDate(LocalDate stayStartDate) singleOccupancyRateModifier(VariableChargeSupplierDetails 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
-
RatePlanSupplierDetails
public RatePlanSupplierDetails()
-
-
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
public RatePlanSupplierDetails ratePlanLevelFees(List<RatePlanLevelFeeSupplierDetails> ratePlanLevelFees) -
addRatePlanLevelFeesItem
public RatePlanSupplierDetails addRatePlanLevelFeesItem(RatePlanLevelFeeSupplierDetails ratePlanLevelFeesItem) -
getRatePlanLevelFees
This can be a one-time fee such as a cleaning fee- Returns:
- ratePlanLevelFees
-
setRatePlanLevelFees
-
availableDaysOfWeek
public RatePlanSupplierDetails availableDaysOfWeek(DowPatternGroupSupplierDetails availableDaysOfWeek) -
getAvailableDaysOfWeek
Get availableDaysOfWeek- Returns:
- availableDaysOfWeek
-
setAvailableDaysOfWeek
-
arrivalDaysOfWeek
-
getArrivalDaysOfWeek
Get arrivalDaysOfWeek- Returns:
- arrivalDaysOfWeek
-
setArrivalDaysOfWeek
-
departureDaysOfWeek
public RatePlanSupplierDetails departureDaysOfWeek(DowPatternGroupSupplierDetails departureDaysOfWeek) -
getDepartureDaysOfWeek
Get departureDaysOfWeek- Returns:
- departureDaysOfWeek
-
setDepartureDaysOfWeek
-
requiredDaysOfWeek
public RatePlanSupplierDetails requiredDaysOfWeek(DowPatternGroupSupplierDetails 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
public RatePlanSupplierDetails cancellationPolicy(CancellationPolicySupplierDetails cancellationPolicy) -
getCancellationPolicy
Get cancellationPolicy- Returns:
- cancellationPolicy
-
setCancellationPolicy
-
cancellationPolicyExceptions
public RatePlanSupplierDetails cancellationPolicyExceptions(CancellationPolicyExceptionsSupplierDetails cancellationPolicyExceptions) -
getCancellationPolicyExceptions
@Nullable @Valid public @Valid CancellationPolicyExceptionsSupplierDetails getCancellationPolicyExceptions()Get cancellationPolicyExceptions- Returns:
- cancellationPolicyExceptions
-
setCancellationPolicyExceptions
public void setCancellationPolicyExceptions(CancellationPolicyExceptionsSupplierDetails cancellationPolicyExceptions) -
singleOccupancyRateModifier
public RatePlanSupplierDetails singleOccupancyRateModifier(VariableChargeSupplierDetails singleOccupancyRateModifier) -
getSingleOccupancyRateModifier
Get singleOccupancyRateModifier- Returns:
- singleOccupancyRateModifier
-
setSingleOccupancyRateModifier
public void setSingleOccupancyRateModifier(VariableChargeSupplierDetails singleOccupancyRateModifier) -
extraPaxRateModifier
public RatePlanSupplierDetails extraPaxRateModifier(VariableChargeSupplierDetails extraPaxRateModifier) -
getExtraPaxRateModifier
Get extraPaxRateModifier- Returns:
- extraPaxRateModifier
-
setExtraPaxRateModifier
-
extraChildRateModifier
public RatePlanSupplierDetails extraChildRateModifier(VariableChargeSupplierDetails extraChildRateModifier) -
getExtraChildRateModifier
Get extraChildRateModifier- Returns:
- extraChildRateModifier
-
setExtraChildRateModifier
-
equals
-
hashCode
public int hashCode() -
toString
-