Class BookingAncillaryAuthenticatedEntity
java.lang.Object
travel.wink.sdk.booking.model.BookingAncillaryAuthenticatedEntity
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-01-26T12:29:20.072836560+07:00[Asia/Bangkok]")
public class BookingAncillaryAuthenticatedEntity
extends Object
Extra reservations of spas, meeting rooms etc that should accompany the room type booking.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumPricing typestatic enumInventory type -
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 String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddress(AddressAuthenticatedEntity address) commission(Float commission) commissionable(Boolean commissionable) contact(ContactAuthenticatedEntity contact) endDate(LocalDateTime endDate) boolean@NotNull @Valid AddressAuthenticatedEntityGet address@NotNull IntegerNumber of guests that are part of this reservation.@NotNull FloatGet commission@NotNull BooleanGet commissionable@NotNull @Valid ContactAuthenticatedEntityGet contactDate end time when reservation was made for.@NotNull @Valid UUIDHotel identifier@NotNull @Valid UUIDAncillary identifier@NotNull StringCloudinary image identifier@NotNull StringAbsolute URL to image of blocking@NotNull StringDescription of travel blocking in traveler language (if available).@NotNull StringName of travel blocking in traveler language (if available).@NotNull BooleanGet mandatory@NotNull StringgetName()Name of blocking@NotNull @Valid LocalizedPriceAuthenticatedEntitygetPrice()Get pricePricing typeDate start time when reservation was made for.@NotNull @Valid UUIDTravel blocking identifiergetType()Inventory type@NotNull @Valid UUIDTravel blocking identifierinthashCode()hotelIdentifier(UUID hotelIdentifier) identifier(UUID identifier) imageIdentifier(String imageIdentifier) localizedDescription(String localizedDescription) localizedName(String localizedName) voidsetAddress(AddressAuthenticatedEntity address) voidsetAttendees(Integer attendees) voidsetCommission(Float commission) voidsetCommissionable(Boolean commissionable) voidsetContact(ContactAuthenticatedEntity contact) voidsetEndDate(LocalDateTime endDate) voidsetHotelIdentifier(UUID hotelIdentifier) voidsetIdentifier(UUID identifier) voidsetImageIdentifier(String imageIdentifier) voidsetImageUrl(String imageUrl) voidsetLocalizedDescription(String localizedDescription) voidsetLocalizedName(String localizedName) voidsetMandatory(Boolean mandatory) voidvoidvoidvoidsetStartDate(LocalDateTime startDate) voidsetTransactionalTravelInventoryIdentifier(UUID transactionalTravelInventoryIdentifier) voidvoidsetTypeIdentifier(UUID typeIdentifier) startDate(LocalDateTime startDate) toString()transactionalTravelInventoryIdentifier(UUID transactionalTravelInventoryIdentifier) typeIdentifier(UUID typeIdentifier)
-
Field Details
-
JSON_PROPERTY_IDENTIFIER
- See Also:
-
JSON_PROPERTY_HOTEL_IDENTIFIER
- See Also:
-
JSON_PROPERTY_TYPE_IDENTIFIER
- See Also:
-
JSON_PROPERTY_TRANSACTIONAL_TRAVEL_INVENTORY_IDENTIFIER
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_PRICING_TYPE
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_PRICE
- See Also:
-
JSON_PROPERTY_START_DATE
- See Also:
-
JSON_PROPERTY_END_DATE
- See Also:
-
JSON_PROPERTY_ATTENDEES
- See Also:
-
JSON_PROPERTY_IMAGE_IDENTIFIER
- See Also:
-
JSON_PROPERTY_IMAGE_URL
- See Also:
-
JSON_PROPERTY_LOCALIZED_NAME
- See Also:
-
JSON_PROPERTY_LOCALIZED_DESCRIPTION
- See Also:
-
JSON_PROPERTY_CONTACT
- See Also:
-
JSON_PROPERTY_ADDRESS
- See Also:
-
JSON_PROPERTY_COMMISSIONABLE
- See Also:
-
JSON_PROPERTY_MANDATORY
- See Also:
-
JSON_PROPERTY_COMMISSION
- See Also:
-
-
Constructor Details
-
BookingAncillaryAuthenticatedEntity
public BookingAncillaryAuthenticatedEntity()
-
-
Method Details
-
identifier
-
getIdentifier
Ancillary identifier- Returns:
- identifier
-
setIdentifier
-
hotelIdentifier
-
getHotelIdentifier
Hotel identifier- Returns:
- hotelIdentifier
-
setHotelIdentifier
-
typeIdentifier
-
getTypeIdentifier
Travel blocking identifier- Returns:
- typeIdentifier
-
setTypeIdentifier
-
transactionalTravelInventoryIdentifier
public BookingAncillaryAuthenticatedEntity transactionalTravelInventoryIdentifier(UUID transactionalTravelInventoryIdentifier) -
getTransactionalTravelInventoryIdentifier
Travel blocking identifier- Returns:
- transactionalTravelInventoryIdentifier
-
setTransactionalTravelInventoryIdentifier
-
name
-
getName
-
setName
-
pricingType
public BookingAncillaryAuthenticatedEntity pricingType(BookingAncillaryAuthenticatedEntity.PricingTypeEnum pricingType) -
getPricingType
@Nonnull @NotNull public @NotNull BookingAncillaryAuthenticatedEntity.PricingTypeEnum getPricingType()Pricing type- Returns:
- pricingType
-
setPricingType
-
type
-
getType
Inventory type- Returns:
- type
-
setType
-
price
-
getPrice
Get price- Returns:
- price
-
setPrice
-
startDate
-
getStartDate
Date start time when reservation was made for.- Returns:
- startDate
-
setStartDate
-
endDate
-
getEndDate
Date end time when reservation was made for.- Returns:
- endDate
-
setEndDate
-
attendees
-
getAttendees
Number of guests that are part of this reservation.- Returns:
- attendees
-
setAttendees
-
imageIdentifier
-
getImageIdentifier
Cloudinary image identifier- Returns:
- imageIdentifier
-
setImageIdentifier
-
imageUrl
-
getImageUrl
Absolute URL to image of blocking- Returns:
- imageUrl
-
setImageUrl
-
localizedName
-
getLocalizedName
Name of travel blocking in traveler language (if available). Defaults to English.- Returns:
- localizedName
-
setLocalizedName
-
localizedDescription
-
getLocalizedDescription
Description of travel blocking in traveler language (if available). Defaults to English.- Returns:
- localizedDescription
-
setLocalizedDescription
-
contact
-
getContact
Get contact- Returns:
- contact
-
setContact
-
address
-
getAddress
Get address- Returns:
- address
-
setAddress
-
commissionable
-
getCommissionable
Get commissionable- Returns:
- commissionable
-
setCommissionable
-
mandatory
-
getMandatory
-
setMandatory
-
commission
-
getCommission
-
setCommission
-
equals
-
hashCode
-
toString
-