Class BookingAncillaryBooker
java.lang.Object
travel.wink.sdk.booking.model.BookingAncillaryBooker
@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 BookingAncillaryBooker
extends Object
BookingAncillaryBooker
-
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(SimpleAddressBooker address) commission(Float commission) commissionable(Boolean commissionable) contact(ContactBooker contact) endDate(LocalDateTime endDate) boolean@NotNull @Valid SimpleAddressBookerTravel blocking address (if applicable)@NotNull IntegerNumber of guests that are part of this reservation.@NotNull FloatGet commission@NotNull BooleanGet commissionable@NotNull @Valid ContactBookerTravel blocking contact (if applicable)Date end time when reservation was made for.@NotNull @Valid @Size(min=1) UUIDHotel identifier@NotNull @Valid @Size(min=1) UUIDAncillary identifier@NotNull @Size(min=1) StringCloudinary image identifier@NotNull @Size(min=1) StringAbsolute URL to image of blocking@NotNull @Size(min=1) StringDescription of travel blocking in traveler language (if available).@NotNull @Size(min=1) StringName of travel blocking in traveler language (if available).@NotNull BooleanGet mandatory@NotNull @Size(min=1) StringgetName()Name of blocking@NotNull @Valid LocalizedPriceBookergetPrice()Pricing information for this ancillary.Pricing typeDate start time when reservation was made for.@NotNull @Valid @Size(min=1) UUIDTravel blocking identifier@NotNull BookingAncillaryBooker.TypeEnumgetType()Inventory type@NotNull @Valid @Size(min=1) UUIDTravel blocking identifierinthashCode()hotelIdentifier(UUID hotelIdentifier) identifier(UUID identifier) imageIdentifier(String imageIdentifier) localizedDescription(String localizedDescription) localizedName(String localizedName) price(LocalizedPriceBooker price) pricingType(BookingAncillaryBooker.PricingTypeEnum pricingType) voidsetAddress(SimpleAddressBooker address) voidsetAttendees(Integer attendees) voidsetCommission(Float commission) voidsetCommissionable(Boolean commissionable) voidsetContact(ContactBooker 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) voidvoidsetPrice(LocalizedPriceBooker price) voidsetPricingType(BookingAncillaryBooker.PricingTypeEnum pricingType) voidsetStartDate(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
-
BookingAncillaryBooker
public BookingAncillaryBooker()
-
-
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 BookingAncillaryBooker transactionalTravelInventoryIdentifier(@Nonnull UUID transactionalTravelInventoryIdentifier) -
getTransactionalTravelInventoryIdentifier
@Nonnull @NotNull @Valid @Size(min=1) public @NotNull @Valid @Size(min=1) UUID getTransactionalTravelInventoryIdentifier()Travel blocking identifier- Returns:
- transactionalTravelInventoryIdentifier
-
setTransactionalTravelInventoryIdentifier
public void setTransactionalTravelInventoryIdentifier(@Nonnull UUID transactionalTravelInventoryIdentifier) -
name
-
getName
Name of blocking- Returns:
- name
-
setName
-
pricingType
public BookingAncillaryBooker pricingType(@Nonnull BookingAncillaryBooker.PricingTypeEnum pricingType) -
getPricingType
Pricing type- Returns:
- pricingType
-
setPricingType
-
type
-
getType
Inventory type- Returns:
- type
-
setType
-
price
-
getPrice
Pricing information for this ancillary.- 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
Travel blocking contact (if applicable)- Returns:
- contact
-
setContact
-
address
-
getAddress
Travel blocking address (if applicable)- Returns:
- address
-
setAddress
-
commissionable
-
getCommissionable
Get commissionable- Returns:
- commissionable
-
setCommissionable
-
mandatory
-
getMandatory
-
setMandatory
-
commission
-
getCommission
-
setCommission
-
equals
-
hashCode
-
toString
-