Class BookingAncillaryBooker

java.lang.Object
travel.wink.sdk.booking.model.BookingAncillaryBooker

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-10-16T10:17:55.121544913+07:00[Asia/Bangkok]") public class BookingAncillaryBooker extends Object
Add-on records.
  • Field Details

  • Constructor Details

    • BookingAncillaryBooker

      public BookingAncillaryBooker()
  • Method Details

    • hotelIdentifier

      public BookingAncillaryBooker hotelIdentifier(UUID hotelIdentifier)
    • getHotelIdentifier

      @Nonnull @NotNull @Valid public @NotNull @Valid UUID getHotelIdentifier()
      Hotel identifier
      Returns:
      hotelIdentifier
    • setHotelIdentifier

      public void setHotelIdentifier(UUID hotelIdentifier)
    • typeIdentifier

      public BookingAncillaryBooker typeIdentifier(UUID typeIdentifier)
    • getTypeIdentifier

      @Nonnull @NotNull @Valid public @NotNull @Valid UUID getTypeIdentifier()
      Travel inventory identifier
      Returns:
      typeIdentifier
    • setTypeIdentifier

      public void setTypeIdentifier(UUID typeIdentifier)
    • transactionalTravelInventoryIdentifier

      public BookingAncillaryBooker transactionalTravelInventoryIdentifier(UUID transactionalTravelInventoryIdentifier)
    • getTransactionalTravelInventoryIdentifier

      @Nonnull @NotNull @Valid public @NotNull @Valid UUID getTransactionalTravelInventoryIdentifier()
      Travel inventory identifier
      Returns:
      transactionalTravelInventoryIdentifier
    • setTransactionalTravelInventoryIdentifier

      public void setTransactionalTravelInventoryIdentifier(UUID transactionalTravelInventoryIdentifier)
    • name

      public BookingAncillaryBooker name(String name)
    • getName

      @Nonnull @NotNull public @NotNull String getName()
      Name of inventory
      Returns:
      name
    • setName

      public void setName(String name)
    • pricingType

    • getPricingType

      @Nonnull @NotNull public @NotNull BookingAncillaryBooker.PricingTypeEnum getPricingType()
      Pricing type
      Returns:
      pricingType
    • setPricingType

      public void setPricingType(BookingAncillaryBooker.PricingTypeEnum pricingType)
    • type

    • getType

      @Nonnull @NotNull public @NotNull BookingAncillaryBooker.TypeEnum getType()
      Inventory type
      Returns:
      type
    • setType

      public void setType(BookingAncillaryBooker.TypeEnum type)
    • price

    • getPrice

      @Nonnull @NotNull @Valid public @NotNull @Valid LocalizedPriceBooker getPrice()
      Get price
      Returns:
      price
    • setPrice

      public void setPrice(LocalizedPriceBooker price)
    • startDate

      public BookingAncillaryBooker startDate(LocalDateTime startDate)
    • getStartDate

      @Nonnull @NotNull @Valid public LocalDateTime getStartDate()
      Date start time when reservation was made for.
      Returns:
      startDate
    • setStartDate

      public void setStartDate(LocalDateTime startDate)
    • endDate

      public BookingAncillaryBooker endDate(LocalDateTime endDate)
    • getEndDate

      @Nonnull @NotNull @Valid public LocalDateTime getEndDate()
      Date end time when reservation was made for.
      Returns:
      endDate
    • setEndDate

      public void setEndDate(LocalDateTime endDate)
    • attendees

      public BookingAncillaryBooker attendees(Integer attendees)
    • getAttendees

      @Nonnull @NotNull public @NotNull Integer getAttendees()
      Number of guests that are part of this reservation.
      Returns:
      attendees
    • setAttendees

      public void setAttendees(Integer attendees)
    • imageIdentifier

      public BookingAncillaryBooker imageIdentifier(String imageIdentifier)
    • getImageIdentifier

      @Nonnull @NotNull public @NotNull String getImageIdentifier()
      Cloudinary image identifier
      Returns:
      imageIdentifier
    • setImageIdentifier

      public void setImageIdentifier(String imageIdentifier)
    • imageUrl

      public BookingAncillaryBooker imageUrl(String imageUrl)
    • getImageUrl

      @Nonnull @NotNull public @NotNull String getImageUrl()
      Absolute URL to image of inventory
      Returns:
      imageUrl
    • setImageUrl

      public void setImageUrl(String imageUrl)
    • localizedName

      public BookingAncillaryBooker localizedName(String localizedName)
    • getLocalizedName

      @Nonnull @NotNull public @NotNull String getLocalizedName()
      Name of travel inventory in traveler language (if available). Defaults to English.
      Returns:
      localizedName
    • setLocalizedName

      public void setLocalizedName(String localizedName)
    • localizedDescription

      public BookingAncillaryBooker localizedDescription(String localizedDescription)
    • getLocalizedDescription

      @Nonnull @NotNull public @NotNull String getLocalizedDescription()
      Description of travel inventory in traveler language (if available). Defaults to English.
      Returns:
      localizedDescription
    • setLocalizedDescription

      public void setLocalizedDescription(String localizedDescription)
    • contact

      public BookingAncillaryBooker contact(ContactBooker contact)
    • getContact

      @Nonnull @NotNull @Valid public @NotNull @Valid ContactBooker getContact()
      Get contact
      Returns:
      contact
    • setContact

      public void setContact(ContactBooker contact)
    • address

      public BookingAncillaryBooker address(AddressBooker address)
    • getAddress

      @Nonnull @NotNull @Valid public @NotNull @Valid AddressBooker getAddress()
      Get address
      Returns:
      address
    • setAddress

      public void setAddress(AddressBooker address)
    • commissionable

      public BookingAncillaryBooker commissionable(Boolean commissionable)
    • getCommissionable

      @Nonnull @NotNull public @NotNull Boolean getCommissionable()
      Get commissionable
      Returns:
      commissionable
    • setCommissionable

      public void setCommissionable(Boolean commissionable)
    • commission

      public BookingAncillaryBooker commission(Float commission)
    • getCommission

      @Nonnull @NotNull public @NotNull Float getCommission()
      Get commission
      Returns:
      commission
    • setCommission

      public void setCommission(Float commission)
    • 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