Class BookingAncillaryBooker

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

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

  • Constructor Details

    • BookingAncillaryBooker

      public BookingAncillaryBooker()
  • Method Details

    • identifier

      public BookingAncillaryBooker identifier(@Nonnull UUID identifier)
    • getIdentifier

      @Nonnull @NotNull @Valid @Size(min=1) public @NotNull @Valid @Size(min=1) UUID getIdentifier()
      Ancillary identifier
      Returns:
      identifier
    • setIdentifier

      public void setIdentifier(@Nonnull UUID identifier)
    • hotelIdentifier

      public BookingAncillaryBooker hotelIdentifier(@Nonnull UUID hotelIdentifier)
    • getHotelIdentifier

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

      public void setHotelIdentifier(@Nonnull UUID hotelIdentifier)
    • typeIdentifier

      public BookingAncillaryBooker typeIdentifier(@Nonnull UUID typeIdentifier)
    • getTypeIdentifier

      @Nonnull @NotNull @Valid @Size(min=1) public @NotNull @Valid @Size(min=1) UUID getTypeIdentifier()
      Travel blocking identifier
      Returns:
      typeIdentifier
    • setTypeIdentifier

      public void setTypeIdentifier(@Nonnull UUID typeIdentifier)
    • transactionalTravelInventoryIdentifier

      public BookingAncillaryBooker transactionalTravelInventoryIdentifier(@Nonnull UUID transactionalTravelInventoryIdentifier)
    • getTransactionalTravelInventoryIdentifier

      @Nonnull @NotNull @Valid @Size(min=1) public @NotNull @Valid @Size(min=1) UUID getTransactionalTravelInventoryIdentifier()
      Travel blocking identifier
      Returns:
      transactionalTravelInventoryIdentifier
    • setTransactionalTravelInventoryIdentifier

      public void setTransactionalTravelInventoryIdentifier(@Nonnull UUID transactionalTravelInventoryIdentifier)
    • name

      public BookingAncillaryBooker name(@Nonnull String name)
    • getName

      @Nonnull @NotNull @Size(min=1) public @NotNull @Size(min=1) String getName()
      Name of blocking
      Returns:
      name
    • setName

      public void setName(@Nonnull String name)
    • pricingType

      public BookingAncillaryBooker pricingType(@Nonnull BookingAncillaryBooker.PricingTypeEnum pricingType)
    • getPricingType

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

      public void setPricingType(@Nonnull BookingAncillaryBooker.PricingTypeEnum pricingType)
    • type

    • getType

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

      public void setType(@Nonnull BookingAncillaryBooker.TypeEnum type)
    • price

      public BookingAncillaryBooker price(@Nonnull LocalizedPriceBooker price)
    • getPrice

      @Nonnull @NotNull @Valid public @NotNull @Valid LocalizedPriceBooker getPrice()
      Pricing information for this ancillary.
      Returns:
      price
    • setPrice

      public void setPrice(@Nonnull LocalizedPriceBooker price)
    • startDate

      public BookingAncillaryBooker startDate(@Nonnull LocalDateTime startDate)
    • getStartDate

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

      public void setStartDate(@Nonnull LocalDateTime startDate)
    • endDate

      public BookingAncillaryBooker endDate(@Nonnull LocalDateTime endDate)
    • getEndDate

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

      public void setEndDate(@Nonnull LocalDateTime endDate)
    • attendees

      public BookingAncillaryBooker attendees(@Nonnull Integer attendees)
    • getAttendees

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

      public void setAttendees(@Nonnull Integer attendees)
    • imageIdentifier

      public BookingAncillaryBooker imageIdentifier(@Nonnull String imageIdentifier)
    • getImageIdentifier

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

      public void setImageIdentifier(@Nonnull String imageIdentifier)
    • imageUrl

      public BookingAncillaryBooker imageUrl(@Nonnull String imageUrl)
    • getImageUrl

      @Nonnull @NotNull @Size(min=1) public @NotNull @Size(min=1) String getImageUrl()
      Absolute URL to image of blocking
      Returns:
      imageUrl
    • setImageUrl

      public void setImageUrl(@Nonnull String imageUrl)
    • localizedName

      public BookingAncillaryBooker localizedName(@Nonnull String localizedName)
    • getLocalizedName

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

      public void setLocalizedName(@Nonnull String localizedName)
    • localizedDescription

      public BookingAncillaryBooker localizedDescription(@Nonnull String localizedDescription)
    • getLocalizedDescription

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

      public void setLocalizedDescription(@Nonnull String localizedDescription)
    • contact

      public BookingAncillaryBooker contact(@Nonnull ContactBooker contact)
    • getContact

      @Nonnull @NotNull @Valid public @NotNull @Valid ContactBooker getContact()
      Travel blocking contact (if applicable)
      Returns:
      contact
    • setContact

      public void setContact(@Nonnull ContactBooker contact)
    • address

      public BookingAncillaryBooker address(@Nonnull SimpleAddressBooker address)
    • getAddress

      @Nonnull @NotNull @Valid public @NotNull @Valid SimpleAddressBooker getAddress()
      Travel blocking address (if applicable)
      Returns:
      address
    • setAddress

      public void setAddress(@Nonnull SimpleAddressBooker address)
    • commissionable

      public BookingAncillaryBooker commissionable(@Nonnull Boolean commissionable)
    • getCommissionable

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

      public void setCommissionable(@Nonnull Boolean commissionable)
    • mandatory

      public BookingAncillaryBooker mandatory(@Nonnull Boolean mandatory)
    • getMandatory

      @Nonnull @NotNull public @NotNull Boolean getMandatory()
      Get mandatory
      Returns:
      mandatory
    • setMandatory

      public void setMandatory(@Nonnull Boolean mandatory)
    • commission

      public BookingAncillaryBooker commission(@Nonnull Float commission)
    • getCommission

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

      public void setCommission(@Nonnull 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