Class ExtraBookingRequest
java.lang.Object
travel.wink.sdk.booking.engine.model.ExtraBookingRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-09-08T16:32:00.316996+07:00[Asia/Bangkok]")
public class ExtraBookingRequest
extends Object
Place reservation 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 String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionendDate(OffsetDateTime endDate) boolean@Valid AddressGet addressIndicates if this reservation is for the whole day.Number of guests that are part of this reservation.@Valid ContactGet contact@Valid OffsetDateTimeDate end time when reservation was made for.@Valid UUIDHotel identifierCloudinary image identifierAbsolute URL to image of inventoryDescription of travel inventory in traveler language (if available).Name of travel inventory in traveler language (if available).getName()Name of inventory@Valid LocalizedPricegetPrice()Get pricePricing type@Valid OffsetDateTimeDate start time when reservation was made for.getType()Inventory type@Valid UUIDTravel inventory identifierinthashCode()hotelIdentifier(UUID hotelIdentifier) imageIdentifier(String imageIdentifier) localizedDescription(String localizedDescription) localizedName(String localizedName) price(LocalizedPrice price) pricingType(ExtraBookingRequest.PricingTypeEnum pricingType) voidsetAddress(Address address) voidvoidsetAttendees(Integer attendees) voidsetContact(Contact contact) voidsetEndDate(OffsetDateTime endDate) voidsetHotelIdentifier(UUID hotelIdentifier) voidsetImageIdentifier(String imageIdentifier) voidsetImageUrl(String imageUrl) voidsetLocalizedDescription(String localizedDescription) voidsetLocalizedName(String localizedName) voidvoidsetPrice(LocalizedPrice price) voidsetPricingType(ExtraBookingRequest.PricingTypeEnum pricingType) voidsetStartDate(OffsetDateTime startDate) voidvoidsetTypeIdentifier(UUID typeIdentifier) startDate(OffsetDateTime startDate) toString()typeIdentifier(UUID typeIdentifier)
-
Field Details
-
JSON_PROPERTY_HOTEL_IDENTIFIER
- See Also:
-
JSON_PROPERTY_TYPE_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_ALL_DAY
- 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:
-
-
Constructor Details
-
ExtraBookingRequest
public ExtraBookingRequest()
-
-
Method Details
-
hotelIdentifier
-
getHotelIdentifier
Hotel identifier- Returns:
- hotelIdentifier
-
setHotelIdentifier
-
typeIdentifier
-
getTypeIdentifier
Travel inventory identifier- Returns:
- typeIdentifier
-
setTypeIdentifier
-
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
-
allDay
-
getAllDay
Indicates if this reservation is for the whole day.- Returns:
- allDay
-
setAllDay
-
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
-
equals
-
hashCode
public int hashCode() -
toString
-