Package travel.wink.sdk.booking.model
Class BookingAncillaryAgent
java.lang.Object
travel.wink.sdk.booking.model.BookingAncillaryAgent
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-03-10T10:48:08.191600840+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 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 addressGet allDay@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 StringCloudinary image identifier@NotNull StringAbsolute URL to image of inventory@NotNull StringDescription of travel inventory in traveler language (if available).@NotNull StringName of travel inventory in traveler language (if available).@NotNull StringgetName()Name of inventory@NotNull @Valid LocalizedPriceAgentgetPrice()Get pricePricing typeDate start time when reservation was made for.@NotNull @Valid UUIDTravel inventory identifier@NotNull BookingAncillaryAgent.TypeEnumgetType()Inventory type@NotNull @Valid UUIDTravel inventory identifierinthashCode()hotelIdentifier(UUID hotelIdentifier) imageIdentifier(String imageIdentifier) localizedDescription(String localizedDescription) localizedName(String localizedName) price(LocalizedPriceAgent price) pricingType(BookingAncillaryAgent.PricingTypeEnum pricingType) voidsetAddress(AddressAgent address) voidvoidsetAttendees(Integer attendees) voidsetCommission(Float commission) voidsetCommissionable(Boolean commissionable) voidsetContact(ContactAgent contact) voidsetEndDate(LocalDateTime endDate) voidsetHotelIdentifier(UUID hotelIdentifier) voidsetImageIdentifier(String imageIdentifier) voidsetImageUrl(String imageUrl) voidsetLocalizedDescription(String localizedDescription) voidsetLocalizedName(String localizedName) 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_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_COMMISSION
- See Also:
-
JSON_PROPERTY_ALL_DAY
- See Also:
-
-
Constructor Details
-
BookingAncillaryAgent
public BookingAncillaryAgent()
-
-
Method Details
-
hotelIdentifier
-
getHotelIdentifier
Hotel identifier- Returns:
- hotelIdentifier
-
setHotelIdentifier
-
typeIdentifier
-
getTypeIdentifier
Travel inventory identifier- Returns:
- typeIdentifier
-
setTypeIdentifier
-
transactionalTravelInventoryIdentifier
public BookingAncillaryAgent transactionalTravelInventoryIdentifier(UUID transactionalTravelInventoryIdentifier) -
getTransactionalTravelInventoryIdentifier
Travel inventory identifier- Returns:
- transactionalTravelInventoryIdentifier
-
setTransactionalTravelInventoryIdentifier
-
name
-
getName
Name of inventory- Returns:
- name
-
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 inventory- Returns:
- imageUrl
-
setImageUrl
-
localizedName
-
getLocalizedName
Name of travel inventory in traveler language (if available). Defaults to English.- Returns:
- localizedName
-
setLocalizedName
-
localizedDescription
-
getLocalizedDescription
Description of travel inventory 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
-
commission
-
getCommission
Get commission- Returns:
- commission
-
setCommission
-
allDay
-
getAllDay
Get allDay- Returns:
- allDay
-
setAllDay
-
equals
-
hashCode
public int hashCode() -
toString
-