Class PropertyBooking

java.lang.Object
travel.wink.sdk.channel.manager.model.PropertyBooking

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-06-26T20:17:17.459970342+07:00[Asia/Bangkok]", comments="Generator version: 7.13.0") public class PropertyBooking extends Object
PropertyBooking
  • Field Details

  • Constructor Details

    • PropertyBooking

      public PropertyBooking()
  • Method Details

    • bookingIdentifier

      public PropertyBooking bookingIdentifier(@Nonnull UUID bookingIdentifier)
    • getBookingIdentifier

      @Nonnull @NotNull @Valid @Size(min=1) public @NotNull @Valid @Size(min=1) UUID getBookingIdentifier()
      Booking ID
      Returns:
      bookingIdentifier
    • setBookingIdentifier

      public void setBookingIdentifier(@Nonnull UUID bookingIdentifier)
    • propertyIdentifier

      public PropertyBooking propertyIdentifier(@Nonnull UUID propertyIdentifier)
    • getPropertyIdentifier

      @Nonnull @NotNull @Valid @Size(min=1) public @NotNull @Valid @Size(min=1) UUID getPropertyIdentifier()
      ChannelManagerProperty ID
      Returns:
      propertyIdentifier
    • setPropertyIdentifier

      public void setPropertyIdentifier(@Nonnull UUID propertyIdentifier)
    • roomRateIdentifier

      public PropertyBooking roomRateIdentifier(@Nonnull UUID roomRateIdentifier)
    • getRoomRateIdentifier

      @Nonnull @NotNull @Valid @Size(min=1) public @NotNull @Valid @Size(min=1) UUID getRoomRateIdentifier()
      Master Rate ID
      Returns:
      roomRateIdentifier
    • setRoomRateIdentifier

      public void setRoomRateIdentifier(@Nonnull UUID roomRateIdentifier)
    • name

      public PropertyBooking name(@Nonnull String name)
    • getName

      @Nonnull @NotNull @Size(min=1) public @NotNull @Size(min=1) String getName()
      Master Rate name
      Returns:
      name
    • setName

      public void setName(@Nonnull String name)
    • guestRoomName

      public PropertyBooking guestRoomName(@Nonnull String guestRoomName)
    • getGuestRoomName

      @Nonnull @NotNull @Size(min=1) public @NotNull @Size(min=1) String getGuestRoomName()
      Guest room name
      Returns:
      guestRoomName
    • setGuestRoomName

      public void setGuestRoomName(@Nonnull String guestRoomName)
    • ratePlanName

      public PropertyBooking ratePlanName(@Nonnull String ratePlanName)
    • getRatePlanName

      @Nonnull @NotNull @Size(min=1) public @NotNull @Size(min=1) String getRatePlanName()
      Rate plan name
      Returns:
      ratePlanName
    • setRatePlanName

      public void setRatePlanName(@Nonnull String ratePlanName)
    • rooms

      public PropertyBooking rooms(@Nonnull Integer rooms)
    • getRooms

      @Nonnull @NotNull public @NotNull Integer getRooms()
      Number of rooms
      Returns:
      rooms
    • setRooms

      public void setRooms(@Nonnull Integer rooms)
    • guests

      public PropertyBooking guests(@Nonnull Integer guests)
    • getGuests

      @Nonnull @NotNull public @NotNull Integer getGuests()
      Number of guests
      Returns:
      guests
    • setGuests

      public void setGuests(@Nonnull Integer guests)
    • adults

      public PropertyBooking adults(@Nonnull Integer adults)
    • getAdults

      @Nonnull @NotNull public @NotNull Integer getAdults()
      Number of adults
      Returns:
      adults
    • setAdults

      public void setAdults(@Nonnull Integer adults)
    • children

      public PropertyBooking children(@Nonnull Integer children)
    • getChildren

      @Nonnull @NotNull public @NotNull Integer getChildren()
      Number of children
      Returns:
      children
    • setChildren

      public void setChildren(@Nonnull Integer children)
    • firstName

      public PropertyBooking firstName(@Nonnull String firstName)
    • getFirstName

      @Nonnull @NotNull @Size(min=1) public @NotNull @Size(min=1) String getFirstName()
      First name of traveler
      Returns:
      firstName
    • setFirstName

      public void setFirstName(@Nonnull String firstName)
    • lastName

      public PropertyBooking lastName(@Nonnull String lastName)
    • getLastName

      @Nonnull @NotNull @Size(min=1) public @NotNull @Size(min=1) String getLastName()
      Last name of traveler
      Returns:
      lastName
    • setLastName

      public void setLastName(@Nonnull String lastName)
    • email

      public PropertyBooking email(@Nonnull String email)
    • getEmail

      @Nonnull @NotNull @Size(min=1) public @NotNull @Size(min=1) String getEmail()
      E-mail of traveler
      Returns:
      email
    • setEmail

      public void setEmail(@Nonnull String email)
    • amount

      public PropertyBooking amount(@Nonnull BigDecimal amount)
    • getAmount

      @Nonnull @NotNull @Valid public @NotNull @Valid BigDecimal getAmount()
      Total booking amount
      Returns:
      amount
    • setAmount

      public void setAmount(@Nonnull BigDecimal amount)
    • currencyCode

      public PropertyBooking currencyCode(@Nonnull String currencyCode)
    • getCurrencyCode

      @Nonnull @NotNull @Size(min=1) public @NotNull @Size(min=1) String getCurrencyCode()
      Supplier currency
      Returns:
      currencyCode
    • setCurrencyCode

      public void setCurrencyCode(@Nonnull String currencyCode)
    • bookingCode

      public PropertyBooking bookingCode(@Nonnull String bookingCode)
    • getBookingCode

      @Nonnull @NotNull @Size(min=1) public @NotNull @Size(min=1) String getBookingCode()
      Ref. code for traveler
      Returns:
      bookingCode
    • setBookingCode

      public void setBookingCode(@Nonnull String bookingCode)
    • startDate

      public PropertyBooking startDate(@Nonnull LocalDate startDate)
    • getStartDate

      @Nonnull @NotNull @Valid public @NotNull @Valid LocalDate getStartDate()
      Arrival date
      Returns:
      startDate
    • setStartDate

      public void setStartDate(@Nonnull LocalDate startDate)
    • endDate

      public PropertyBooking endDate(@Nonnull LocalDate endDate)
    • getEndDate

      @Nonnull @NotNull @Valid public @NotNull @Valid LocalDate getEndDate()
      Departure date
      Returns:
      endDate
    • setEndDate

      public void setEndDate(@Nonnull LocalDate endDate)
    • createdDate

      public PropertyBooking createdDate(@Nonnull LocalDateTime createdDate)
    • getCreatedDate

      @Nonnull @NotNull @Valid public LocalDateTime getCreatedDate()
      Created date
      Returns:
      createdDate
    • setCreatedDate

      public void setCreatedDate(@Nonnull LocalDateTime createdDate)
    • cancelled

      public PropertyBooking cancelled(@Nonnull Boolean cancelled)
    • getCancelled

      @Nonnull @NotNull public @NotNull Boolean getCancelled()
      Whether booking is cancelled or not
      Returns:
      cancelled
    • setCancelled

      public void setCancelled(@Nonnull Boolean cancelled)
    • cancelDate

      public PropertyBooking cancelDate(@Nullable LocalDateTime cancelDate)
    • getCancelDate

      @Nullable @Valid public LocalDateTime getCancelDate()
      Cancellation date if booking was cancelled
      Returns:
      cancelDate
    • setCancelDate

      public void setCancelDate(@Nullable LocalDateTime cancelDate)
    • paymentMethodType

      public PropertyBooking paymentMethodType(@Nonnull String paymentMethodType)
    • getPaymentMethodType

      @Nonnull @NotNull @Size(min=1) public @NotNull @Size(min=1) String getPaymentMethodType()
      Payment method
      Returns:
      paymentMethodType
    • setPaymentMethodType

      public void setPaymentMethodType(@Nonnull String paymentMethodType)
    • paymentWalletType

      public PropertyBooking paymentWalletType(@Nullable String paymentWalletType)
    • getPaymentWalletType

      @Nullable public String getPaymentWalletType()
      Optional payment wallet type
      Returns:
      paymentWalletType
    • setPaymentWalletType

      public void setPaymentWalletType(@Nullable String paymentWalletType)
    • paymentMethodStatus

      public PropertyBooking paymentMethodStatus(@Nonnull PropertyBooking.PaymentMethodStatusEnum paymentMethodStatus)
    • getPaymentMethodStatus

      @Nonnull @NotNull public @NotNull PropertyBooking.PaymentMethodStatusEnum getPaymentMethodStatus()
      Status of payment
      Returns:
      paymentMethodStatus
    • setPaymentMethodStatus

      public void setPaymentMethodStatus(@Nonnull PropertyBooking.PaymentMethodStatusEnum paymentMethodStatus)
    • salesChannelName

      public PropertyBooking salesChannelName(@Nonnull String salesChannelName)
    • getSalesChannelName

      @Nonnull @NotNull @Size(min=1) public @NotNull @Size(min=1) String getSalesChannelName()
      Sales channel name
      Returns:
      salesChannelName
    • setSalesChannelName

      public void setSalesChannelName(@Nonnull String salesChannelName)
    • salesChannelIdentifier

      public PropertyBooking salesChannelIdentifier(@Nonnull UUID salesChannelIdentifier)
    • getSalesChannelIdentifier

      @Nonnull @NotNull @Valid @Size(min=1) public @NotNull @Valid @Size(min=1) UUID getSalesChannelIdentifier()
      Sales channel ID
      Returns:
      salesChannelIdentifier
    • setSalesChannelIdentifier

      public void setSalesChannelIdentifier(@Nonnull UUID salesChannelIdentifier)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object