Package travel.wink.sdk.extranet.model
Class TransactionalTravelInventoryDescriptive
java.lang.Object
travel.wink.sdk.extranet.model.TransactionalTravelInventoryDescriptive
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-11-08T09:36:20.822132243+07:00[Asia/Bangkok]")
public class TransactionalTravelInventoryDescriptive
extends Object
This is one bookable unit 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(SimpleDescriptionDescriptive descriptionsItem) addMultimediasItem(SimpleMultimediaDescriptive multimediasItem) basePrice(MoneysDescriptive basePrice) descriptions(List<SimpleDescriptionDescriptive> descriptions) discountedPrice(MoneysDescriptive discountedPrice) boolean@NotNull @Valid MoneysDescriptiveGet basePrice@NotNull @Valid @Size(min=1,max=2147483647) List<SimpleDescriptionDescriptive>Localized descriptions describing inventory.@NotNull @Valid MoneysDescriptiveGet discountedPrice@NotNull @Valid UUIDUnique transactional identifierWhether there is a limit to maximum group size.Whether there is a limit to minimum group size.@NotNull @Valid List<SimpleMultimediaDescriptive>List of images / videos of item.@NotNull StringgetName()Internal name of transactional inventory.How this inventory item should be priced.inthashCode()identifier(UUID identifier) multimedias(List<SimpleMultimediaDescriptive> multimedias) voidsetBasePrice(MoneysDescriptive basePrice) voidsetDescriptions(List<SimpleDescriptionDescriptive> descriptions) voidsetDiscountedPrice(MoneysDescriptive discountedPrice) voidsetIdentifier(UUID identifier) voidvoidvoidsetMultimedias(List<SimpleMultimediaDescriptive> multimedias) voidvoidtoString()
-
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_BASE_PRICE
- See Also:
-
JSON_PROPERTY_DISCOUNTED_PRICE
- See Also:
-
JSON_PROPERTY_MULTIMEDIAS
- See Also:
-
JSON_PROPERTY_MIN_PAX
- See Also:
-
JSON_PROPERTY_MAX_PAX
- See Also:
-
-
Constructor Details
-
TransactionalTravelInventoryDescriptive
public TransactionalTravelInventoryDescriptive()
-
-
Method Details
-
identifier
-
getIdentifier
Unique transactional identifier- Returns:
- identifier
-
setIdentifier
-
name
-
getName
Internal name of transactional inventory.- Returns:
- name
-
setName
-
descriptions
public TransactionalTravelInventoryDescriptive descriptions(List<SimpleDescriptionDescriptive> descriptions) -
addDescriptionsItem
public TransactionalTravelInventoryDescriptive addDescriptionsItem(SimpleDescriptionDescriptive descriptionsItem) -
getDescriptions
@Nonnull @NotNull @Valid @Size(min=1, max=2147483647) public @NotNull @Valid @Size(min=1,max=2147483647) List<SimpleDescriptionDescriptive> getDescriptions()Localized descriptions describing inventory.- Returns:
- descriptions
-
setDescriptions
-
pricingType
public TransactionalTravelInventoryDescriptive pricingType(TransactionalTravelInventoryDescriptive.PricingTypeEnum pricingType) -
getPricingType
@Nonnull @NotNull public @NotNull TransactionalTravelInventoryDescriptive.PricingTypeEnum getPricingType()How this inventory item should be priced.- Returns:
- pricingType
-
setPricingType
-
basePrice
-
getBasePrice
Get basePrice- Returns:
- basePrice
-
setBasePrice
-
discountedPrice
-
getDiscountedPrice
Get discountedPrice- Returns:
- discountedPrice
-
setDiscountedPrice
-
multimedias
public TransactionalTravelInventoryDescriptive multimedias(List<SimpleMultimediaDescriptive> multimedias) -
addMultimediasItem
public TransactionalTravelInventoryDescriptive addMultimediasItem(SimpleMultimediaDescriptive 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
-
equals
-
hashCode
public int hashCode() -
toString
-