Class PropertyBooking
java.lang.Object
travel.wink.sdk.channel.manager.model.PropertyBooking
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-01-26T12:29:41.999134043+07:00[Asia/Bangkok]")
public class PropertyBooking
extends Object
PropertyBooking
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumStatus of payment -
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 String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionamount(BigDecimal amount) bookingCode(String bookingCode) bookingIdentifier(UUID bookingIdentifier) cancelDate(LocalDateTime cancelDate) createdDate(LocalDateTime createdDate) currencyCode(String currencyCode) boolean@NotNull IntegerNumber of adults@NotNull @Valid BigDecimalTotal booking amount@NotNull StringRef.@NotNull @Valid UUIDBooking IDCancellation date if booking was cancelled@NotNull BooleanWhether booking is cancelled or not@NotNull IntegerNumber of childrenCreated date@NotNull StringSupplier currency@NotNull StringgetEmail()E-mail of traveler@NotNull @Valid LocalDateDeparture date@NotNull StringFirst name of traveler@NotNull StringGuest room name@NotNull IntegerNumber of guests@NotNull StringLast name of traveler@NotNull StringgetName()Master Rate nameStatus of payment@NotNull StringPayment methodOptional payment wallet type@NotNull @Valid UUIDProperty ID@NotNull StringRate plan name@NotNull @Valid UUIDMaster Rate ID@NotNull IntegergetRooms()Number of rooms@NotNull @Valid UUIDSales channel ID@NotNull StringSales channel name@NotNull @Valid LocalDateArrival dateguestRoomName(String guestRoomName) inthashCode()paymentMethodStatus(PropertyBooking.PaymentMethodStatusEnum paymentMethodStatus) paymentMethodType(String paymentMethodType) paymentWalletType(String paymentWalletType) propertyIdentifier(UUID propertyIdentifier) ratePlanName(String ratePlanName) roomRateIdentifier(UUID roomRateIdentifier) salesChannelIdentifier(UUID salesChannelIdentifier) salesChannelName(String salesChannelName) voidvoidsetAmount(BigDecimal amount) voidsetBookingCode(String bookingCode) voidsetBookingIdentifier(UUID bookingIdentifier) voidsetCancelDate(LocalDateTime cancelDate) voidsetCancelled(Boolean cancelled) voidsetChildren(Integer children) voidsetCreatedDate(LocalDateTime createdDate) voidsetCurrencyCode(String currencyCode) voidvoidsetEndDate(LocalDate endDate) voidsetFirstName(String firstName) voidsetGuestRoomName(String guestRoomName) voidvoidsetLastName(String lastName) voidvoidsetPaymentMethodStatus(PropertyBooking.PaymentMethodStatusEnum paymentMethodStatus) voidsetPaymentMethodType(String paymentMethodType) voidsetPaymentWalletType(String paymentWalletType) voidsetPropertyIdentifier(UUID propertyIdentifier) voidsetRatePlanName(String ratePlanName) voidsetRoomRateIdentifier(UUID roomRateIdentifier) voidvoidsetSalesChannelIdentifier(UUID salesChannelIdentifier) voidsetSalesChannelName(String salesChannelName) voidsetStartDate(LocalDate startDate) toString()
-
Field Details
-
JSON_PROPERTY_BOOKING_IDENTIFIER
- See Also:
-
JSON_PROPERTY_PROPERTY_IDENTIFIER
- See Also:
-
JSON_PROPERTY_ROOM_RATE_IDENTIFIER
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_GUEST_ROOM_NAME
- See Also:
-
JSON_PROPERTY_RATE_PLAN_NAME
- See Also:
-
JSON_PROPERTY_ROOMS
- See Also:
-
JSON_PROPERTY_GUESTS
- See Also:
-
JSON_PROPERTY_ADULTS
- See Also:
-
JSON_PROPERTY_CHILDREN
- See Also:
-
JSON_PROPERTY_FIRST_NAME
- See Also:
-
JSON_PROPERTY_LAST_NAME
- See Also:
-
JSON_PROPERTY_EMAIL
- See Also:
-
JSON_PROPERTY_AMOUNT
- See Also:
-
JSON_PROPERTY_CURRENCY_CODE
- See Also:
-
JSON_PROPERTY_BOOKING_CODE
- See Also:
-
JSON_PROPERTY_START_DATE
- See Also:
-
JSON_PROPERTY_END_DATE
- See Also:
-
JSON_PROPERTY_CREATED_DATE
- See Also:
-
JSON_PROPERTY_CANCELLED
- See Also:
-
JSON_PROPERTY_CANCEL_DATE
- See Also:
-
JSON_PROPERTY_PAYMENT_METHOD_TYPE
- See Also:
-
JSON_PROPERTY_PAYMENT_WALLET_TYPE
- See Also:
-
JSON_PROPERTY_PAYMENT_METHOD_STATUS
- See Also:
-
JSON_PROPERTY_SALES_CHANNEL_NAME
- See Also:
-
JSON_PROPERTY_SALES_CHANNEL_IDENTIFIER
- See Also:
-
-
Constructor Details
-
PropertyBooking
public PropertyBooking()
-
-
Method Details
-
bookingIdentifier
-
getBookingIdentifier
Booking ID- Returns:
- bookingIdentifier
-
setBookingIdentifier
-
propertyIdentifier
-
getPropertyIdentifier
Property ID- Returns:
- propertyIdentifier
-
setPropertyIdentifier
-
roomRateIdentifier
-
getRoomRateIdentifier
Master Rate ID- Returns:
- roomRateIdentifier
-
setRoomRateIdentifier
-
name
-
getName
-
setName
-
guestRoomName
-
getGuestRoomName
-
setGuestRoomName
-
ratePlanName
-
getRatePlanName
-
setRatePlanName
-
rooms
-
getRooms
-
setRooms
-
guests
-
getGuests
-
setGuests
-
adults
-
getAdults
-
setAdults
-
children
-
getChildren
-
setChildren
-
firstName
-
getFirstName
-
setFirstName
-
lastName
-
getLastName
-
setLastName
-
email
-
getEmail
-
setEmail
-
amount
-
getAmount
Total booking amount- Returns:
- amount
-
setAmount
-
currencyCode
-
getCurrencyCode
-
setCurrencyCode
-
bookingCode
-
getBookingCode
Ref. code for traveler- Returns:
- bookingCode
-
setBookingCode
-
startDate
-
getStartDate
Arrival date- Returns:
- startDate
-
setStartDate
-
endDate
-
getEndDate
Departure date- Returns:
- endDate
-
setEndDate
-
createdDate
-
getCreatedDate
-
setCreatedDate
-
cancelled
-
getCancelled
Whether booking is cancelled or not- Returns:
- cancelled
-
setCancelled
-
cancelDate
-
getCancelDate
Cancellation date if booking was cancelled- Returns:
- cancelDate
-
setCancelDate
-
paymentMethodType
-
getPaymentMethodType
Payment method- Returns:
- paymentMethodType
-
setPaymentMethodType
-
paymentWalletType
-
getPaymentWalletType
Optional payment wallet type- Returns:
- paymentWalletType
-
setPaymentWalletType
-
paymentMethodStatus
public PropertyBooking paymentMethodStatus(PropertyBooking.PaymentMethodStatusEnum paymentMethodStatus) -
getPaymentMethodStatus
Status of payment- Returns:
- paymentMethodStatus
-
setPaymentMethodStatus
-
salesChannelName
-
getSalesChannelName
Sales channel name- Returns:
- salesChannelName
-
setSalesChannelName
-
salesChannelIdentifier
-
getSalesChannelIdentifier
Sales channel ID- Returns:
- salesChannelIdentifier
-
setSalesChannelIdentifier
-
equals
-
hashCode
-
toString
-