Package travel.wink.sdk.extranet.model
Class UpsertRatePlanRequestSupplier
java.lang.Object
travel.wink.sdk.extranet.model.UpsertRatePlanRequestSupplier
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-11-03T16:31:02.054814418+07:00[Asia/Bangkok]")
public class UpsertRatePlanRequestSupplier
extends Object
UpsertRatePlanRequestSupplier
-
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 String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddRatePlanLevelFeesItem(RatePlanLevelFeeSupplier ratePlanLevelFeesItem) allInclusive(Boolean allInclusive) allInclusivePlusAlcohol(Boolean allInclusivePlusAlcohol) arrivalDaysOfWeek(DowPatternGroupSupplier arrivalDaysOfWeek) availableDaysOfWeek(DowPatternGroupSupplier availableDaysOfWeek) cancellationPolicyExceptions(UpsertCancellationPolicyExceptionsSupplier cancellationPolicyExceptions) cancellationPolicyIdentifier(String cancellationPolicyIdentifier) departureDaysOfWeek(DowPatternGroupSupplier departureDaysOfWeek) earlyCheckInCharge(VariableChargeSupplier earlyCheckInCharge) booleanextraChildRateModifier(VariableChargeSupplier extraChildRateModifier) extraPaxRateModifier(VariableChargeSupplier extraPaxRateModifier) @NotNull BooleanEverything included except alcohol@NotNull BooleanEverything included with alcohol@Valid DowPatternGroupSupplierGet arrivalDaysOfWeek@Valid DowPatternGroupSupplierGet availableDaysOfWeek@NotNull BooleanWhen true, indicates breakfast is included.@NotNull BooleanWhen true, indicates brunch is included.Get cancellationPolicyExceptions@NotNull StringThe cancellation policy for this rate plan.@Valid DowPatternGroupSupplierGet departureDaysOfWeek@NotNull BooleanWhen true, indicates dinner is included.@Valid VariableChargeSupplierGet earlyCheckInCharge@NotNull BooleanWhether rate plan is active or not.@Valid VariableChargeSupplierGet extraChildRateModifier@Valid VariableChargeSupplierGet extraPaxRateModifier@Valid VariableChargeSupplierGet lateCheckOutCharge@NotNull BooleanProperty 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<RatePlanLevelFeeSupplier>This can be a one-time fee such as a cleaning fee@Valid DowPatternGroupSupplierGet 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 VariableChargeSupplierGet singleOccupancyRateModifier@Valid LocalDateSet an end date for when the guest can visit.@Valid LocalDateSet a start date for when the guest can visit.inthashCode()lateCheckOutCharge(VariableChargeSupplier lateCheckOutCharge) loyaltyPointsAccrue(Boolean loyaltyPointsAccrue) maxAdvanceBookingOffset(Integer maxAdvanceBookingOffset) maxTotalOccupancy(Integer maxTotalOccupancy) minAdvanceBookingOffset(Integer minAdvanceBookingOffset) minTotalOccupancy(Integer minTotalOccupancy) ratePlanLevelFees(List<RatePlanLevelFeeSupplier> ratePlanLevelFees) requiredDaysOfWeek(DowPatternGroupSupplier requiredDaysOfWeek) sellEndDate(LocalDate sellEndDate) sellStartDate(LocalDate sellStartDate) voidsetAllInclusive(Boolean allInclusive) voidsetAllInclusivePlusAlcohol(Boolean allInclusivePlusAlcohol) voidsetArrivalDaysOfWeek(DowPatternGroupSupplier arrivalDaysOfWeek) voidsetAvailableDaysOfWeek(DowPatternGroupSupplier availableDaysOfWeek) voidsetBreakfast(Boolean breakfast) voidvoidsetCancellationPolicyExceptions(UpsertCancellationPolicyExceptionsSupplier cancellationPolicyExceptions) voidsetCancellationPolicyIdentifier(String cancellationPolicyIdentifier) voidsetDepartureDaysOfWeek(DowPatternGroupSupplier departureDaysOfWeek) voidvoidsetEarlyCheckInCharge(VariableChargeSupplier earlyCheckInCharge) voidsetEnabled(Boolean enabled) voidsetExtraChildRateModifier(VariableChargeSupplier extraChildRateModifier) voidsetExtraPaxRateModifier(VariableChargeSupplier extraPaxRateModifier) voidsetLateCheckOutCharge(VariableChargeSupplier lateCheckOutCharge) voidsetLoyaltyPointsAccrue(Boolean loyaltyPointsAccrue) voidvoidsetMaxAdvanceBookingOffset(Integer maxAdvanceBookingOffset) voidvoidvoidsetMaxTotalOccupancy(Integer maxTotalOccupancy) voidsetMinAdvanceBookingOffset(Integer minAdvanceBookingOffset) voidvoidvoidsetMinTotalOccupancy(Integer minTotalOccupancy) voidvoidsetPrepaid(Boolean prepaid) voidsetRatePlanLevelFees(List<RatePlanLevelFeeSupplier> ratePlanLevelFees) voidsetRequiredDaysOfWeek(DowPatternGroupSupplier requiredDaysOfWeek) voidsetSellEndDate(LocalDate sellEndDate) voidsetSellStartDate(LocalDate sellStartDate) voidsetSingleOccupancyRateModifier(VariableChargeSupplier singleOccupancyRateModifier) voidsetStayEndDate(LocalDate stayEndDate) voidsetStayStartDate(LocalDate stayStartDate) singleOccupancyRateModifier(VariableChargeSupplier singleOccupancyRateModifier) stayEndDate(LocalDate stayEndDate) stayStartDate(LocalDate stayStartDate) toString()
-
Field Details
-
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_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
-
UpsertRatePlanRequestSupplier
public UpsertRatePlanRequestSupplier()
-
-
Method Details
-
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 UpsertRatePlanRequestSupplier ratePlanLevelFees(List<RatePlanLevelFeeSupplier> ratePlanLevelFees) -
addRatePlanLevelFeesItem
public UpsertRatePlanRequestSupplier addRatePlanLevelFeesItem(RatePlanLevelFeeSupplier ratePlanLevelFeesItem) -
getRatePlanLevelFees
This can be a one-time fee such as a cleaning fee- Returns:
- ratePlanLevelFees
-
setRatePlanLevelFees
-
availableDaysOfWeek
public UpsertRatePlanRequestSupplier availableDaysOfWeek(DowPatternGroupSupplier availableDaysOfWeek) -
getAvailableDaysOfWeek
Get availableDaysOfWeek- Returns:
- availableDaysOfWeek
-
setAvailableDaysOfWeek
-
arrivalDaysOfWeek
-
getArrivalDaysOfWeek
Get arrivalDaysOfWeek- Returns:
- arrivalDaysOfWeek
-
setArrivalDaysOfWeek
-
departureDaysOfWeek
public UpsertRatePlanRequestSupplier departureDaysOfWeek(DowPatternGroupSupplier 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
public UpsertRatePlanRequestSupplier cancellationPolicyIdentifier(String cancellationPolicyIdentifier) -
getCancellationPolicyIdentifier
The cancellation policy for this rate plan.- Returns:
- cancellationPolicyIdentifier
-
setCancellationPolicyIdentifier
-
cancellationPolicyExceptions
public UpsertRatePlanRequestSupplier cancellationPolicyExceptions(UpsertCancellationPolicyExceptionsSupplier cancellationPolicyExceptions) -
getCancellationPolicyExceptions
@Nullable @Valid public @Valid UpsertCancellationPolicyExceptionsSupplier getCancellationPolicyExceptions()Get cancellationPolicyExceptions- Returns:
- cancellationPolicyExceptions
-
setCancellationPolicyExceptions
public void setCancellationPolicyExceptions(UpsertCancellationPolicyExceptionsSupplier cancellationPolicyExceptions) -
singleOccupancyRateModifier
public UpsertRatePlanRequestSupplier singleOccupancyRateModifier(VariableChargeSupplier singleOccupancyRateModifier) -
getSingleOccupancyRateModifier
Get singleOccupancyRateModifier- Returns:
- singleOccupancyRateModifier
-
setSingleOccupancyRateModifier
-
extraPaxRateModifier
public UpsertRatePlanRequestSupplier extraPaxRateModifier(VariableChargeSupplier extraPaxRateModifier) -
getExtraPaxRateModifier
Get extraPaxRateModifier- Returns:
- extraPaxRateModifier
-
setExtraPaxRateModifier
-
extraChildRateModifier
public UpsertRatePlanRequestSupplier extraChildRateModifier(VariableChargeSupplier extraChildRateModifier) -
getExtraChildRateModifier
Get extraChildRateModifier- Returns:
- extraChildRateModifier
-
setExtraChildRateModifier
-
equals
-
hashCode
public int hashCode() -
toString
-