Package travel.wink.sdk.extranet.model
Class RateSupplierDetails
java.lang.Object
travel.wink.sdk.extranet.model.RateSupplierDetails
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-04-12T17:36:59.732058641+07:00[Asia/Bangkok]")
public class RateSupplierDetails
extends Object
RateSupplierDetails
-
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 String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclosedOnArrival(Boolean closedOnArrival) closedOnDeparture(Boolean closedOnDeparture) booleanextraChildRateModifier(VariableChargeSupplierDetails extraChildRateModifier) extraPaxRateModifier(VariableChargeSupplierDetails extraPaxRateModifier) Convenience data point that tells you if there is availability on this day.@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 LocalDategetDate()The date this rate is applicable for.Get extraChildRateModifierGet extraPaxRateModifier@NotNull @Valid UUIDGuest room associated with this daily rate.@NotNull @Valid UUIDOwner of daily rate.@NotNull @Valid UUIDUnique record identifier.@NotNull @Min(0L) IntegerThe number of pax the room price was meant for minimum: 0@NotNull @Min(0L) IntegerThe number of children the room price was meant for minimum: 0@NotNull BooleanThis flag indicates whether this rate is available for this date.@NotNull @Valid UUIDMaster rate associated with this daily rate.@NotNull @Min(1L) IntegerMaximum number of adults allowed in a room type.@NotNull @Min(0L) IntegerMaximum number of children allowed in a room type.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.@NotNull IntegerAmount of rooms available for this date.@NotNull @Valid MoneysSupplierDetailsgetRate()Get rate@NotNull @Valid UUIDRate plan associated with this daily rate.@NotNull StringIndicate where this rate originated from.Get singleOccupancyRateModifierguestRoomIdentifier(UUID guestRoomIdentifier) inthashCode()hotelIdentifier(UUID hotelIdentifier) identifier(UUID identifier) includedAdultOccupancy(Integer includedAdultOccupancy) includedChildOccupancy(Integer includedChildOccupancy) masterRateIdentifier(UUID masterRateIdentifier) maxAdultOccupancy(Integer maxAdultOccupancy) maxChildOccupancy(Integer maxChildOccupancy) maxLengthOfStay(Integer maxLengthOfStay) maxOccupancy(Integer maxOccupancy) minLengthOfStay(Integer minLengthOfStay) minOccupancy(Integer minOccupancy) rate(MoneysSupplierDetails rate) ratePlanIdentifier(UUID ratePlanIdentifier) rateSource(String rateSource) voidsetAvailable(Boolean available) voidsetClosedOnArrival(Boolean closedOnArrival) voidsetClosedOnDeparture(Boolean closedOnDeparture) voidvoidsetExtraChildRateModifier(VariableChargeSupplierDetails extraChildRateModifier) voidsetExtraPaxRateModifier(VariableChargeSupplierDetails extraPaxRateModifier) voidsetGuestRoomIdentifier(UUID guestRoomIdentifier) voidsetHotelIdentifier(UUID hotelIdentifier) voidsetIdentifier(UUID identifier) voidsetIncludedAdultOccupancy(Integer includedAdultOccupancy) voidsetIncludedChildOccupancy(Integer includedChildOccupancy) voidvoidsetMasterRateIdentifier(UUID masterRateIdentifier) voidsetMaxAdultOccupancy(Integer maxAdultOccupancy) voidsetMaxChildOccupancy(Integer maxChildOccupancy) voidsetMaxLengthOfStay(Integer maxLengthOfStay) voidsetMaxOccupancy(Integer maxOccupancy) voidsetMinLengthOfStay(Integer minLengthOfStay) voidsetMinOccupancy(Integer minOccupancy) voidsetQuantity(Integer quantity) voidsetRate(MoneysSupplierDetails rate) voidsetRatePlanIdentifier(UUID ratePlanIdentifier) voidsetRateSource(String rateSource) voidsetSingleOccupancyRateModifier(VariableChargeSupplierDetails singleOccupancyRateModifier) singleOccupancyRateModifier(VariableChargeSupplierDetails singleOccupancyRateModifier) toString()
-
Field Details
-
JSON_PROPERTY_IDENTIFIER
- See Also:
-
JSON_PROPERTY_HOTEL_IDENTIFIER
- See Also:
-
JSON_PROPERTY_RATE_SOURCE
- See Also:
-
JSON_PROPERTY_MASTER_RATE_IDENTIFIER
- See Also:
-
JSON_PROPERTY_RATE_PLAN_IDENTIFIER
- See Also:
-
JSON_PROPERTY_GUEST_ROOM_IDENTIFIER
- See Also:
-
JSON_PROPERTY_RATE
- See Also:
-
JSON_PROPERTY_MASTER
- See Also:
-
JSON_PROPERTY_CLOSED_ON_ARRIVAL
- See Also:
-
JSON_PROPERTY_CLOSED_ON_DEPARTURE
- See Also:
-
JSON_PROPERTY_DATE
- See Also:
-
JSON_PROPERTY_QUANTITY
- See Also:
-
JSON_PROPERTY_MIN_OCCUPANCY
- See Also:
-
JSON_PROPERTY_MAX_OCCUPANCY
- See Also:
-
JSON_PROPERTY_INCLUDED_ADULT_OCCUPANCY
- See Also:
-
JSON_PROPERTY_INCLUDED_CHILD_OCCUPANCY
- See Also:
-
JSON_PROPERTY_MAX_ADULT_OCCUPANCY
- See Also:
-
JSON_PROPERTY_MAX_CHILD_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_AVAILABLE
- See Also:
-
-
Constructor Details
-
RateSupplierDetails
public RateSupplierDetails()
-
-
Method Details
-
identifier
-
getIdentifier
Unique record identifier.- Returns:
- identifier
-
setIdentifier
-
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
-
masterRateIdentifier
-
getMasterRateIdentifier
Master rate associated with this daily rate.- Returns:
- masterRateIdentifier
-
setMasterRateIdentifier
-
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
Get rate- Returns:
- rate
-
setRate
-
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
-
date
-
getDate
The date this rate is applicable for.- Returns:
- date
-
setDate
-
quantity
-
getQuantity
Amount of rooms available for this date.- Returns:
- quantity
-
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
-
includedAdultOccupancy
-
getIncludedAdultOccupancy
The number of pax the room price was meant for minimum: 0- Returns:
- includedAdultOccupancy
-
setIncludedAdultOccupancy
-
includedChildOccupancy
-
getIncludedChildOccupancy
The number of children the room price was meant for minimum: 0- Returns:
- includedChildOccupancy
-
setIncludedChildOccupancy
-
maxAdultOccupancy
-
getMaxAdultOccupancy
Maximum number of adults allowed in a room type. minimum: 1- Returns:
- maxAdultOccupancy
-
setMaxAdultOccupancy
-
maxChildOccupancy
-
getMaxChildOccupancy
Maximum number of children allowed in a room type. minimum: 0- Returns:
- maxChildOccupancy
-
setMaxChildOccupancy
-
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 RateSupplierDetails singleOccupancyRateModifier(VariableChargeSupplierDetails singleOccupancyRateModifier) -
getSingleOccupancyRateModifier
Get singleOccupancyRateModifier- Returns:
- singleOccupancyRateModifier
-
setSingleOccupancyRateModifier
public void setSingleOccupancyRateModifier(VariableChargeSupplierDetails singleOccupancyRateModifier) -
extraPaxRateModifier
-
getExtraPaxRateModifier
Get extraPaxRateModifier- Returns:
- extraPaxRateModifier
-
setExtraPaxRateModifier
-
extraChildRateModifier
public RateSupplierDetails extraChildRateModifier(VariableChargeSupplierDetails extraChildRateModifier) -
getExtraChildRateModifier
Get extraChildRateModifier- Returns:
- extraChildRateModifier
-
setExtraChildRateModifier
-
available
-
getAvailable
Convenience data point that tells you if there is availability on this day. It tests that quantity is greater than 0, rate amount is valid and master flag is true.- Returns:
- available
-
setAvailable
-
equals
-
hashCode
public int hashCode() -
toString
-