Package travel.wink.sdk.extranet.model
Class RoomStaySupplierDetails
java.lang.Object
travel.wink.sdk.extranet.model.RoomStaySupplierDetails
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-08-24T16:36:44.138518294+07:00[Asia/Bangkok]")
public class RoomStaySupplierDetails
extends Object
All information about the room that was booked.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumList of perks that came with the master rate -
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(CancellationPolicySupplierDetails activeCancellationPolicy) addPerkTypesItem(RoomStaySupplierDetails.PerkTypesEnum perkTypesItem) bedroomConfiguration(BedroomConfigurationSupplierDetails bedroomConfiguration) cancellable(Boolean cancellable) cancellableByHotel(Boolean cancellableByHotel) cancellableWithPotentialCharge(Boolean cancellableWithPotentialCharge) booleanextraCharges(ExtraChargesSupplierDetails extraCharges) @NotNull @Valid CancellationPolicySupplierDetailsGet activeCancellationPolicy@NotNull IntegerThe actual amount of adults as determined by the hotel's policy.@NotNull @Valid BedroomConfigurationSupplierDetailsGet bedroomConfigurationGet cancellableGet cancellableByHotelGet cancellableWithPotentialCharge@NotNull IntegerThe actual amount of children as determined by the hotel's policy.@NotNull @Valid LocalDateStay end date@NotNull @Valid ExtraChargesSupplierDetailsGet extraChargesGet guests@Valid CustomMonetaryAmountGet internalTotalList of perks that came with the master rate@NotNull @Valid PropertyPolicySupplierDetailsGet policy@NotNull @Valid StayRateSupplierDetailsgetPrice()Get price@NotNull @Valid RatePlanSupplierDetailsGet ratePlanGet rateSource@NotNull @Valid GuestRoomSupplierDetailsgetRoom()Get roomTotal number of nights the guest stays at the hotel.@NotNull @Valid UUIDMaster rate identifier@NotNull 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<RoomStaySupplierDetails.PerkTypesEnum> perkTypes) policy(PropertyPolicySupplierDetails policy) price(StayRateSupplierDetails price) ratePlan(RatePlanSupplierDetails ratePlan) rateSource(String rateSource) room(GuestRoomSupplierDetails room) roomNights(Long roomNights) roomRateIdentifier(UUID roomRateIdentifier) roomRateInternalName(String roomRateInternalName) voidsetActiveCancellationPolicy(CancellationPolicySupplierDetails 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<RoomStaySupplierDetails.PerkTypesEnum> perkTypes) voidvoidsetPrice(StayRateSupplierDetails price) voidsetRatePlan(RatePlanSupplierDetails ratePlan) voidsetRateSource(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_ROOM_NIGHTS
- See Also:
-
JSON_PROPERTY_SOURCE_TOTAL
- See Also:
-
JSON_PROPERTY_USER_SPECIFIED_CURRENCY_TOTAL
- See Also:
-
JSON_PROPERTY_INTERNAL_TOTAL
- See Also:
-
JSON_PROPERTY_GUESTS
- See Also:
-
JSON_PROPERTY_RATE_SOURCE
- See Also:
-
JSON_PROPERTY_CANCELLABLE
- See Also:
-
JSON_PROPERTY_CANCELLABLE_BY_HOTEL
- See Also:
-
JSON_PROPERTY_CANCELLABLE_WITH_POTENTIAL_CHARGE
- See Also:
-
-
Constructor Details
-
RoomStaySupplierDetails
public RoomStaySupplierDetails()
-
-
Method Details
-
policy
-
getPolicy
Get policy- Returns:
- policy
-
setPolicy
-
room
-
getRoom
Get room- 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(BedroomConfigurationSupplierDetails bedroomConfiguration) -
getBedroomConfiguration
@Nonnull @NotNull @Valid public @NotNull @Valid BedroomConfigurationSupplierDetails getBedroomConfiguration()Get bedroomConfiguration- Returns:
- bedroomConfiguration
-
setBedroomConfiguration
-
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
Get price- Returns:
- price
-
setPrice
-
roomRateIdentifier
-
getRoomRateIdentifier
Master rate identifier- Returns:
- roomRateIdentifier
-
setRoomRateIdentifier
-
roomRateInternalName
-
getRoomRateInternalName
Master rate internal name- Returns:
- roomRateInternalName
-
setRoomRateInternalName
-
ratePlan
-
getRatePlan
Get ratePlan- Returns:
- ratePlan
-
setRatePlan
-
perkTypes
-
addPerkTypesItem
public RoomStaySupplierDetails addPerkTypesItem(RoomStaySupplierDetails.PerkTypesEnum perkTypesItem) -
getPerkTypes
List of perks that came with the master rate- Returns:
- perkTypes
-
setPerkTypes
-
extraCharges
-
getExtraCharges
Get extraCharges- Returns:
- extraCharges
-
setExtraCharges
-
activeCancellationPolicy
public RoomStaySupplierDetails activeCancellationPolicy(CancellationPolicySupplierDetails activeCancellationPolicy) -
getActiveCancellationPolicy
@Nonnull @NotNull @Valid public @NotNull @Valid CancellationPolicySupplierDetails getActiveCancellationPolicy()Get activeCancellationPolicy- Returns:
- activeCancellationPolicy
-
setActiveCancellationPolicy
-
roomNights
-
getRoomNights
Total number of nights the guest stays at the hotel. -1 indicates there is an error.- Returns:
- roomNights
-
setRoomNights
-
sourceTotal
-
getSourceTotal
Get sourceTotal- Returns:
- sourceTotal
-
setSourceTotal
-
userSpecifiedCurrencyTotal
public RoomStaySupplierDetails userSpecifiedCurrencyTotal(CustomMonetaryAmount userSpecifiedCurrencyTotal) -
getUserSpecifiedCurrencyTotal
Get userSpecifiedCurrencyTotal- Returns:
- userSpecifiedCurrencyTotal
-
setUserSpecifiedCurrencyTotal
-
internalTotal
-
getInternalTotal
Get internalTotal- Returns:
- internalTotal
-
setInternalTotal
-
guests
-
getGuests
Get guests- Returns:
- guests
-
setGuests
-
rateSource
-
getRateSource
Get rateSource- Returns:
- rateSource
-
setRateSource
-
cancellable
-
getCancellable
Get cancellable- Returns:
- cancellable
-
setCancellable
-
cancellableByHotel
-
getCancellableByHotel
Get cancellableByHotel- Returns:
- cancellableByHotel
-
setCancellableByHotel
-
cancellableWithPotentialCharge
public RoomStaySupplierDetails cancellableWithPotentialCharge(Boolean cancellableWithPotentialCharge) -
getCancellableWithPotentialCharge
Get cancellableWithPotentialCharge- Returns:
- cancellableWithPotentialCharge
-
setCancellableWithPotentialCharge
-
equals
-
hashCode
public int hashCode() -
toString
-