Class BookingAncillaryBooker
java.lang.Object
travel.wink.sdk.booking.model.BookingAncillaryBooker
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-11-04T20:27:26.259708560+07:00[Asia/Bangkok]")
public class BookingAncillaryBooker
extends Object
Add-on records.
-
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(AddressBooker address) commission(Float commission) commissionable(Boolean commissionable) contact(ContactBooker contact) endDate(LocalDateTime endDate) boolean@NotNull @Valid AddressBookerGet address@NotNull IntegerNumber of guests that are part of this reservation.@NotNull FloatGet commission@NotNull BooleanGet commissionable@NotNull @Valid ContactBookerGet 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 LocalizedPriceBookergetPrice()Get pricePricing typeDate start time when reservation was made for.@NotNull @Valid UUIDTravel blocking identifier@NotNull BookingAncillaryBooker.TypeEnumgetType()Inventory type@NotNull @Valid 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(AddressBooker 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(UUID transactionalTravelInventoryIdentifier) -
getTransactionalTravelInventoryIdentifier
Travel blocking identifier- Returns:
- transactionalTravelInventoryIdentifier
-
setTransactionalTravelInventoryIdentifier
-
name
-
getName
-
setName
-
pricingType
-
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
-