Package travel.wink.sdk.booking.model
Class Booking
java.lang.Object
travel.wink.sdk.booking.model.Booking
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-10-18T16:39:43.246970048+07:00[Asia/Bangkok]")
public class Booking
extends Object
Booking data object
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumRate origin.static enumConvenience data point to show which status the booking currently has. -
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 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 Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactivities(List<ExtraBookingRequest> activities) addActivitiesItem(ExtraBookingRequest activitiesItem) addAttractionsItem(ExtraBookingRequest attractionsItem) addCommissionListItem(CommissionableEntry commissionListItem) addMeetingRoomsItem(ExtraBookingRequest meetingRoomsItem) addOnOffers(AddOnOffers addOnOffers) addPlacesItem(ExtraBookingRequest placesItem) address(BookingAddress address) addRestaurantsItem(ExtraBookingRequest restaurantsItem) addSocialsItem(Social socialsItem) addSpasItem(ExtraBookingRequest spasItem) attractions(List<ExtraBookingRequest> attractions) bookingCode(String bookingCode) bookingContract(BookingContract bookingContract) commissionList(List<CommissionableEntry> commissionList) contactInfo(BookingContactInfo contactInfo) date(OffsetDateTime date) earlyCheckInCharge(BookingUserSpecifiedCurrencyTotal earlyCheckInCharge) earlyCheckInChargePercent(Float earlyCheckInChargePercent) emailHeaderLogoUrl(String emailHeaderLogoUrl) engineConfiguration(EngineConfigurationBookingReport engineConfiguration) booleanfullAddress(String fullAddress) @Valid List<ExtraBookingRequest>Activity reservation records.@Valid AddOnOffersGet addOnOffers@Valid BookingAddressGet address@Valid List<ExtraBookingRequest>Attraction reservation records.Unique user-friendly booking geoname.@Valid BookingContractGet bookingContractInternal comment field the payment can add and make available to channel manager partners.@Valid List<CommissionableEntry>List of all travel inventory entries that are due a commission to the affiliate.@Valid BookingContactInfoGet contactInfo@Valid OffsetDateTimegetDate()Date and time the booking was made.Get earlyCheckInChargeEarly check-in charge calculated in percent of first room night price.Full url of the image logo optimized for emails@Valid LocalDateGuest departure date.Get engineConfigurationConvenience data point to return the full hotel address.@Valid UUIDUnique record identifier for the collection of bookings that were made at the same time.@Valid HotelOnMapgetHotel()Get hotelAbsolute URL of hotel image that can be used as-is@Valid UUIDUnique record identifier@Valid BookingInternalTotalGet internalTotalGet lateCheckOutChargeEarly check-in charge calculated in percent of first room night price.Logo cloudinary identifier for potential reuse@Valid List<ExtraBookingRequest>Meeting room reservation records.@Valid PackageOffersGet packageOffers@Valid List<ExtraBookingRequest>Place reservation records.Rate origin.@Valid List<ExtraBookingRequest>Restaurant reservation records.@Valid ReviewGet reviewAbsolute URL of room image that can be used as-is@Valid RoomStayGet roomStayThe URL the booking occurredList of all social network account property has for the traveler to get in touch.@Valid BookingSourceTotalGet sourceTotal@Valid List<ExtraBookingRequest>getSpas()Spa reservation records.Free text where the traveler can add a message to the property.@Valid LocalDateGuest arrival date.Convenience data point to show which status the booking currently has.getTest()Whether this was a test booking by the property than can safely be deleted again@Valid BookingUsergetUser()Get user@Valid UserSessionGet userSessionGet userSpecifiedCurrencyTotalgroupIdentifier(UUID groupIdentifier) inthashCode()hotel(HotelOnMap hotel) hotelImageUrl(String hotelImageUrl) identifier(UUID identifier) internalTotal(BookingInternalTotal internalTotal) lateCheckOutCharge(BookingUserSpecifiedCurrencyTotal lateCheckOutCharge) lateCheckOutChargePercent(Float lateCheckOutChargePercent) logoIdentifier(String logoIdentifier) meetingRooms(List<ExtraBookingRequest> meetingRooms) packageOffers(PackageOffers packageOffers) places(List<ExtraBookingRequest> places) rateSource(Booking.RateSourceEnum rateSource) restaurants(List<ExtraBookingRequest> restaurants) roomImageUrl(String roomImageUrl) voidsetActivities(List<ExtraBookingRequest> activities) voidsetAddOnOffers(AddOnOffers addOnOffers) voidsetAddress(BookingAddress address) voidsetAttractions(List<ExtraBookingRequest> attractions) voidsetBookingCode(String bookingCode) voidsetBookingContract(BookingContract bookingContract) voidsetComment(String comment) voidsetCommissionList(List<CommissionableEntry> commissionList) voidsetContactInfo(BookingContactInfo contactInfo) voidsetDate(OffsetDateTime date) voidsetEarlyCheckInCharge(BookingUserSpecifiedCurrencyTotal earlyCheckInCharge) voidsetEarlyCheckInChargePercent(Float earlyCheckInChargePercent) voidsetEmailHeaderLogoUrl(String emailHeaderLogoUrl) voidsetEndDate(LocalDate endDate) voidsetEngineConfiguration(EngineConfigurationBookingReport engineConfiguration) voidsetFullAddress(String fullAddress) voidsetGroupIdentifier(UUID groupIdentifier) voidsetHotel(HotelOnMap hotel) voidsetHotelImageUrl(String hotelImageUrl) voidsetIdentifier(UUID identifier) voidsetInternalTotal(BookingInternalTotal internalTotal) voidsetLateCheckOutCharge(BookingUserSpecifiedCurrencyTotal lateCheckOutCharge) voidsetLateCheckOutChargePercent(Float lateCheckOutChargePercent) voidsetLogoIdentifier(String logoIdentifier) voidsetMeetingRooms(List<ExtraBookingRequest> meetingRooms) voidsetPackageOffers(PackageOffers packageOffers) voidsetPlaces(List<ExtraBookingRequest> places) voidsetRateSource(Booking.RateSourceEnum rateSource) voidsetRestaurants(List<ExtraBookingRequest> restaurants) voidvoidsetRoomImageUrl(String roomImageUrl) voidsetRoomStay(RoomStay roomStay) voidsetServerUrl(String serverUrl) voidsetSocials(List<Social> socials) voidsetSourceTotal(BookingSourceTotal sourceTotal) voidsetSpas(List<ExtraBookingRequest> spas) voidsetSpecialRequests(String specialRequests) voidsetStartDate(LocalDate startDate) voidsetStatus(Booking.StatusEnum status) voidvoidsetUser(BookingUser user) voidsetUserSession(UserSession userSession) voidsetUserSpecifiedCurrencyTotal(BookingUserSpecifiedCurrencyTotal userSpecifiedCurrencyTotal) sourceTotal(BookingSourceTotal sourceTotal) spas(List<ExtraBookingRequest> spas) specialRequests(String specialRequests) status(Booking.StatusEnum status) toString()user(BookingUser user) userSession(UserSession userSession) userSpecifiedCurrencyTotal(BookingUserSpecifiedCurrencyTotal userSpecifiedCurrencyTotal)
-
Field Details
-
JSON_PROPERTY_TEST
- See Also:
-
JSON_PROPERTY_DATE
- See Also:
-
JSON_PROPERTY_GROUP_IDENTIFIER
- See Also:
-
JSON_PROPERTY_IDENTIFIER
- See Also:
-
JSON_PROPERTY_ENGINE_CONFIGURATION
- See Also:
-
JSON_PROPERTY_BOOKING_CODE
- See Also:
-
JSON_PROPERTY_USER
- See Also:
-
JSON_PROPERTY_USER_SESSION
- See Also:
-
JSON_PROPERTY_SERVER_URL
- See Also:
-
JSON_PROPERTY_CONTACT_INFO
- See Also:
-
JSON_PROPERTY_ADDRESS
- See Also:
-
JSON_PROPERTY_SOCIALS
- See Also:
-
JSON_PROPERTY_REVIEW
- See Also:
-
JSON_PROPERTY_EMAIL_HEADER_LOGO_URL
- See Also:
-
JSON_PROPERTY_LOGO_IDENTIFIER
- See Also:
-
JSON_PROPERTY_HOTEL
- See Also:
-
JSON_PROPERTY_ROOM_STAY
- See Also:
-
JSON_PROPERTY_SPECIAL_REQUESTS
- See Also:
-
JSON_PROPERTY_COMMENT
- See Also:
-
JSON_PROPERTY_PACKAGE_OFFERS
- See Also:
-
JSON_PROPERTY_ADD_ON_OFFERS
- See Also:
-
JSON_PROPERTY_EARLY_CHECK_IN_CHARGE
- See Also:
-
JSON_PROPERTY_LATE_CHECK_OUT_CHARGE
- See Also:
-
JSON_PROPERTY_EARLY_CHECK_IN_CHARGE_PERCENT
- See Also:
-
JSON_PROPERTY_LATE_CHECK_OUT_CHARGE_PERCENT
- See Also:
-
JSON_PROPERTY_HOTEL_IMAGE_URL
- See Also:
-
JSON_PROPERTY_ROOM_IMAGE_URL
- See Also:
-
JSON_PROPERTY_COMMISSION_LIST
- See Also:
-
JSON_PROPERTY_BOOKING_CONTRACT
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_START_DATE
- See Also:
-
JSON_PROPERTY_END_DATE
- See Also:
-
JSON_PROPERTY_SOURCE_TOTAL
- See Also:
-
JSON_PROPERTY_INTERNAL_TOTAL
- See Also:
-
JSON_PROPERTY_MEETING_ROOMS
- See Also:
-
JSON_PROPERTY_RESTAURANTS
- See Also:
-
JSON_PROPERTY_SPAS
- See Also:
-
JSON_PROPERTY_ACTIVITIES
- See Also:
-
JSON_PROPERTY_ATTRACTIONS
- See Also:
-
JSON_PROPERTY_PLACES
- See Also:
-
JSON_PROPERTY_USER_SPECIFIED_CURRENCY_TOTAL
- See Also:
-
JSON_PROPERTY_RATE_SOURCE
- See Also:
-
JSON_PROPERTY_FULL_ADDRESS
- See Also:
-
-
Constructor Details
-
Booking
public Booking()
-
-
Method Details
-
test
-
getTest
Whether this was a test booking by the property than can safely be deleted again- Returns:
- test
-
setTest
-
date
-
getDate
Date and time the booking was made.- Returns:
- date
-
setDate
-
groupIdentifier
-
getGroupIdentifier
Unique record identifier for the collection of bookings that were made at the same time.- Returns:
- groupIdentifier
-
setGroupIdentifier
-
identifier
-
getIdentifier
Unique record identifier- Returns:
- identifier
-
setIdentifier
-
engineConfiguration
-
getEngineConfiguration
Get engineConfiguration- Returns:
- engineConfiguration
-
setEngineConfiguration
-
bookingCode
-
getBookingCode
Unique user-friendly booking geoname. This code should be used when corresponding with travelers.- Returns:
- bookingCode
-
setBookingCode
-
user
-
getUser
Get user- Returns:
- user
-
setUser
-
userSession
-
getUserSession
Get userSession- Returns:
- userSession
-
setUserSession
-
serverUrl
-
getServerUrl
The URL the booking occurred- Returns:
- serverUrl
-
setServerUrl
-
contactInfo
-
getContactInfo
Get contactInfo- Returns:
- contactInfo
-
setContactInfo
-
address
-
getAddress
Get address- Returns:
- address
-
setAddress
-
addSocialsItem
-
getSocials
List of all social network account property has for the traveler to get in touch.- Returns:
- socials
-
setSocials
-
review
-
getReview
Get review- Returns:
- review
-
setReview
-
emailHeaderLogoUrl
-
getEmailHeaderLogoUrl
Full url of the image logo optimized for emails- Returns:
- emailHeaderLogoUrl
-
setEmailHeaderLogoUrl
-
logoIdentifier
-
getLogoIdentifier
Logo cloudinary identifier for potential reuse- Returns:
- logoIdentifier
-
setLogoIdentifier
-
hotel
-
getHotel
Get hotel- Returns:
- hotel
-
setHotel
-
roomStay
-
getRoomStay
Get roomStay- Returns:
- roomStay
-
setRoomStay
-
specialRequests
-
getSpecialRequests
Free text where the traveler can add a message to the property.- Returns:
- specialRequests
-
setSpecialRequests
-
comment
-
getComment
Internal comment field the payment can add and make available to channel manager partners.- Returns:
- comment
-
setComment
-
packageOffers
-
getPackageOffers
Get packageOffers- Returns:
- packageOffers
-
setPackageOffers
-
addOnOffers
-
getAddOnOffers
Get addOnOffers- Returns:
- addOnOffers
-
setAddOnOffers
-
earlyCheckInCharge
-
getEarlyCheckInCharge
Get earlyCheckInCharge- Returns:
- earlyCheckInCharge
-
setEarlyCheckInCharge
-
lateCheckOutCharge
-
getLateCheckOutCharge
Get lateCheckOutCharge- Returns:
- lateCheckOutCharge
-
setLateCheckOutCharge
-
earlyCheckInChargePercent
-
getEarlyCheckInChargePercent
Early check-in charge calculated in percent of first room night price.- Returns:
- earlyCheckInChargePercent
-
setEarlyCheckInChargePercent
-
lateCheckOutChargePercent
-
getLateCheckOutChargePercent
Early check-in charge calculated in percent of first room night price.- Returns:
- lateCheckOutChargePercent
-
setLateCheckOutChargePercent
-
hotelImageUrl
-
getHotelImageUrl
Absolute URL of hotel image that can be used as-is- Returns:
- hotelImageUrl
-
setHotelImageUrl
-
roomImageUrl
-
getRoomImageUrl
Absolute URL of room image that can be used as-is- Returns:
- roomImageUrl
-
setRoomImageUrl
-
commissionList
-
addCommissionListItem
-
getCommissionList
List of all travel inventory entries that are due a commission to the affiliate.- Returns:
- commissionList
-
setCommissionList
-
bookingContract
-
getBookingContract
Get bookingContract- Returns:
- bookingContract
-
setBookingContract
-
status
-
getStatus
Convenience data point to show which status the booking currently has.- Returns:
- status
-
setStatus
-
startDate
-
getStartDate
Guest arrival date.- Returns:
- startDate
-
setStartDate
-
endDate
-
getEndDate
Guest departure date.- Returns:
- endDate
-
setEndDate
-
sourceTotal
-
getSourceTotal
Get sourceTotal- Returns:
- sourceTotal
-
setSourceTotal
-
internalTotal
-
getInternalTotal
Get internalTotal- Returns:
- internalTotal
-
setInternalTotal
-
meetingRooms
-
addMeetingRoomsItem
-
getMeetingRooms
Meeting room reservation records.- Returns:
- meetingRooms
-
setMeetingRooms
-
restaurants
-
addRestaurantsItem
-
getRestaurants
Restaurant reservation records.- Returns:
- restaurants
-
setRestaurants
-
spas
-
addSpasItem
-
getSpas
Spa reservation records.- Returns:
- spas
-
setSpas
-
activities
-
addActivitiesItem
-
getActivities
Activity reservation records.- Returns:
- activities
-
setActivities
-
attractions
-
addAttractionsItem
-
getAttractions
Attraction reservation records.- Returns:
- attractions
-
setAttractions
-
places
-
addPlacesItem
-
getPlaces
Place reservation records.- Returns:
- places
-
setPlaces
-
userSpecifiedCurrencyTotal
public Booking userSpecifiedCurrencyTotal(BookingUserSpecifiedCurrencyTotal userSpecifiedCurrencyTotal) -
getUserSpecifiedCurrencyTotal
Get userSpecifiedCurrencyTotal- Returns:
- userSpecifiedCurrencyTotal
-
setUserSpecifiedCurrencyTotal
public void setUserSpecifiedCurrencyTotal(BookingUserSpecifiedCurrencyTotal userSpecifiedCurrencyTotal) -
rateSource
-
getRateSource
Rate origin. This is usually the property channel manager.- Returns:
- rateSource
-
setRateSource
-
fullAddress
-
getFullAddress
Convenience data point to return the full hotel address.- Returns:
- fullAddress
-
setFullAddress
-
equals
-
hashCode
public int hashCode() -
toString
-
socials