Class RoomStayAuthenticatedEntity
java.lang.Object
travel.wink.sdk.booking.model.RoomStayAuthenticatedEntity
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-06-26T20:16:53.154776164+07:00[Asia/Bangkok]",
comments="Generator version: 7.13.0")
public class RoomStayAuthenticatedEntity
extends Object
RoomStayAuthenticatedEntity
-
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(CancellationPolicyLightweightAuthenticatedEntity activeCancellationPolicy) addPerkTypesItem(PerkLightweightAuthenticatedEntity perkTypesItem) bedroomConfiguration(BedroomConfigurationAuthenticatedEntity bedroomConfiguration) cancellable(Boolean cancellable) cancellableByHotel(Boolean cancellableByHotel) cancellableWithPotentialCharge(Boolean cancellableWithPotentialCharge) booleanextraCharges(ExtraChargesAuthenticatedEntity extraCharges) @NotNull @Valid CancellationPolicyLightweightAuthenticatedEntityBased 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 BedroomConfigurationAuthenticatedEntityDesired 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 ExtraChargesAuthenticatedEntityRate plan-level extra chargesGet guests@Valid CustomMonetaryAmountGet internalTotal@Valid List<@Valid PerkLightweightAuthenticatedEntity> List of perks that came with the master rate@NotNull @Valid PropertyPolicyAuthenticatedEntityProperty policy information.@NotNull @Valid StayRateAuthenticatedEntitygetPrice()Price details@NotNull @Valid RoomConfigurationPriceRatePlanAuthenticatedEntityRate plan used for this stayGet rateSource@NotNull @Valid GuestRoomLightweightAuthenticatedEntitygetRoom()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 PerkLightweightAuthenticatedEntity> perkTypes) price(StayRateAuthenticatedEntity price) rateSource(String rateSource) roomNights(Long roomNights) roomRateIdentifier(UUID roomRateIdentifier) roomRateInternalName(String roomRateInternalName) voidsetActiveCancellationPolicy(CancellationPolicyLightweightAuthenticatedEntity activeCancellationPolicy) voidvoidsetBedroomConfiguration(BedroomConfigurationAuthenticatedEntity bedroomConfiguration) voidsetCancellable(Boolean cancellable) voidsetCancellableByHotel(Boolean cancellableByHotel) voidsetCancellableWithPotentialCharge(Boolean cancellableWithPotentialCharge) voidsetChildren(Integer children) voidsetEndDate(LocalDate endDate) voidsetExtraCharges(ExtraChargesAuthenticatedEntity extraCharges) voidvoidsetInternalTotal(CustomMonetaryAmount internalTotal) voidsetPerkTypes(List<@Valid PerkLightweightAuthenticatedEntity> perkTypes) voidvoidvoidvoidsetRateSource(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
-
RoomStayAuthenticatedEntity
public RoomStayAuthenticatedEntity()
-
-
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 RoomStayAuthenticatedEntity bedroomConfiguration(@Nonnull BedroomConfigurationAuthenticatedEntity bedroomConfiguration) -
getBedroomConfiguration
@Nonnull @NotNull @Valid public @NotNull @Valid BedroomConfigurationAuthenticatedEntity getBedroomConfiguration()Desired bedroom layout- Returns:
- bedroomConfiguration
-
setBedroomConfiguration
public void setBedroomConfiguration(@Nonnull BedroomConfigurationAuthenticatedEntity 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 RoomStayAuthenticatedEntity ratePlan(@Nonnull RoomConfigurationPriceRatePlanAuthenticatedEntity ratePlan) -
getRatePlan
@Nonnull @NotNull @Valid public @NotNull @Valid RoomConfigurationPriceRatePlanAuthenticatedEntity getRatePlan()Rate plan used for this stay- Returns:
- ratePlan
-
setRatePlan
-
perkTypes
public RoomStayAuthenticatedEntity perkTypes(@Nullable List<@Valid PerkLightweightAuthenticatedEntity> perkTypes) -
addPerkTypesItem
public RoomStayAuthenticatedEntity addPerkTypesItem(PerkLightweightAuthenticatedEntity perkTypesItem) -
getPerkTypes
List of perks that came with the master rate- Returns:
- perkTypes
-
setPerkTypes
-
extraCharges
public RoomStayAuthenticatedEntity extraCharges(@Nonnull ExtraChargesAuthenticatedEntity extraCharges) -
getExtraCharges
Rate plan-level extra charges- Returns:
- extraCharges
-
setExtraCharges
-
activeCancellationPolicy
public RoomStayAuthenticatedEntity activeCancellationPolicy(@Nonnull CancellationPolicyLightweightAuthenticatedEntity activeCancellationPolicy) -
getActiveCancellationPolicy
@Nonnull @NotNull @Valid public @NotNull @Valid CancellationPolicyLightweightAuthenticatedEntity 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 CancellationPolicyLightweightAuthenticatedEntity activeCancellationPolicy) -
cancellable
-
getCancellable
-
setCancellable
-
cancellableByHotel
-
getCancellableByHotel
-
setCancellableByHotel
-
cancellableWithPotentialCharge
public RoomStayAuthenticatedEntity 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 RoomStayAuthenticatedEntity 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
-