Class BookingAncillarySupplier

java.lang.Object
travel.wink.sdk.extranet.booking.model.BookingAncillarySupplier

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

  • Constructor Details

    • BookingAncillarySupplier

      public BookingAncillarySupplier()
  • Method Details

    • identifier

      public BookingAncillarySupplier 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 BookingAncillarySupplier 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 BookingAncillarySupplier 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 BookingAncillarySupplier 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 BookingAncillarySupplier 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 BookingAncillarySupplier pricingType(@Nonnull BookingAncillarySupplier.PricingTypeEnum pricingType)
    • getPricingType

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

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

    • getType

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

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

      public BookingAncillarySupplier price(@Nonnull LocalizedPriceSupplier price)
    • getPrice

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

      public void setPrice(@Nonnull LocalizedPriceSupplier price)
    • startDate

      public BookingAncillarySupplier 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 BookingAncillarySupplier 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 BookingAncillarySupplier 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 BookingAncillarySupplier 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 BookingAncillarySupplier 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 BookingAncillarySupplier 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 BookingAncillarySupplier 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 BookingAncillarySupplier contact(@Nonnull ContactSupplier contact)
    • getContact

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

      public void setContact(@Nonnull ContactSupplier contact)
    • address

      public BookingAncillarySupplier address(@Nonnull SimpleAddressSupplier address)
    • getAddress

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

      public void setAddress(@Nonnull SimpleAddressSupplier address)
    • commissionable

      public BookingAncillarySupplier commissionable(@Nonnull Boolean commissionable)
    • getCommissionable

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

      public void setCommissionable(@Nonnull Boolean commissionable)
    • mandatory

      public BookingAncillarySupplier mandatory(@Nonnull Boolean mandatory)
    • getMandatory

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

      public void setMandatory(@Nonnull Boolean mandatory)
    • commission

      public BookingAncillarySupplier 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