Class RealtimeShoppingCartItemAuthenticatedEntity
java.lang.Object
travel.wink.sdk.booking.model.RealtimeShoppingCartItemAuthenticatedEntity
@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 RealtimeShoppingCartItemAuthenticatedEntity
extends Object
RealtimeShoppingCartItemAuthenticatedEntity
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumControl which lifestyle context your user was in. -
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 String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAncillariesItem(Object ancillariesItem) addPromotionalCodesItem(Object promotionalCodesItem) ancillaries(List<Object> ancillaries) bedroomConfigurationIdentifier(String bedroomConfigurationIdentifier) commission(Float commission) commissionable(Boolean commissionable) booleanGet ancillariesGuest can optionally request a specific bedroom layout if the room type is set up with multiple layout choices.@NotNull FloatThe commission percentage.@NotNull BooleanWhether this package is commissionable based on the incoming sales channel.@NotNull StringUser's currency preference@NotNull @Valid LocalDateDate when guest departs the premises.@NotNull @Valid PropertyAggregateLightweightAuthenticatedEntitygetHotel()The hotel where the stay occurs.@NotNull @Valid @Size(min=1) UUIDUnique hotel record identifier.@NotNull @Size(min=1) Stringidentifier for item in cart@Valid CustomMonetaryAmountGet internalTotal@NotNull StringUser's language preferenceControl which lifestyle context your user was in.Get promotionalCodes@NotNull @Valid RoomConfigurationAuthenticatedEntityRoom configuration is how the guest wants the room to support her accompanying guests.@NotNull @Valid @Size(min=1) UUIDThe unique master rate that made the guest room / rate plan available for sale.@Valid CustomMonetaryAmountGet sourceTotalA guest can send a special request to the hotel in free-text here.@NotNull @Valid LocalDateDate when guest arrives on the premises.@NotNull @Valid RoomStayAuthenticatedEntitygetStay()The priced stay.@NotNull @Valid BookingUserRequestAuthenticatedEntitygetUser()User object contains details of the person that made the booking.@Valid CustomMonetaryAmountGet userSpecifiedCurrencyTotalinthashCode()hotelIdentifier(UUID hotelIdentifier) identifier(String identifier) internalTotal(CustomMonetaryAmount internalTotal) promotionalCodes(List<Object> promotionalCodes) roomConfiguration(RoomConfigurationAuthenticatedEntity roomConfiguration) roomRateIdentifier(UUID roomRateIdentifier) voidsetAncillaries(List<Object> ancillaries) voidsetBedroomConfigurationIdentifier(String bedroomConfigurationIdentifier) voidsetCommission(Float commission) voidsetCommissionable(Boolean commissionable) voidsetCurrency(String currency) voidsetEndDate(LocalDate endDate) voidvoidsetHotelIdentifier(UUID hotelIdentifier) voidsetIdentifier(String identifier) voidsetInternalTotal(CustomMonetaryAmount internalTotal) voidsetLanguage(String language) voidvoidsetPromotionalCodes(List<Object> promotionalCodes) voidsetRoomConfiguration(RoomConfigurationAuthenticatedEntity roomConfiguration) voidsetRoomRateIdentifier(UUID roomRateIdentifier) voidsetSourceTotal(CustomMonetaryAmount sourceTotal) voidsetSpecialRequests(String specialRequests) voidsetStartDate(LocalDate startDate) voidvoidvoidsetUserSpecifiedCurrencyTotal(CustomMonetaryAmount userSpecifiedCurrencyTotal) sourceTotal(CustomMonetaryAmount sourceTotal) specialRequests(String specialRequests) toString()userSpecifiedCurrencyTotal(CustomMonetaryAmount userSpecifiedCurrencyTotal)
-
Field Details
-
JSON_PROPERTY_IDENTIFIER
- See Also:
-
JSON_PROPERTY_HOTEL_IDENTIFIER
- See Also:
-
JSON_PROPERTY_START_DATE
- See Also:
-
JSON_PROPERTY_END_DATE
- See Also:
-
JSON_PROPERTY_ROOM_CONFIGURATION
- See Also:
-
JSON_PROPERTY_PROMOTIONAL_CODES
- See Also:
-
JSON_PROPERTY_ROOM_RATE_IDENTIFIER
- See Also:
-
JSON_PROPERTY_BEDROOM_CONFIGURATION_IDENTIFIER
- See Also:
-
JSON_PROPERTY_ANCILLARIES
- See Also:
-
JSON_PROPERTY_SPECIAL_REQUESTS
- See Also:
-
JSON_PROPERTY_USER
- See Also:
-
JSON_PROPERTY_HOTEL
- See Also:
-
JSON_PROPERTY_STAY
- See Also:
-
JSON_PROPERTY_COMMISSIONABLE
- See Also:
-
JSON_PROPERTY_COMMISSION
- See Also:
-
JSON_PROPERTY_LANGUAGE
- See Also:
-
JSON_PROPERTY_CURRENCY
- See Also:
-
JSON_PROPERTY_LIFESTYLE
- See Also:
-
JSON_PROPERTY_SOURCE_TOTAL
- See Also:
-
JSON_PROPERTY_USER_SPECIFIED_CURRENCY_TOTAL
- See Also:
-
JSON_PROPERTY_INTERNAL_TOTAL
- See Also:
-
-
Constructor Details
-
RealtimeShoppingCartItemAuthenticatedEntity
public RealtimeShoppingCartItemAuthenticatedEntity()
-
-
Method Details
-
identifier
-
getIdentifier
identifier for item in cart- Returns:
- identifier
-
setIdentifier
-
hotelIdentifier
-
getHotelIdentifier
Unique hotel record identifier.- Returns:
- hotelIdentifier
-
setHotelIdentifier
-
startDate
-
getStartDate
Date when guest arrives on the premises.- Returns:
- startDate
-
setStartDate
-
endDate
-
getEndDate
Date when guest departs the premises.- Returns:
- endDate
-
setEndDate
-
roomConfiguration
public RealtimeShoppingCartItemAuthenticatedEntity roomConfiguration(@Nonnull RoomConfigurationAuthenticatedEntity roomConfiguration) -
getRoomConfiguration
@Nonnull @NotNull @Valid public @NotNull @Valid RoomConfigurationAuthenticatedEntity getRoomConfiguration()Room configuration is how the guest wants the room to support her accompanying guests.- Returns:
- roomConfiguration
-
setRoomConfiguration
-
promotionalCodes
public RealtimeShoppingCartItemAuthenticatedEntity promotionalCodes(@Nullable List<Object> promotionalCodes) -
addPromotionalCodesItem
public RealtimeShoppingCartItemAuthenticatedEntity addPromotionalCodesItem(Object promotionalCodesItem) -
getPromotionalCodes
-
setPromotionalCodes
-
roomRateIdentifier
public RealtimeShoppingCartItemAuthenticatedEntity roomRateIdentifier(@Nonnull UUID roomRateIdentifier) -
getRoomRateIdentifier
@Nonnull @NotNull @Valid @Size(min=1) public @NotNull @Valid @Size(min=1) UUID getRoomRateIdentifier()The unique master rate that made the guest room / rate plan available for sale.- Returns:
- roomRateIdentifier
-
setRoomRateIdentifier
-
bedroomConfigurationIdentifier
public RealtimeShoppingCartItemAuthenticatedEntity bedroomConfigurationIdentifier(@Nullable String bedroomConfigurationIdentifier) -
getBedroomConfigurationIdentifier
Guest can optionally request a specific bedroom layout if the room type is set up with multiple layout choices.- Returns:
- bedroomConfigurationIdentifier
-
setBedroomConfigurationIdentifier
-
ancillaries
-
addAncillariesItem
-
getAncillaries
-
setAncillaries
-
specialRequests
public RealtimeShoppingCartItemAuthenticatedEntity specialRequests(@Nullable String specialRequests) -
getSpecialRequests
A guest can send a special request to the hotel in free-text here.- Returns:
- specialRequests
-
setSpecialRequests
-
user
public RealtimeShoppingCartItemAuthenticatedEntity user(@Nonnull BookingUserRequestAuthenticatedEntity user) -
getUser
User object contains details of the person that made the booking.- Returns:
- user
-
setUser
-
hotel
public RealtimeShoppingCartItemAuthenticatedEntity hotel(@Nonnull PropertyAggregateLightweightAuthenticatedEntity hotel) -
getHotel
@Nonnull @NotNull @Valid public @NotNull @Valid PropertyAggregateLightweightAuthenticatedEntity getHotel()The hotel where the stay occurs.- Returns:
- hotel
-
setHotel
-
stay
-
getStay
The priced stay.- Returns:
- stay
-
setStay
-
commissionable
-
getCommissionable
Whether this package is commissionable based on the incoming sales channel.- Returns:
- commissionable
-
setCommissionable
-
commission
-
getCommission
The commission percentage.- Returns:
- commission
-
setCommission
-
language
-
getLanguage
-
setLanguage
-
currency
-
getCurrency
-
setCurrency
-
lifestyle
public RealtimeShoppingCartItemAuthenticatedEntity lifestyle(@Nullable RealtimeShoppingCartItemAuthenticatedEntity.LifestyleEnum lifestyle) -
getLifestyle
Control which lifestyle context your user was in.- Returns:
- lifestyle
-
setLifestyle
public void setLifestyle(@Nullable RealtimeShoppingCartItemAuthenticatedEntity.LifestyleEnum lifestyle) -
sourceTotal
public RealtimeShoppingCartItemAuthenticatedEntity sourceTotal(@Nullable CustomMonetaryAmount sourceTotal) -
getSourceTotal
Get sourceTotal- Returns:
- sourceTotal
-
setSourceTotal
-
userSpecifiedCurrencyTotal
public RealtimeShoppingCartItemAuthenticatedEntity userSpecifiedCurrencyTotal(@Nullable CustomMonetaryAmount userSpecifiedCurrencyTotal) -
getUserSpecifiedCurrencyTotal
Get userSpecifiedCurrencyTotal- Returns:
- userSpecifiedCurrencyTotal
-
setUserSpecifiedCurrencyTotal
public void setUserSpecifiedCurrencyTotal(@Nullable CustomMonetaryAmount userSpecifiedCurrencyTotal) -
internalTotal
public RealtimeShoppingCartItemAuthenticatedEntity internalTotal(@Nullable CustomMonetaryAmount internalTotal) -
getInternalTotal
Get internalTotal- Returns:
- internalTotal
-
setInternalTotal
-
equals
-
hashCode
-
toString
-