Class CustomizationLightweightSupplier

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

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

  • Constructor Details

    • CustomizationLightweightSupplier

      public CustomizationLightweightSupplier()
  • Method Details

    • identifier

      public CustomizationLightweightSupplier 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 CustomizationLightweightSupplier 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 CustomizationLightweightSupplier 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 CustomizationLightweightSupplier 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 CustomizationLightweightSupplier 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 CustomizationLightweightSupplier.SubTypeEnum getSubType()
      Sales channel sub-type.
      Returns:
      subType
    • setSubType

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

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

    • getDefaultLifestyle

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

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

      public CustomizationLightweightSupplier logos(@Nullable List<@Valid SimpleMultimediaSupplier> logos)
    • addLogosItem

    • getLogos

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

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

      public CustomizationLightweightSupplier 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 CustomizationLightweightSupplier 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 CustomizationLightweightSupplier themeColors(@Nullable CustomizationThemeColorsSupplier themeColors)
    • getThemeColors

      @Nullable @Valid public @Valid CustomizationThemeColorsSupplier 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 CustomizationThemeColorsSupplier themeColors)
    • cardLayout

    • getCardLayout

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

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

    • getLayout

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

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

    • getCardDesign

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

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

      public CustomizationLightweightSupplier 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 CustomizationLightweightSupplier 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 CustomizationLightweightSupplier 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 CustomizationLightweightSupplier 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 CustomizationLightweightSupplier roomConfigurations(@Nullable List<@Valid RoomConfigurationSupplier> roomConfigurations)
    • addRoomConfigurationsItem

      public CustomizationLightweightSupplier addRoomConfigurationsItem(RoomConfigurationSupplier roomConfigurationsItem)
    • getRoomConfigurations

      @Nullable @Valid public @Valid List<@Valid RoomConfigurationSupplier> 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 RoomConfigurationSupplier> roomConfigurations)
    • useDays

      public CustomizationLightweightSupplier 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 CustomizationLightweightSupplier promotionalCodes(@Nullable List<String> promotionalCodes)
    • addPromotionalCodesItem

      public CustomizationLightweightSupplier 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 CustomizationLightweightSupplier 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 CustomizationLightweightSupplier 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 CustomizationLightweightSupplier 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 CustomizationLightweightSupplier wcBookClickAction(@Nullable CustomizationLightweightSupplier.WcBookClickActionEnum wcBookClickAction)
    • getWcBookClickAction

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

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

    • getCity

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

      public void setCity(@Nullable GeoNameLightweightSupplier city)
    • showUnavailableCard

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