Package travel.wink.sdk.extranet.model
Class UpsertBulkRateRequestSupplier
java.lang.Object
travel.wink.sdk.extranet.model.UpsertBulkRateRequestSupplier
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-08-05T21:41:24.797077847+07:00[Asia/Bangkok]")
public class UpsertBulkRateRequestSupplier
extends Object
UpsertBulkRateRequestSupplier
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclosedOnArrival(Boolean closedOnArrival) closedOnDeparture(Boolean closedOnDeparture) booleanextraChildRateModifier(VariableChargeSupplier extraChildRateModifier) extraPaxRateModifier(VariableChargeSupplier extraPaxRateModifier) @NotNull BooleanThis flag indicates whether a guest can arrive at the property on this date.@NotNull BooleanThis flag indicates whether a guest can leave the property on this date.@NotNull @Valid LocalDateEnd date for where you want to stop updating rates@Valid VariableChargeSupplierGet extraChildRateModifier@Valid VariableChargeSupplierGet extraPaxRateModifier@NotNull BooleanThis flag indicates whether this rate is available for this date.Control the maximum length of stay at the day-level.Control the minimum length of stay at the day-level.Update the amount of rooms available for this date range.@Valid CustomMonetaryAmountgetRate()Get rate@NotNull StringIndicate where this rate originated from.@Valid VariableChargeSupplierGet singleOccupancyRateModifier@NotNull @Valid LocalDateStart date for where you want to begin updating ratesinthashCode()maxLengthOfStay(Integer maxLengthOfStay) minLengthOfStay(Integer minLengthOfStay) numberOfUnits(Integer numberOfUnits) rate(CustomMonetaryAmount rate) rateSource(String rateSource) voidsetClosedOnArrival(Boolean closedOnArrival) voidsetClosedOnDeparture(Boolean closedOnDeparture) voidsetEndDate(LocalDate endDate) voidsetExtraChildRateModifier(VariableChargeSupplier extraChildRateModifier) voidsetExtraPaxRateModifier(VariableChargeSupplier extraPaxRateModifier) voidvoidsetMaxLengthOfStay(Integer maxLengthOfStay) voidsetMinLengthOfStay(Integer minLengthOfStay) voidsetNumberOfUnits(Integer numberOfUnits) voidsetRate(CustomMonetaryAmount rate) voidsetRateSource(String rateSource) voidsetSingleOccupancyRateModifier(VariableChargeSupplier singleOccupancyRateModifier) voidsetStartDate(LocalDate startDate) singleOccupancyRateModifier(VariableChargeSupplier singleOccupancyRateModifier) toString()
-
Field Details
-
JSON_PROPERTY_START_DATE
- See Also:
-
JSON_PROPERTY_END_DATE
- See Also:
-
JSON_PROPERTY_RATE_SOURCE
- See Also:
-
JSON_PROPERTY_MASTER
- See Also:
-
JSON_PROPERTY_CLOSED_ON_ARRIVAL
- See Also:
-
JSON_PROPERTY_CLOSED_ON_DEPARTURE
- See Also:
-
JSON_PROPERTY_NUMBER_OF_UNITS
- See Also:
-
JSON_PROPERTY_RATE
- See Also:
-
JSON_PROPERTY_MIN_LENGTH_OF_STAY
- See Also:
-
JSON_PROPERTY_MAX_LENGTH_OF_STAY
- 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
-
UpsertBulkRateRequestSupplier
public UpsertBulkRateRequestSupplier()
-
-
Method Details
-
startDate
-
getStartDate
Start date for where you want to begin updating rates- Returns:
- startDate
-
setStartDate
-
endDate
-
getEndDate
End date for where you want to stop updating rates- Returns:
- endDate
-
setEndDate
-
rateSource
-
getRateSource
Indicate where this rate originated from. Leave as TRAVELIKO unless you are a channel manager and responsible for the property's rates externally of this payment.- Returns:
- rateSource
-
setRateSource
-
master
-
getMaster
This flag indicates whether this rate is available for this date.- Returns:
- master
-
setMaster
-
closedOnArrival
-
getClosedOnArrival
This flag indicates whether a guest can arrive at the property on this date.- Returns:
- closedOnArrival
-
setClosedOnArrival
-
closedOnDeparture
-
getClosedOnDeparture
This flag indicates whether a guest can leave the property on this date.- Returns:
- closedOnDeparture
-
setClosedOnDeparture
-
numberOfUnits
-
getNumberOfUnits
Update the amount of rooms available for this date range. Leave empty if you don't want to update this property.- Returns:
- numberOfUnits
-
setNumberOfUnits
-
rate
-
getRate
-
setRate
-
minLengthOfStay
-
getMinLengthOfStay
Control the minimum length of stay at the day-level. This means that a guest arriving within this date range is required to stay at least these number of days in order to get this rate. Leave empty if you don't want to update this property.- Returns:
- minLengthOfStay
-
setMinLengthOfStay
-
maxLengthOfStay
-
getMaxLengthOfStay
Control the maximum length of stay at the day-level. This means that a guest arriving within this date range is required to stay no longer than these number of days in order to get this rate. Leave empty if you don't want to update this property.- Returns:
- maxLengthOfStay
-
setMaxLengthOfStay
-
singleOccupancyRateModifier
public UpsertBulkRateRequestSupplier singleOccupancyRateModifier(VariableChargeSupplier singleOccupancyRateModifier) -
getSingleOccupancyRateModifier
Get singleOccupancyRateModifier- Returns:
- singleOccupancyRateModifier
-
setSingleOccupancyRateModifier
-
extraPaxRateModifier
public UpsertBulkRateRequestSupplier extraPaxRateModifier(VariableChargeSupplier extraPaxRateModifier) -
getExtraPaxRateModifier
Get extraPaxRateModifier- Returns:
- extraPaxRateModifier
-
setExtraPaxRateModifier
-
extraChildRateModifier
public UpsertBulkRateRequestSupplier extraChildRateModifier(VariableChargeSupplier extraChildRateModifier) -
getExtraChildRateModifier
Get extraChildRateModifier- Returns:
- extraChildRateModifier
-
setExtraChildRateModifier
-
equals
-
hashCode
-
toString
-