Class CustomizationLightweightSupplierDetails
java.lang.Object
travel.wink.sdk.extranet.booking.model.CustomizationLightweightSupplierDetails
@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 CustomizationLightweightSupplierDetails
extends Object
CustomizationLightweightSupplierDetails
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumChoose the card design to use on our web component cards.static enumChoose how you large you want our web component cards to be.static enumControl which lifestyle contextx your users see initially.static enumChoose how you want our web component cards laid out.static enumSales channel sub-type.static enumAction to complete once a user clicks on the CTA button on blocking. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddLogosItem(SimpleMultimediaSupplierDetails logosItem) addPromotionalCodesItem(String promotionalCodesItem) addRoomConfigurationsItem(RoomConfigurationSupplierDetails roomConfigurationsItem) defaultCurrency(String defaultCurrency) defaultLanguage(String defaultLanguage) defaultLifestyle(CustomizationLightweightSupplierDetails.DefaultLifestyleEnum defaultLifestyle) booleanChoose the card design to use on our web component cards.Choose how you large you want our web component cards to be.getCity()Get cityControl which currency your users see prices in initially.Control which language your users see text in initially.Control which lifestyle contextx your users see initially.@Valid LocalDateSet a fixed itinerary end date ONLY populate this field if you want to fix the itinerary date.If you are self-hosting our booking customization, let us know where it is hosted.@NotNull @Valid UUIDUnique customization configuration identifierChoose how you want our web component cards laid out.@Valid List<@Valid SimpleMultimediaSupplierDetails> getLogos()Customize booking confirmation emails by adding a custom logo to your configuration.@NotNull @Size(min=1) StringgetName()Engine configuration nameYou can control the initial itinerary date used to retrieve travel blocking prices.You can control the initial itinerary date used to retrieve travel blocking prices.@NotNull @Valid UUIDEngine configuration record creator identifier@NotNull StringName of company owner.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.@Valid List<@Valid RoomConfigurationSupplierDetails> Control how many adults / children will be staying and how many rooms.Flag to indicate you are self-hosting our booking customization and not using our default booking customization url.An integrator can choose to disable outgoing emails to users because they want to do that themselves.An integrator can choose to disable notifying the property's channel manager.An integrator can choose to disable outgoing emails to properties because they want to do that themselves.Whether to display rankings (lifestyle, eco score and reviews) on hotel landing page.This feature flag controls whether to let a user move away from the hotel landing page using search.Show unavailable blocking card when blocking not currently for sale.@Valid LocalDateSet a fixed itinerary start date.Sales channel sub-type.Choose how you want our web components to look and more closely match with your own site style.if true, we use numberOfAdvanceDays / numberOfStayDays properties - false, we use startDate / endDate@NotNull @Valid UUIDAuthenticated user identifierAction to complete once a user clicks on the CTA button on blocking.inthashCode()hostedBookingEngineUrl(String hostedBookingEngineUrl) identifier(UUID identifier) logos(List<@Valid SimpleMultimediaSupplierDetails> logos) numberOfAdvanceDays(Integer numberOfAdvanceDays) numberOfStayDays(Integer numberOfStayDays) ownerIdentifier(UUID ownerIdentifier) promotionalCodes(List<String> promotionalCodes) roomConfigurations(List<@Valid RoomConfigurationSupplierDetails> roomConfigurations) selfHosted(Boolean selfHosted) sendBookingNotificationEmailsToBooker(Boolean sendBookingNotificationEmailsToBooker) sendBookingNotificationEmailsToChannelManager(Boolean sendBookingNotificationEmailsToChannelManager) sendBookingNotificationEmailsToProperty(Boolean sendBookingNotificationEmailsToProperty) voidvoidvoidvoidsetDefaultCurrency(String defaultCurrency) voidsetDefaultLanguage(String defaultLanguage) voidvoidsetEndDate(LocalDate endDate) voidsetHostedBookingEngineUrl(String hostedBookingEngineUrl) voidsetIdentifier(UUID identifier) voidvoidsetLogos(List<@Valid SimpleMultimediaSupplierDetails> logos) voidvoidsetNumberOfAdvanceDays(Integer numberOfAdvanceDays) voidsetNumberOfStayDays(Integer numberOfStayDays) voidsetOwnerIdentifier(UUID ownerIdentifier) voidsetOwnerName(String ownerName) voidsetPromotionalCodes(List<String> promotionalCodes) voidsetRoomConfigurations(List<@Valid RoomConfigurationSupplierDetails> roomConfigurations) voidsetSelfHosted(Boolean selfHosted) voidsetSendBookingNotificationEmailsToBooker(Boolean sendBookingNotificationEmailsToBooker) voidsetSendBookingNotificationEmailsToChannelManager(Boolean sendBookingNotificationEmailsToChannelManager) voidsetSendBookingNotificationEmailsToProperty(Boolean sendBookingNotificationEmailsToProperty) voidsetShowRankings(Boolean showRankings) voidsetShowSearch(Boolean showSearch) voidsetShowUnavailableCard(Boolean showUnavailableCard) voidsetStartDate(LocalDate startDate) voidvoidsetThemeColors(CustomizationThemeColorsSupplierDetails themeColors) voidsetUseDays(Boolean useDays) voidsetUserIdentifier(UUID userIdentifier) voidsetWcBookClickAction(CustomizationLightweightSupplierDetails.WcBookClickActionEnum wcBookClickAction) showRankings(Boolean showRankings) showSearch(Boolean showSearch) showUnavailableCard(Boolean showUnavailableCard) themeColors(CustomizationThemeColorsSupplierDetails themeColors) toString()userIdentifier(UUID userIdentifier) wcBookClickAction(CustomizationLightweightSupplierDetails.WcBookClickActionEnum wcBookClickAction)
-
Field Details
-
JSON_PROPERTY_IDENTIFIER
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_USER_IDENTIFIER
- See Also:
-
JSON_PROPERTY_OWNER_IDENTIFIER
- See Also:
-
JSON_PROPERTY_OWNER_NAME
- See Also:
-
JSON_PROPERTY_SUB_TYPE
- See Also:
-
JSON_PROPERTY_DEFAULT_CURRENCY
- See Also:
-
JSON_PROPERTY_DEFAULT_LANGUAGE
- See Also:
-
JSON_PROPERTY_DEFAULT_LIFESTYLE
- See Also:
-
JSON_PROPERTY_LOGOS
- See Also:
-
JSON_PROPERTY_HOSTED_BOOKING_ENGINE_URL
- See Also:
-
JSON_PROPERTY_SELF_HOSTED
- See Also:
-
JSON_PROPERTY_THEME_COLORS
- See Also:
-
JSON_PROPERTY_CARD_LAYOUT
- See Also:
-
JSON_PROPERTY_LAYOUT
- See Also:
-
JSON_PROPERTY_CARD_DESIGN
- See Also:
-
JSON_PROPERTY_NUMBER_OF_ADVANCE_DAYS
- See Also:
-
JSON_PROPERTY_NUMBER_OF_STAY_DAYS
- See Also:
-
JSON_PROPERTY_START_DATE
- See Also:
-
JSON_PROPERTY_END_DATE
- See Also:
-
JSON_PROPERTY_ROOM_CONFIGURATIONS
- See Also:
-
JSON_PROPERTY_USE_DAYS
- See Also:
-
JSON_PROPERTY_PROMOTIONAL_CODES
- See Also:
-
JSON_PROPERTY_SEND_BOOKING_NOTIFICATION_EMAILS_TO_PROPERTY
- See Also:
-
JSON_PROPERTY_SEND_BOOKING_NOTIFICATION_EMAILS_TO_BOOKER
- See Also:
-
JSON_PROPERTY_SEND_BOOKING_NOTIFICATION_EMAILS_TO_CHANNEL_MANAGER
- See Also:
-
JSON_PROPERTY_WC_BOOK_CLICK_ACTION
- See Also:
-
JSON_PROPERTY_CITY
- See Also:
-
JSON_PROPERTY_SHOW_UNAVAILABLE_CARD
- See Also:
-
JSON_PROPERTY_SHOW_RANKINGS
- See Also:
-
JSON_PROPERTY_SHOW_SEARCH
- See Also:
-
-
Constructor Details
-
CustomizationLightweightSupplierDetails
public CustomizationLightweightSupplierDetails()
-
-
Method Details
-
identifier
-
getIdentifier
Unique customization configuration identifier- Returns:
- identifier
-
setIdentifier
-
name
-
getName
Engine configuration name- Returns:
- name
-
setName
-
userIdentifier
-
getUserIdentifier
Authenticated user identifier- Returns:
- userIdentifier
-
setUserIdentifier
-
ownerIdentifier
-
getOwnerIdentifier
Engine configuration record creator identifier- Returns:
- ownerIdentifier
-
setOwnerIdentifier
-
ownerName
-
getOwnerName
-
setOwnerName
-
subType
public CustomizationLightweightSupplierDetails subType(@Nonnull CustomizationLightweightSupplierDetails.SubTypeEnum subType) -
getSubType
Sales channel sub-type.- Returns:
- subType
-
setSubType
-
defaultCurrency
-
getDefaultCurrency
Control which currency your users see prices in initially.- Returns:
- defaultCurrency
-
setDefaultCurrency
-
defaultLanguage
-
getDefaultLanguage
Control which language your users see text in initially.- Returns:
- defaultLanguage
-
setDefaultLanguage
-
defaultLifestyle
public CustomizationLightweightSupplierDetails defaultLifestyle(@Nullable CustomizationLightweightSupplierDetails.DefaultLifestyleEnum defaultLifestyle) -
getDefaultLifestyle
Control which lifestyle contextx your users see initially.- Returns:
- defaultLifestyle
-
setDefaultLifestyle
public void setDefaultLifestyle(@Nullable CustomizationLightweightSupplierDetails.DefaultLifestyleEnum defaultLifestyle) -
logos
public CustomizationLightweightSupplierDetails logos(@Nullable List<@Valid SimpleMultimediaSupplierDetails> logos) -
addLogosItem
public CustomizationLightweightSupplierDetails addLogosItem(SimpleMultimediaSupplierDetails logosItem) -
getLogos
Customize booking confirmation emails by adding a custom logo to your configuration.- Returns:
- logos
-
setLogos
-
hostedBookingEngineUrl
public CustomizationLightweightSupplierDetails hostedBookingEngineUrl(@Nullable String hostedBookingEngineUrl) -
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
-
selfHosted
-
getSelfHosted
Flag to indicate you are self-hosting our booking customization and not using our default booking customization url.- Returns:
- selfHosted
-
setSelfHosted
-
themeColors
public CustomizationLightweightSupplierDetails themeColors(@Nullable CustomizationThemeColorsSupplierDetails themeColors) -
getThemeColors
Choose how you want our web components to look and more closely match with your own site style.- Returns:
- themeColors
-
setThemeColors
-
cardLayout
public CustomizationLightweightSupplierDetails cardLayout(@Nullable CustomizationLightweightSupplierDetails.CardLayoutEnum cardLayout) -
getCardLayout
Choose how you large you want our web component cards to be.- Returns:
- cardLayout
-
setCardLayout
public void setCardLayout(@Nullable CustomizationLightweightSupplierDetails.CardLayoutEnum cardLayout) -
layout
public CustomizationLightweightSupplierDetails layout(@Nullable CustomizationLightweightSupplierDetails.LayoutEnum layout) -
getLayout
Choose how you want our web component cards laid out.- Returns:
- layout
-
setLayout
-
cardDesign
public CustomizationLightweightSupplierDetails cardDesign(@Nullable CustomizationLightweightSupplierDetails.CardDesignEnum cardDesign) -
getCardDesign
Choose the card design to use on our web component cards.- Returns:
- cardDesign
-
setCardDesign
public void setCardDesign(@Nullable CustomizationLightweightSupplierDetails.CardDesignEnum cardDesign) -
numberOfAdvanceDays
public CustomizationLightweightSupplierDetails numberOfAdvanceDays(@Nullable Integer numberOfAdvanceDays) -
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
-
numberOfStayDays
-
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
-
startDate
-
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
-
endDate
-
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
-
roomConfigurations
public CustomizationLightweightSupplierDetails roomConfigurations(@Nullable List<@Valid RoomConfigurationSupplierDetails> roomConfigurations) -
addRoomConfigurationsItem
public CustomizationLightweightSupplierDetails addRoomConfigurationsItem(RoomConfigurationSupplierDetails roomConfigurationsItem) -
getRoomConfigurations
@Nullable @Valid public @Valid List<@Valid RoomConfigurationSupplierDetails> 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 RoomConfigurationSupplierDetails> roomConfigurations) -
useDays
-
getUseDays
if true, we use numberOfAdvanceDays / numberOfStayDays properties - false, we use startDate / endDate- Returns:
- useDays
-
setUseDays
-
promotionalCodes
public CustomizationLightweightSupplierDetails promotionalCodes(@Nullable List<String> promotionalCodes) -
addPromotionalCodesItem
-
getPromotionalCodes
-
setPromotionalCodes
-
sendBookingNotificationEmailsToProperty
public CustomizationLightweightSupplierDetails sendBookingNotificationEmailsToProperty(@Nullable Boolean sendBookingNotificationEmailsToProperty) -
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 CustomizationLightweightSupplierDetails sendBookingNotificationEmailsToBooker(@Nullable Boolean sendBookingNotificationEmailsToBooker) -
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 CustomizationLightweightSupplierDetails sendBookingNotificationEmailsToChannelManager(@Nullable Boolean sendBookingNotificationEmailsToChannelManager) -
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 CustomizationLightweightSupplierDetails wcBookClickAction(@Nullable CustomizationLightweightSupplierDetails.WcBookClickActionEnum wcBookClickAction) -
getWcBookClickAction
@Nullable public CustomizationLightweightSupplierDetails.WcBookClickActionEnum getWcBookClickAction()Action to complete once a user clicks on the CTA button on blocking.- Returns:
- wcBookClickAction
-
setWcBookClickAction
public void setWcBookClickAction(@Nullable CustomizationLightweightSupplierDetails.WcBookClickActionEnum wcBookClickAction) -
city
public CustomizationLightweightSupplierDetails city(@Nullable GeoNameLightweightSupplierDetails city) -
getCity
-
setCity
-
showRankings
-
getShowRankings
Whether to display rankings (lifestyle, eco score and reviews) on hotel landing page.- Returns:
- showRankings
-
setShowRankings
-
showSearch
-
getShowSearch
This feature flag controls whether to let a user move away from the hotel landing page using search.- Returns:
- showSearch
-
setShowSearch
-
equals
-
hashCode
-
toString
-