Package travel.wink.sdk.lookup.model
Class LocalizedTransactionalTravelInventoryConsumer
java.lang.Object
travel.wink.sdk.lookup.model.LocalizedTransactionalTravelInventoryConsumer
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-06-13T15:19:06.946924419+07:00[Asia/Bangkok]")
public class LocalizedTransactionalTravelInventoryConsumer
extends Object
This is one localized bookable item that can stand alongside a restaurant / meeting room etc.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumHow this inventory item should be priced. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDescriptionsItem(SimpleDescriptionConsumer descriptionsItem) addMultimediasItem(SimpleMultimediaConsumer multimediasItem) addOfferDetailsItem(LocalizedDescriptionConsumer offerDetailsItem) descriptions(List<SimpleDescriptionConsumer> descriptions) boolean@NotNull @Valid @Size(min=1,max=2147483647) List<SimpleDescriptionConsumer>Localized descriptions describing inventory.@NotNull @Valid UUIDUnique transactional identifierWhether there is a limit to maximum group size.Whether there is a limit to minimum group size.@Valid List<SimpleMultimediaConsumer>List of images / videos of item.@NotNull StringgetName()Internal name of transactional inventory.@Valid List<LocalizedDescriptionConsumer>Localized offer details if rate plan discount applies.@NotNull @Valid LocalizedPriceConsumergetPrice()Get priceHow this inventory item should be priced.If a package is linked to a rate plan the user could be entitled to a promotional discount if she enters a code.inthashCode()identifier(UUID identifier) multimedias(List<SimpleMultimediaConsumer> multimedias) offerDetails(List<LocalizedDescriptionConsumer> offerDetails) price(LocalizedPriceConsumer price) voidsetDescriptions(List<SimpleDescriptionConsumer> descriptions) voidsetIdentifier(UUID identifier) voidvoidvoidsetMultimedias(List<SimpleMultimediaConsumer> multimedias) voidvoidsetOfferDetails(List<LocalizedDescriptionConsumer> offerDetails) voidsetPrice(LocalizedPriceConsumer price) voidvoidsetPromotion(String promotion) toString()
-
Field Details
-
JSON_PROPERTY_IDENTIFIER
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_DESCRIPTIONS
- See Also:
-
JSON_PROPERTY_PRICING_TYPE
- See Also:
-
JSON_PROPERTY_PRICE
- See Also:
-
JSON_PROPERTY_MULTIMEDIAS
- See Also:
-
JSON_PROPERTY_MIN_PAX
- See Also:
-
JSON_PROPERTY_MAX_PAX
- See Also:
-
JSON_PROPERTY_OFFER_DETAILS
- See Also:
-
JSON_PROPERTY_PROMOTION
- See Also:
-
-
Constructor Details
-
LocalizedTransactionalTravelInventoryConsumer
public LocalizedTransactionalTravelInventoryConsumer()
-
-
Method Details
-
identifier
-
getIdentifier
Unique transactional identifier- Returns:
- identifier
-
setIdentifier
-
name
-
getName
Internal name of transactional inventory.- Returns:
- name
-
setName
-
descriptions
public LocalizedTransactionalTravelInventoryConsumer descriptions(List<SimpleDescriptionConsumer> descriptions) -
addDescriptionsItem
public LocalizedTransactionalTravelInventoryConsumer addDescriptionsItem(SimpleDescriptionConsumer descriptionsItem) -
getDescriptions
@Nonnull @NotNull @Valid @Size(min=1, max=2147483647) public @NotNull @Valid @Size(min=1,max=2147483647) List<SimpleDescriptionConsumer> getDescriptions()Localized descriptions describing inventory.- Returns:
- descriptions
-
setDescriptions
-
pricingType
public LocalizedTransactionalTravelInventoryConsumer pricingType(LocalizedTransactionalTravelInventoryConsumer.PricingTypeEnum pricingType) -
getPricingType
@Nonnull @NotNull public @NotNull LocalizedTransactionalTravelInventoryConsumer.PricingTypeEnum getPricingType()How this inventory item should be priced.- Returns:
- pricingType
-
setPricingType
public void setPricingType(LocalizedTransactionalTravelInventoryConsumer.PricingTypeEnum pricingType) -
price
-
getPrice
Get price- Returns:
- price
-
setPrice
-
multimedias
public LocalizedTransactionalTravelInventoryConsumer multimedias(List<SimpleMultimediaConsumer> multimedias) -
addMultimediasItem
public LocalizedTransactionalTravelInventoryConsumer addMultimediasItem(SimpleMultimediaConsumer multimediasItem) -
getMultimedias
List of images / videos of item.- Returns:
- multimedias
-
setMultimedias
-
minPax
-
getMinPax
Whether there is a limit to minimum group size.- Returns:
- minPax
-
setMinPax
-
maxPax
-
getMaxPax
Whether there is a limit to maximum group size.- Returns:
- maxPax
-
setMaxPax
-
offerDetails
public LocalizedTransactionalTravelInventoryConsumer offerDetails(List<LocalizedDescriptionConsumer> offerDetails) -
addOfferDetailsItem
public LocalizedTransactionalTravelInventoryConsumer addOfferDetailsItem(LocalizedDescriptionConsumer offerDetailsItem) -
getOfferDetails
Localized offer details if rate plan discount applies.- Returns:
- offerDetails
-
setOfferDetails
-
promotion
-
getPromotion
If a package is linked to a rate plan the user could be entitled to a promotional discount if she enters a code. When this field is populated, it means the discount was applied to the package.- Returns:
- promotion
-
setPromotion
-
equals
-
hashCode
public int hashCode() -
toString
-