Class RoomStaySupplierDetails
java.lang.Object
travel.wink.sdk.extranet.booking.model.RoomStaySupplierDetails
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-06-26T20:17:36.846722567+07:00[Asia/Bangkok]",
comments="Generator version: 7.13.0")
public class RoomStaySupplierDetails
extends Object
RoomStaySupplierDetails
-
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 TypeMethodDescriptionactiveCancellationPolicy(CancellationPolicyLightweightSupplierDetails activeCancellationPolicy) addPerkTypesItem(PerkLightweightSupplierDetails perkTypesItem) bedroomConfiguration(BedroomConfigurationSupplierDetails bedroomConfiguration) cancellable(Boolean cancellable) cancellableByHotel(Boolean cancellableByHotel) cancellableWithPotentialCharge(Boolean cancellableWithPotentialCharge) booleanextraCharges(ExtraChargesSupplierDetails extraCharges) @NotNull @Valid CancellationPolicyLightweightSupplierDetailsBased on the itinerary, the cancellation policy could be taken directly from the rate plan or it could be a policy exception also listed on the rate plan@NotNull IntegerThe actual amount of adults as determined by the hotel's policy.@NotNull @Valid BedroomConfigurationSupplierDetailsDesired bedroom layoutGet cancellableGet cancellableByHotelGet cancellableWithPotentialCharge@NotNull IntegerThe actual amount of children as determined by the hotel's policy.@NotNull @Valid LocalDateStay end date@NotNull @Valid ExtraChargesSupplierDetailsRate plan-level extra chargesGet guests@Valid CustomMonetaryAmountGet internalTotal@Valid List<@Valid PerkLightweightSupplierDetails> List of perks that came with the master rate@NotNull @Valid PropertyPolicySupplierDetailsProperty policy information.@NotNull @Valid StayRateSupplierDetailsgetPrice()Price details@NotNull @Valid RoomConfigurationPriceRatePlanSupplierDetailsRate plan used for this stayGet rateSource@NotNull @Valid GuestRoomLightweightSupplierDetailsgetRoom()Guest room details.Total number of nights the guest stays at the hotel.@NotNull @Valid @Size(min=1) UUIDMaster rate identifier@NotNull @Size(min=1) StringMaster rate internal name@NotNull IntegergetRooms()Number of rooms.@Valid CustomMonetaryAmountGet sourceTotal@NotNull @Valid LocalDateStay start date@Valid CustomMonetaryAmountGet userSpecifiedCurrencyTotalinthashCode()internalTotal(CustomMonetaryAmount internalTotal) perkTypes(List<@Valid PerkLightweightSupplierDetails> perkTypes) policy(PropertyPolicySupplierDetails policy) price(StayRateSupplierDetails price) rateSource(String rateSource) roomNights(Long roomNights) roomRateIdentifier(UUID roomRateIdentifier) roomRateInternalName(String roomRateInternalName) voidsetActiveCancellationPolicy(CancellationPolicyLightweightSupplierDetails activeCancellationPolicy) voidvoidsetBedroomConfiguration(BedroomConfigurationSupplierDetails bedroomConfiguration) voidsetCancellable(Boolean cancellable) voidsetCancellableByHotel(Boolean cancellableByHotel) voidsetCancellableWithPotentialCharge(Boolean cancellableWithPotentialCharge) voidsetChildren(Integer children) voidsetEndDate(LocalDate endDate) voidsetExtraCharges(ExtraChargesSupplierDetails extraCharges) voidvoidsetInternalTotal(CustomMonetaryAmount internalTotal) voidsetPerkTypes(List<@Valid PerkLightweightSupplierDetails> perkTypes) voidvoidsetPrice(StayRateSupplierDetails price) voidvoidsetRateSource(String rateSource) voidvoidsetRoomNights(Long roomNights) voidsetRoomRateIdentifier(UUID roomRateIdentifier) voidsetRoomRateInternalName(String roomRateInternalName) voidvoidsetSourceTotal(CustomMonetaryAmount sourceTotal) voidsetStartDate(LocalDate startDate) voidsetUserSpecifiedCurrencyTotal(CustomMonetaryAmount userSpecifiedCurrencyTotal) sourceTotal(CustomMonetaryAmount sourceTotal) toString()userSpecifiedCurrencyTotal(CustomMonetaryAmount userSpecifiedCurrencyTotal)
-
Field Details
-
JSON_PROPERTY_POLICY
- See Also:
-
JSON_PROPERTY_ROOM
- See Also:
-
JSON_PROPERTY_ROOMS
- See Also:
-
JSON_PROPERTY_BEDROOM_CONFIGURATION
- See Also:
-
JSON_PROPERTY_ADULTS
- See Also:
-
JSON_PROPERTY_CHILDREN
- See Also:
-
JSON_PROPERTY_START_DATE
- See Also:
-
JSON_PROPERTY_END_DATE
- See Also:
-
JSON_PROPERTY_PRICE
- See Also:
-
JSON_PROPERTY_ROOM_RATE_IDENTIFIER
- See Also:
-
JSON_PROPERTY_ROOM_RATE_INTERNAL_NAME
- See Also:
-
JSON_PROPERTY_RATE_PLAN
- See Also:
-
JSON_PROPERTY_PERK_TYPES
- See Also:
-
JSON_PROPERTY_EXTRA_CHARGES
- See Also:
-
JSON_PROPERTY_ACTIVE_CANCELLATION_POLICY
- See Also:
-
JSON_PROPERTY_CANCELLABLE
- See Also:
-
JSON_PROPERTY_CANCELLABLE_BY_HOTEL
- See Also:
-
JSON_PROPERTY_CANCELLABLE_WITH_POTENTIAL_CHARGE
- See Also:
-
JSON_PROPERTY_ROOM_NIGHTS
- See Also:
-
JSON_PROPERTY_GUESTS
- See Also:
-
JSON_PROPERTY_RATE_SOURCE
- See Also:
-
JSON_PROPERTY_SOURCE_TOTAL
- See Also:
-
JSON_PROPERTY_USER_SPECIFIED_CURRENCY_TOTAL
- See Also:
-
JSON_PROPERTY_INTERNAL_TOTAL
- See Also:
-
-
Constructor Details
-
RoomStaySupplierDetails
public RoomStaySupplierDetails()
-
-
Method Details
-
policy
-
getPolicy
Property policy information.- Returns:
- policy
-
setPolicy
-
room
-
getRoom
Guest room details.- Returns:
- room
-
setRoom
-
rooms
-
getRooms
Number of rooms. Always 1 since we switched to creating one booking per room.- Returns:
- rooms
-
setRooms
-
bedroomConfiguration
public RoomStaySupplierDetails bedroomConfiguration(@Nonnull BedroomConfigurationSupplierDetails bedroomConfiguration) -
getBedroomConfiguration
@Nonnull @NotNull @Valid public @NotNull @Valid BedroomConfigurationSupplierDetails getBedroomConfiguration()Desired bedroom layout- Returns:
- bedroomConfiguration
-
setBedroomConfiguration
public void setBedroomConfiguration(@Nonnull BedroomConfigurationSupplierDetails bedroomConfiguration) -
adults
-
getAdults
The actual amount of adults as determined by the hotel's policy.- Returns:
- adults
-
setAdults
-
children
-
getChildren
The actual amount of children as determined by the hotel's policy.- Returns:
- children
-
setChildren
-
startDate
-
getStartDate
Stay start date- Returns:
- startDate
-
setStartDate
-
endDate
-
getEndDate
Stay end date- Returns:
- endDate
-
setEndDate
-
price
-
getPrice
Price details- Returns:
- price
-
setPrice
-
roomRateIdentifier
-
getRoomRateIdentifier
@Nonnull @NotNull @Valid @Size(min=1) public @NotNull @Valid @Size(min=1) UUID getRoomRateIdentifier()Master rate identifier- Returns:
- roomRateIdentifier
-
setRoomRateIdentifier
-
roomRateInternalName
-
getRoomRateInternalName
Master rate internal name- Returns:
- roomRateInternalName
-
setRoomRateInternalName
-
ratePlan
public RoomStaySupplierDetails ratePlan(@Nonnull RoomConfigurationPriceRatePlanSupplierDetails ratePlan) -
getRatePlan
@Nonnull @NotNull @Valid public @NotNull @Valid RoomConfigurationPriceRatePlanSupplierDetails getRatePlan()Rate plan used for this stay- Returns:
- ratePlan
-
setRatePlan
-
perkTypes
public RoomStaySupplierDetails perkTypes(@Nullable List<@Valid PerkLightweightSupplierDetails> perkTypes) -
addPerkTypesItem
-
getPerkTypes
List of perks that came with the master rate- Returns:
- perkTypes
-
setPerkTypes
-
extraCharges
-
getExtraCharges
Rate plan-level extra charges- Returns:
- extraCharges
-
setExtraCharges
-
activeCancellationPolicy
public RoomStaySupplierDetails activeCancellationPolicy(@Nonnull CancellationPolicyLightweightSupplierDetails activeCancellationPolicy) -
getActiveCancellationPolicy
@Nonnull @NotNull @Valid public @NotNull @Valid CancellationPolicyLightweightSupplierDetails getActiveCancellationPolicy()Based on the itinerary, the cancellation policy could be taken directly from the rate plan or it could be a policy exception also listed on the rate plan- Returns:
- activeCancellationPolicy
-
setActiveCancellationPolicy
public void setActiveCancellationPolicy(@Nonnull CancellationPolicyLightweightSupplierDetails activeCancellationPolicy) -
cancellable
-
getCancellable
-
setCancellable
-
cancellableByHotel
-
getCancellableByHotel
-
setCancellableByHotel
-
cancellableWithPotentialCharge
public RoomStaySupplierDetails cancellableWithPotentialCharge(@Nullable Boolean cancellableWithPotentialCharge) -
getCancellableWithPotentialCharge
Get cancellableWithPotentialCharge- Returns:
- cancellableWithPotentialCharge
-
setCancellableWithPotentialCharge
-
roomNights
-
getRoomNights
Total number of nights the guest stays at the hotel. -1 indicates there is an error.- Returns:
- roomNights
-
setRoomNights
-
guests
-
getGuests
-
setGuests
-
rateSource
-
getRateSource
-
setRateSource
-
sourceTotal
-
getSourceTotal
Get sourceTotal- Returns:
- sourceTotal
-
setSourceTotal
-
userSpecifiedCurrencyTotal
public RoomStaySupplierDetails userSpecifiedCurrencyTotal(@Nullable CustomMonetaryAmount userSpecifiedCurrencyTotal) -
getUserSpecifiedCurrencyTotal
Get userSpecifiedCurrencyTotal- Returns:
- userSpecifiedCurrencyTotal
-
setUserSpecifiedCurrencyTotal
public void setUserSpecifiedCurrencyTotal(@Nullable CustomMonetaryAmount userSpecifiedCurrencyTotal) -
internalTotal
-
getInternalTotal
Get internalTotal- Returns:
- internalTotal
-
setInternalTotal
-
equals
-
hashCode
-
toString
-