Package travel.wink.sdk.affiliate.model
Class DynamicSellerListItemRequestAffiliate
java.lang.Object
travel.wink.sdk.affiliate.model.DynamicSellerListItemRequestAffiliate
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-04-12T17:35:50.971542917+07:00[Asia/Bangkok]")
public class DynamicSellerListItemRequestAffiliate
extends Object
Contains the caller's search criteria.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumGets or Sets inventoryTypesstatic enumFilter on lifestyles -
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 String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCitiesItem(String citiesItem) addContinentsItem(String continentsItem) addCountriesItem(String countriesItem) addInventoryTypesItem(DynamicSellerListItemRequestAffiliate.InventoryTypesEnum inventoryTypesItem) aggregateReviewRating(Integer aggregateReviewRating) continents(List<String> continents) defaultCurrencyCode(String defaultCurrencyCode) booleanFilter on aggregate review score the hotel hasCity filterContinent filterCountry filterControl which currency you want to see prices in.Filter on number of stars the hotel has.Regex expression filter matching on inventory nameFilter on inventory typesFilter on lifestylesgetName()Name of dynamic list for when user want to persist it@Valid GeoJsonPointAffiliateGet nearPointControl how you want the search results sorted.Regex expression filter matching on property name.Use this in conjunction with `nearPoint`.Filter on child-friendly hotelsFilter on direct inventoryFilter on eco-friendly hotelsFilter on pet-friendly hotelsFilter on hotel that has had a certain amount of bookingsinthashCode()hotelStars(Integer hotelStars) inventoryName(String inventoryName) inventoryTypes(List<DynamicSellerListItemRequestAffiliate.InventoryTypesEnum> inventoryTypes) nearPoint(GeoJsonPointAffiliate nearPoint) primaryOrderBy(String primaryOrderBy) propertyName(String propertyName) radiusInMeters(Long radiusInMeters) voidsetAggregateReviewRating(Integer aggregateReviewRating) voidvoidsetContinents(List<String> continents) voidsetCountries(List<String> countries) voidsetDefaultCurrencyCode(String defaultCurrencyCode) voidsetHotelStars(Integer hotelStars) voidsetInventoryName(String inventoryName) voidvoidvoidvoidsetNearPoint(GeoJsonPointAffiliate nearPoint) voidsetPrimaryOrderBy(String primaryOrderBy) voidsetPropertyName(String propertyName) voidsetRadiusInMeters(Long radiusInMeters) voidsetShowChildFriendly(Boolean showChildFriendly) voidsetShowDirectOnly(Boolean showDirectOnly) voidsetShowEcoFriendly(Boolean showEcoFriendly) voidsetShowPetFriendly(Boolean showPetFriendly) voidsetShowPopular(Boolean showPopular) showChildFriendly(Boolean showChildFriendly) showDirectOnly(Boolean showDirectOnly) showEcoFriendly(Boolean showEcoFriendly) showPetFriendly(Boolean showPetFriendly) showPopular(Boolean showPopular) toString()
-
Field Details
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_INVENTORY_NAME
- See Also:
-
JSON_PROPERTY_CONTINENTS
- See Also:
-
JSON_PROPERTY_COUNTRIES
- See Also:
-
JSON_PROPERTY_CITIES
- See Also:
-
JSON_PROPERTY_SHOW_ECO_FRIENDLY
- See Also:
-
JSON_PROPERTY_SHOW_PET_FRIENDLY
- See Also:
-
JSON_PROPERTY_SHOW_CHILD_FRIENDLY
- See Also:
-
JSON_PROPERTY_SHOW_POPULAR
- See Also:
-
JSON_PROPERTY_SHOW_DIRECT_ONLY
- See Also:
-
JSON_PROPERTY_LIFESTYLES
- See Also:
-
JSON_PROPERTY_HOTEL_STARS
- See Also:
-
JSON_PROPERTY_AGGREGATE_REVIEW_RATING
- See Also:
-
JSON_PROPERTY_NEAR_POINT
- See Also:
-
JSON_PROPERTY_RADIUS_IN_METERS
- See Also:
-
JSON_PROPERTY_INVENTORY_TYPES
- See Also:
-
JSON_PROPERTY_DEFAULT_CURRENCY_CODE
- See Also:
-
JSON_PROPERTY_PRIMARY_ORDER_BY
- See Also:
-
-
Constructor Details
-
DynamicSellerListItemRequestAffiliate
public DynamicSellerListItemRequestAffiliate()
-
-
Method Details
-
name
-
getName
Name of dynamic list for when user want to persist it- Returns:
- name
-
setName
-
propertyName
-
getPropertyName
Regex expression filter matching on property name.- Returns:
- propertyName
-
setPropertyName
-
inventoryName
-
getInventoryName
Regex expression filter matching on inventory name- Returns:
- inventoryName
-
setInventoryName
-
continents
-
addContinentsItem
-
getContinents
Continent filter- Returns:
- continents
-
setContinents
-
countries
-
addCountriesItem
-
getCountries
Country filter- Returns:
- countries
-
setCountries
-
cities
-
addCitiesItem
-
getCities
City filter- Returns:
- cities
-
setCities
-
showEcoFriendly
-
getShowEcoFriendly
Filter on eco-friendly hotels- Returns:
- showEcoFriendly
-
setShowEcoFriendly
-
showPetFriendly
-
getShowPetFriendly
Filter on pet-friendly hotels- Returns:
- showPetFriendly
-
setShowPetFriendly
-
showChildFriendly
-
getShowChildFriendly
Filter on child-friendly hotels- Returns:
- showChildFriendly
-
setShowChildFriendly
-
showPopular
-
getShowPopular
Filter on hotel that has had a certain amount of bookings- Returns:
- showPopular
-
setShowPopular
-
showDirectOnly
-
getShowDirectOnly
Filter on direct inventory- Returns:
- showDirectOnly
-
setShowDirectOnly
-
lifestyles
public DynamicSellerListItemRequestAffiliate lifestyles(List<DynamicSellerListItemRequestAffiliate.LifestylesEnum> lifestyles) -
addLifestylesItem
public DynamicSellerListItemRequestAffiliate addLifestylesItem(DynamicSellerListItemRequestAffiliate.LifestylesEnum lifestylesItem) -
getLifestyles
Filter on lifestyles- Returns:
- lifestyles
-
setLifestyles
-
hotelStars
-
getHotelStars
Filter on number of stars the hotel has.- Returns:
- hotelStars
-
setHotelStars
-
aggregateReviewRating
-
getAggregateReviewRating
Filter on aggregate review score the hotel has- Returns:
- aggregateReviewRating
-
setAggregateReviewRating
-
nearPoint
-
getNearPoint
Get nearPoint- Returns:
- nearPoint
-
setNearPoint
-
radiusInMeters
-
getRadiusInMeters
Use this in conjunction with `nearPoint`. Control the distance from point we are searching for.- Returns:
- radiusInMeters
-
setRadiusInMeters
-
inventoryTypes
public DynamicSellerListItemRequestAffiliate inventoryTypes(List<DynamicSellerListItemRequestAffiliate.InventoryTypesEnum> inventoryTypes) -
addInventoryTypesItem
public DynamicSellerListItemRequestAffiliate addInventoryTypesItem(DynamicSellerListItemRequestAffiliate.InventoryTypesEnum inventoryTypesItem) -
getInventoryTypes
Filter on inventory types- Returns:
- inventoryTypes
-
setInventoryTypes
public void setInventoryTypes(List<DynamicSellerListItemRequestAffiliate.InventoryTypesEnum> inventoryTypes) -
defaultCurrencyCode
-
getDefaultCurrencyCode
Control which currency you want to see prices in.- Returns:
- defaultCurrencyCode
-
setDefaultCurrencyCode
-
-
getPrimaryOrderBy
Control how you want the search results sorted. Options are: - 1: Inventory name - 2: Price: High to low - 3: Price: Low to high - 4: Commission: High to low - 5: Commission: Low to high - 6: Discount: High to low - 7: Discount: Low to high- Returns:
- primaryOrderBy
-
setPrimaryOrderBy
-
equals
-
hashCode
public int hashCode() -
toString
-