Package travel.wink.sdk.extranet.model
Class RateSupplier
java.lang.Object
travel.wink.sdk.extranet.model.RateSupplier
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-08-05T21:41:24.797077847+07:00[Asia/Bangkok]")
public class RateSupplier
extends Object
Holds all the information for one rate date
-
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 String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclosedOnArrival(Boolean closedOnArrival) closedOnDeparture(Boolean closedOnDeparture) currencyCode(String currencyCode) booleanextraChildRateModifier(VariableChargeSupplier extraChildRateModifier) extraPaxRateModifier(VariableChargeSupplier extraPaxRateModifier) Get available@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 StringThe currencyCode property operates in.getDay()Day of month@Valid VariableChargeSupplierGet extraChildRateModifier@Valid VariableChargeSupplierGet extraPaxRateModifier@NotNull @Valid UUIDGuest room associated with this daily rate.@NotNull @Valid UUIDOwner of daily rate.getId()Document UUID@NotNull BooleanThis flag indicates whether this rate is available for this date.Control the maximum length of stay at the day-level.@NotNull @Min(1L) IntegerMaximum number of guest allowed in a room type.Control the minimum length of stay at the day-level.@NotNull @Min(1L) IntegerMinimum number of guests allowed in a room type.getMonth()MonthAmount of rooms available for this date.@NotNull @Valid BigDecimalgetRate()Guest room associated with this daily rate.@NotNull @Valid UUIDRate plan associated with this daily rate.@NotNull StringIndicate where this rate originated from.@Valid VariableChargeSupplierGet singleOccupancyRateModifiergetTtl()When this rate can be safely removed.getYear()YearguestRoomIdentifier(UUID guestRoomIdentifier) inthashCode()hotelIdentifier(UUID hotelIdentifier) maxLengthOfStay(Integer maxLengthOfStay) maxOccupancy(Integer maxOccupancy) minLengthOfStay(Integer minLengthOfStay) minOccupancy(Integer minOccupancy) rate(BigDecimal rate) ratePlanIdentifier(UUID ratePlanIdentifier) rateSource(String rateSource) voidsetAvailable(Boolean available) voidsetClosedOnArrival(Boolean closedOnArrival) voidsetClosedOnDeparture(Boolean closedOnDeparture) voidsetCurrencyCode(String currencyCode) voidvoidsetExtraChildRateModifier(VariableChargeSupplier extraChildRateModifier) voidsetExtraPaxRateModifier(VariableChargeSupplier extraPaxRateModifier) voidsetGuestRoomIdentifier(UUID guestRoomIdentifier) voidsetHotelIdentifier(UUID hotelIdentifier) voidvoidvoidsetMaxLengthOfStay(Integer maxLengthOfStay) voidsetMaxOccupancy(Integer maxOccupancy) voidsetMinLengthOfStay(Integer minLengthOfStay) voidsetMinOccupancy(Integer minOccupancy) voidvoidsetQuantity(Integer quantity) voidsetRate(BigDecimal rate) voidsetRatePlanIdentifier(UUID ratePlanIdentifier) voidsetRateSource(String rateSource) voidsetSingleOccupancyRateModifier(VariableChargeSupplier singleOccupancyRateModifier) voidsetTtl(LocalDateTime ttl) voidsingleOccupancyRateModifier(VariableChargeSupplier singleOccupancyRateModifier) toString()ttl(LocalDateTime ttl)
-
Field Details
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_HOTEL_IDENTIFIER
- See Also:
-
JSON_PROPERTY_RATE_SOURCE
- See Also:
-
JSON_PROPERTY_RATE_PLAN_IDENTIFIER
- See Also:
-
JSON_PROPERTY_GUEST_ROOM_IDENTIFIER
- See Also:
-
JSON_PROPERTY_RATE
- See Also:
-
JSON_PROPERTY_CURRENCY_CODE
- See Also:
-
JSON_PROPERTY_MASTER
- See Also:
-
JSON_PROPERTY_CLOSED_ON_ARRIVAL
- See Also:
-
JSON_PROPERTY_CLOSED_ON_DEPARTURE
- See Also:
-
JSON_PROPERTY_DAY
- See Also:
-
JSON_PROPERTY_MONTH
- See Also:
-
JSON_PROPERTY_YEAR
- See Also:
-
JSON_PROPERTY_QUANTITY
- See Also:
-
JSON_PROPERTY_MIN_OCCUPANCY
- See Also:
-
JSON_PROPERTY_MAX_OCCUPANCY
- 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:
-
JSON_PROPERTY_TTL
- See Also:
-
JSON_PROPERTY_AVAILABLE
- See Also:
-
-
Constructor Details
-
RateSupplier
public RateSupplier()
-
-
Method Details
-
id
-
getId
-
setId
-
hotelIdentifier
-
getHotelIdentifier
Owner of daily rate.- Returns:
- hotelIdentifier
-
setHotelIdentifier
-
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
-
ratePlanIdentifier
-
getRatePlanIdentifier
Rate plan associated with this daily rate.- Returns:
- ratePlanIdentifier
-
setRatePlanIdentifier
-
guestRoomIdentifier
-
getGuestRoomIdentifier
Guest room associated with this daily rate.- Returns:
- guestRoomIdentifier
-
setGuestRoomIdentifier
-
rate
-
getRate
Guest room associated with this daily rate.- Returns:
- rate
-
setRate
-
currencyCode
-
getCurrencyCode
The currencyCode property operates in.- Returns:
- currencyCode
-
setCurrencyCode
-
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
-
day
-
getDay
-
setDay
-
month
-
getMonth
-
setMonth
-
year
-
getYear
-
setYear
-
quantity
-
getQuantity
-
setQuantity
-
minOccupancy
-
getMinOccupancy
Minimum number of guests allowed in a room type. minimum: 1- Returns:
- minOccupancy
-
setMinOccupancy
-
maxOccupancy
-
getMaxOccupancy
Maximum number of guest allowed in a room type. minimum: 1- Returns:
- maxOccupancy
-
setMaxOccupancy
-
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
-
getSingleOccupancyRateModifier
Get singleOccupancyRateModifier- Returns:
- singleOccupancyRateModifier
-
setSingleOccupancyRateModifier
-
extraPaxRateModifier
-
getExtraPaxRateModifier
Get extraPaxRateModifier- Returns:
- extraPaxRateModifier
-
setExtraPaxRateModifier
-
extraChildRateModifier
-
getExtraChildRateModifier
Get extraChildRateModifier- Returns:
- extraChildRateModifier
-
setExtraChildRateModifier
-
ttl
-
getTtl
When this rate can be safely removed.- Returns:
- ttl
-
setTtl
-
available
-
getAvailable
-
setAvailable
-
equals
-
hashCode
-
toString
-