Class CustomizationLightweightBooker

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

@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 CustomizationLightweightBooker extends Object
CustomizationLightweightBooker
  • Field Details

  • Constructor Details

    • CustomizationLightweightBooker

      public CustomizationLightweightBooker()
  • Method Details

    • identifier

      public CustomizationLightweightBooker identifier(@Nonnull UUID identifier)
    • getIdentifier

      @Nonnull @NotNull @Valid public @NotNull @Valid UUID getIdentifier()
      Unique customization configuration identifier
      Returns:
      identifier
    • setIdentifier

      public void setIdentifier(@Nonnull UUID identifier)
    • name

      public CustomizationLightweightBooker name(@Nonnull String name)
    • getName

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

      public void setName(@Nonnull String name)
    • userIdentifier

      public CustomizationLightweightBooker userIdentifier(@Nonnull UUID userIdentifier)
    • getUserIdentifier

      @Nonnull @NotNull @Valid public @NotNull @Valid UUID getUserIdentifier()
      Authenticated user identifier
      Returns:
      userIdentifier
    • setUserIdentifier

      public void setUserIdentifier(@Nonnull UUID userIdentifier)
    • ownerIdentifier

      public CustomizationLightweightBooker ownerIdentifier(@Nonnull UUID ownerIdentifier)
    • getOwnerIdentifier

      @Nonnull @NotNull @Valid public @NotNull @Valid UUID getOwnerIdentifier()
      Engine configuration record creator identifier
      Returns:
      ownerIdentifier
    • setOwnerIdentifier

      public void setOwnerIdentifier(@Nonnull UUID ownerIdentifier)
    • ownerName

      public CustomizationLightweightBooker ownerName(@Nonnull String ownerName)
    • getOwnerName

      @Nonnull @NotNull public @NotNull String getOwnerName()
      Name of company owner.
      Returns:
      ownerName
    • setOwnerName

      public void setOwnerName(@Nonnull String ownerName)
    • subType

    • getSubType

      @Nonnull @NotNull public @NotNull CustomizationLightweightBooker.SubTypeEnum getSubType()
      Sales channel sub-type.
      Returns:
      subType
    • setSubType

      public void setSubType(@Nonnull CustomizationLightweightBooker.SubTypeEnum subType)
    • defaultCurrency

      public CustomizationLightweightBooker defaultCurrency(@Nullable String defaultCurrency)
    • getDefaultCurrency

      @Nullable public String getDefaultCurrency()
      Control which currency your users see prices in initially.
      Returns:
      defaultCurrency
    • setDefaultCurrency

      public void setDefaultCurrency(@Nullable String defaultCurrency)
    • defaultLanguage

      public CustomizationLightweightBooker defaultLanguage(@Nullable String defaultLanguage)
    • getDefaultLanguage

      @Nullable public String getDefaultLanguage()
      Control which language your users see text in initially.
      Returns:
      defaultLanguage
    • setDefaultLanguage

      public void setDefaultLanguage(@Nullable String defaultLanguage)
    • defaultLifestyle

      public CustomizationLightweightBooker defaultLifestyle(@Nullable CustomizationLightweightBooker.DefaultLifestyleEnum defaultLifestyle)
    • getDefaultLifestyle

      @Nullable public CustomizationLightweightBooker.DefaultLifestyleEnum getDefaultLifestyle()
      Control which lifestyle contextx your users see initially.
      Returns:
      defaultLifestyle
    • setDefaultLifestyle

      public void setDefaultLifestyle(@Nullable CustomizationLightweightBooker.DefaultLifestyleEnum defaultLifestyle)
    • logos

      public CustomizationLightweightBooker logos(@Nullable List<@Valid SimpleMultimediaBooker> logos)
    • addLogosItem

      public CustomizationLightweightBooker addLogosItem(SimpleMultimediaBooker logosItem)
    • getLogos

      @Nullable @Valid public @Valid List<@Valid SimpleMultimediaBooker> getLogos()
      Customize booking confirmation emails by adding a custom logo to your configuration.
      Returns:
      logos
    • setLogos

      public void setLogos(@Nullable List<@Valid SimpleMultimediaBooker> logos)
    • hostedBookingEngineUrl

      public CustomizationLightweightBooker hostedBookingEngineUrl(@Nullable String hostedBookingEngineUrl)
    • getHostedBookingEngineUrl

      @Nullable public String getHostedBookingEngineUrl()
      If you are self-hosting our booking customization, let us know where it is hosted. Note: This url needs to be secured with SSL.
      Returns:
      hostedBookingEngineUrl
    • setHostedBookingEngineUrl

      public void setHostedBookingEngineUrl(@Nullable String hostedBookingEngineUrl)
    • selfHosted

      public CustomizationLightweightBooker selfHosted(@Nullable Boolean selfHosted)
    • getSelfHosted

      @Nullable public Boolean getSelfHosted()
      Flag to indicate you are self-hosting our booking customization and not using our default booking customization url.
      Returns:
      selfHosted
    • setSelfHosted

      public void setSelfHosted(@Nullable Boolean selfHosted)
    • themeColors

      public CustomizationLightweightBooker themeColors(@Nullable CustomizationThemeColorsBooker themeColors)
    • getThemeColors

      @Nullable @Valid public @Valid CustomizationThemeColorsBooker getThemeColors()
      Choose how you want our web components to look and more closely match with your own site style.
      Returns:
      themeColors
    • setThemeColors

      public void setThemeColors(@Nullable CustomizationThemeColorsBooker themeColors)
    • cardLayout

    • getCardLayout

      @Nullable public CustomizationLightweightBooker.CardLayoutEnum getCardLayout()
      Choose how you large you want our web component cards to be.
      Returns:
      cardLayout
    • setCardLayout

      public void setCardLayout(@Nullable CustomizationLightweightBooker.CardLayoutEnum cardLayout)
    • layout

    • getLayout

      @Nullable public CustomizationLightweightBooker.LayoutEnum getLayout()
      Choose how you want our web component cards laid out.
      Returns:
      layout
    • setLayout

      public void setLayout(@Nullable CustomizationLightweightBooker.LayoutEnum layout)
    • cardDesign

    • getCardDesign

      @Nullable public CustomizationLightweightBooker.CardDesignEnum getCardDesign()
      Choose the card design to use on our web component cards.
      Returns:
      cardDesign
    • setCardDesign

      public void setCardDesign(@Nullable CustomizationLightweightBooker.CardDesignEnum cardDesign)
    • numberOfAdvanceDays

      public CustomizationLightweightBooker numberOfAdvanceDays(@Nullable Integer numberOfAdvanceDays)
    • getNumberOfAdvanceDays

      @Nullable public Integer getNumberOfAdvanceDays()
      You can control the initial itinerary date used to retrieve travel blocking prices. You can do it in one of two ways: 1. Dynamically set the date by indicating how long and how many days in advance (this field), of today's date, you want to display prices for. 2. Set a fixed date to display prices for. Option 1 is the most shared. Option 2 is for when you want to create a new customization and apply it to a specific event that occurs on a specific date. If you don't use either of these options, the itinerary will default to today's date with one night stay. ONLY populate this field if you want to control the itinerary date. Also, leave `startDate` and `endDate` empty.
      Returns:
      numberOfAdvanceDays
    • setNumberOfAdvanceDays

      public void setNumberOfAdvanceDays(@Nullable Integer numberOfAdvanceDays)
    • numberOfStayDays

      public CustomizationLightweightBooker numberOfStayDays(@Nullable Integer numberOfStayDays)
    • getNumberOfStayDays

      @Nullable public Integer getNumberOfStayDays()
      You can control the initial itinerary date used to retrieve travel blocking prices. You can do it in one of two ways: 1. Dynamically set the date by indicating how long (this field) and how many days in advance, of today's date, you want to display prices for. 2. Set a fixed date to display prices for. Option 1 is the most shared. Option 2 is for when you want to create a new customization and apply it to a specific event that occurs on a specific date. If you don't use either of these options, the itinerary will default to today's date with one night stay. ONLY populate this field if you want to control the itinerary date. Also, leave `startDate` and `endDate` empty.
      Returns:
      numberOfStayDays
    • setNumberOfStayDays

      public void setNumberOfStayDays(@Nullable Integer numberOfStayDays)
    • startDate

      public CustomizationLightweightBooker startDate(@Nullable LocalDate startDate)
    • getStartDate

      @Nullable @Valid public @Valid LocalDate getStartDate()
      Set a fixed itinerary start date. ONLY populate this field if you want to fix the itinerary date. Also, leave `numberOfAdvanceDays` and `numberOfStayDays` empty.
      Returns:
      startDate
    • setStartDate

      public void setStartDate(@Nullable LocalDate startDate)
    • endDate

      public CustomizationLightweightBooker endDate(@Nullable LocalDate endDate)
    • getEndDate

      @Nullable @Valid public @Valid LocalDate getEndDate()
      Set a fixed itinerary end date ONLY populate this field if you want to fix the itinerary date. Also, leave `numberOfAdvanceDays` and `numberOfStayDays` empty.
      Returns:
      endDate
    • setEndDate

      public void setEndDate(@Nullable LocalDate endDate)
    • roomConfigurations

      public CustomizationLightweightBooker roomConfigurations(@Nullable List<@Valid RoomConfigurationBooker> roomConfigurations)
    • addRoomConfigurationsItem

      public CustomizationLightweightBooker addRoomConfigurationsItem(RoomConfigurationBooker roomConfigurationsItem)
    • getRoomConfigurations

      @Nullable @Valid public @Valid List<@Valid RoomConfigurationBooker> getRoomConfigurations()
      Control how many adults / children will be staying and how many rooms. Defaults to: One room, two adults.
      Returns:
      roomConfigurations
    • setRoomConfigurations

      public void setRoomConfigurations(@Nullable List<@Valid RoomConfigurationBooker> roomConfigurations)
    • useDays

      public CustomizationLightweightBooker useDays(@Nullable Boolean useDays)
    • getUseDays

      @Nullable public Boolean getUseDays()
      if true, we use numberOfAdvanceDays / numberOfStayDays properties - false, we use startDate / endDate
      Returns:
      useDays
    • setUseDays

      public void setUseDays(@Nullable Boolean useDays)
    • promotionalCodes

      public CustomizationLightweightBooker promotionalCodes(@Nullable List<String> promotionalCodes)
    • addPromotionalCodesItem

      public CustomizationLightweightBooker addPromotionalCodesItem(String promotionalCodesItem)
    • getPromotionalCodes

      @Nullable public List<String> getPromotionalCodes()
      If you've received special promotional codes from suppliers to give to your audience, you can choose to bake these code directly into the price by entering them here.
      Returns:
      promotionalCodes
    • setPromotionalCodes

      public void setPromotionalCodes(@Nullable List<String> promotionalCodes)
    • sendBookingNotificationEmailsToProperty

      public CustomizationLightweightBooker sendBookingNotificationEmailsToProperty(@Nullable Boolean sendBookingNotificationEmailsToProperty)
    • getSendBookingNotificationEmailsToProperty

      @Nullable public Boolean getSendBookingNotificationEmailsToProperty()
      An integrator can choose to disable outgoing emails to properties because they want to do that themselves.
      Returns:
      sendBookingNotificationEmailsToProperty
    • setSendBookingNotificationEmailsToProperty

      public void setSendBookingNotificationEmailsToProperty(@Nullable Boolean sendBookingNotificationEmailsToProperty)
    • sendBookingNotificationEmailsToBooker

      public CustomizationLightweightBooker sendBookingNotificationEmailsToBooker(@Nullable Boolean sendBookingNotificationEmailsToBooker)
    • getSendBookingNotificationEmailsToBooker

      @Nullable public Boolean getSendBookingNotificationEmailsToBooker()
      An integrator can choose to disable outgoing emails to users because they want to do that themselves.
      Returns:
      sendBookingNotificationEmailsToBooker
    • setSendBookingNotificationEmailsToBooker

      public void setSendBookingNotificationEmailsToBooker(@Nullable Boolean sendBookingNotificationEmailsToBooker)
    • sendBookingNotificationEmailsToChannelManager

      public CustomizationLightweightBooker sendBookingNotificationEmailsToChannelManager(@Nullable Boolean sendBookingNotificationEmailsToChannelManager)
    • getSendBookingNotificationEmailsToChannelManager

      @Nullable public Boolean getSendBookingNotificationEmailsToChannelManager()
      An integrator can choose to disable notifying the property's channel manager. Note: This should ONLY be done for testing.
      Returns:
      sendBookingNotificationEmailsToChannelManager
    • setSendBookingNotificationEmailsToChannelManager

      public void setSendBookingNotificationEmailsToChannelManager(@Nullable Boolean sendBookingNotificationEmailsToChannelManager)
    • wcBookClickAction

      public CustomizationLightweightBooker wcBookClickAction(@Nullable CustomizationLightweightBooker.WcBookClickActionEnum wcBookClickAction)
    • getWcBookClickAction

      @Nullable public CustomizationLightweightBooker.WcBookClickActionEnum getWcBookClickAction()
      Action to complete once a user clicks on the CTA button on blocking.
      Returns:
      wcBookClickAction
    • setWcBookClickAction

      public void setWcBookClickAction(@Nullable CustomizationLightweightBooker.WcBookClickActionEnum wcBookClickAction)
    • city

    • getCity

      @Nullable @Valid public @Valid GeoNameLightweightBooker getCity()
      Get city
      Returns:
      city
    • setCity

      public void setCity(@Nullable GeoNameLightweightBooker city)
    • showUnavailableCard

      public CustomizationLightweightBooker showUnavailableCard(@Nullable Boolean showUnavailableCard)
    • getShowUnavailableCard

      @Nullable public Boolean getShowUnavailableCard()
      Show unavailable blocking card when blocking not currently for sale. Otherwise, it displays a normal card but without the price.
      Returns:
      showUnavailableCard
    • setShowUnavailableCard

      public void setShowUnavailableCard(@Nullable Boolean showUnavailableCard)
    • showRankings

      public CustomizationLightweightBooker showRankings(@Nullable Boolean showRankings)
    • getShowRankings

      @Nullable public Boolean getShowRankings()
      Whether to display rankings (lifestyle, eco score and reviews) on hotel landing page.
      Returns:
      showRankings
    • setShowRankings

      public void setShowRankings(@Nullable Boolean showRankings)
    • showSearch

      public CustomizationLightweightBooker showSearch(@Nullable Boolean showSearch)
    • getShowSearch

      @Nullable public Boolean getShowSearch()
      This feature flag controls whether to let a user move away from the hotel landing page using search.
      Returns:
      showSearch
    • setShowSearch

      public void setShowSearch(@Nullable Boolean showSearch)
    • 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