Package travel.wink.sdk.extranet.model
Class DailyRateUpdate
java.lang.Object
travel.wink.sdk.extranet.model.DailyRateUpdate
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-11-08T09:36:20.822132243+07:00[Asia/Bangkok]")
public class DailyRateUpdate
extends Object
DailyRateUpdate
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclosedOnArrival(Boolean closedOnArrival) closedOnDeparture(Boolean closedOnDeparture) boolean@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@NotNull @Valid UUIDOwner of this rate date range.@NotNull BooleanThis flag indicates whether this rate is available for this date.@NotNull @Valid UUIDThe master rate you wish to update daily rates for.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 DailyRateUpdateRategetRate()Get rate@NotNull StringIndicate where this rate originated from.@NotNull @Valid LocalDateStart date for where you want to begin updating ratesinthashCode()hotelIdentifier(UUID hotelIdentifier) masterRateIdentifier(UUID masterRateIdentifier) maxLengthOfStay(Integer maxLengthOfStay) minLengthOfStay(Integer minLengthOfStay) numberOfUnits(Integer numberOfUnits) rate(DailyRateUpdateRate rate) rateSource(String rateSource) voidsetClosedOnArrival(Boolean closedOnArrival) voidsetClosedOnDeparture(Boolean closedOnDeparture) voidsetEndDate(LocalDate endDate) voidsetHotelIdentifier(UUID hotelIdentifier) voidvoidsetMasterRateIdentifier(UUID masterRateIdentifier) voidsetMaxLengthOfStay(Integer maxLengthOfStay) voidsetMinLengthOfStay(Integer minLengthOfStay) voidsetNumberOfUnits(Integer numberOfUnits) voidsetRate(DailyRateUpdateRate rate) voidsetRateSource(String rateSource) voidsetStartDate(LocalDate startDate) toString()
-
Field Details
-
JSON_PROPERTY_START_DATE
- See Also:
-
JSON_PROPERTY_END_DATE
- See Also:
-
JSON_PROPERTY_HOTEL_IDENTIFIER
- See Also:
-
JSON_PROPERTY_MASTER_RATE_IDENTIFIER
- 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:
-
-
Constructor Details
-
DailyRateUpdate
public DailyRateUpdate()
-
-
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
-
hotelIdentifier
-
getHotelIdentifier
Owner of this rate date range.- Returns:
- hotelIdentifier
-
setHotelIdentifier
-
masterRateIdentifier
-
getMasterRateIdentifier
The master rate you wish to update daily rates for.- Returns:
- masterRateIdentifier
-
setMasterRateIdentifier
-
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
Get rate- Returns:
- rate
-
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
-
equals
-
hashCode
public int hashCode() -
toString
-