Class BookingAncillaryAgent
java.lang.Object
travel.wink.sdk.travel.agent.model.BookingAncillaryAgent
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-12-27T09:39:31.477717564+07:00[Asia/Bangkok]")
public class BookingAncillaryAgent
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(AddressAgent address) commission(Float commission) commissionable(Boolean commissionable) contact(ContactAgent contact) endDate(LocalDateTime endDate) boolean@NotNull @Valid AddressAgentGet address@NotNull IntegerNumber of guests that are part of this reservation.@NotNull FloatGet commission@NotNull BooleanGet commissionable@NotNull @Valid ContactAgentGet 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 LocalizedPriceAgentgetPrice()Get pricePricing typeDate start time when reservation was made for.@NotNull @Valid UUIDTravel blocking identifier@NotNull BookingAncillaryAgent.TypeEnumgetType()Inventory type@NotNull @Valid UUIDTravel blocking identifierinthashCode()hotelIdentifier(UUID hotelIdentifier) identifier(UUID identifier) imageIdentifier(String imageIdentifier) localizedDescription(String localizedDescription) localizedName(String localizedName) price(LocalizedPriceAgent price) pricingType(BookingAncillaryAgent.PricingTypeEnum pricingType) voidsetAddress(AddressAgent address) voidsetAttendees(Integer attendees) voidsetCommission(Float commission) voidsetCommissionable(Boolean commissionable) voidsetContact(ContactAgent 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(LocalizedPriceAgent price) voidsetPricingType(BookingAncillaryAgent.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
-
BookingAncillaryAgent
public BookingAncillaryAgent()
-
-
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 BookingAncillaryAgent 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
-