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-10-18T16:40:11.011495452+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) descriptions(List<SimpleDescriptionDescriptive> descriptions) booleanfee(MoneysDescriptive fee) @NotNull @Valid @Size(min=1,max=2147483647) List<SimpleDescriptionDescriptive>Localized descriptions describing inventory.@NotNull @Valid MoneysDescriptivegetFee()Get fee@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.@NotNull @DecimalMin("0.0") @DecimalMax("1.0") DoubleExpected savings.How this inventory item should be priced.inthashCode()identifier(UUID identifier) multimedias(List<SimpleMultimediaDescriptive> multimedias) percentDiscount(Double percentDiscount) voidsetDescriptions(List<SimpleDescriptionDescriptive> descriptions) voidsetFee(MoneysDescriptive fee) voidsetIdentifier(UUID identifier) voidvoidvoidsetMultimedias(List<SimpleMultimediaDescriptive> multimedias) voidvoidsetPercentDiscount(Double percentDiscount) voidtoString()
-
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_FEE
- See Also:
-
JSON_PROPERTY_PERCENT_DISCOUNT
- 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
-
fee
-
getFee
Get fee- Returns:
- fee
-
setFee
-
percentDiscount
-
getPercentDiscount
@Nonnull @NotNull @DecimalMin("0.0") @DecimalMax("1.0") public @NotNull @DecimalMin("0.0") @DecimalMax("1.0") Double getPercentDiscount()Expected savings. Indicate how much the traveler is [usually] saving by booking it through this payment. Example: 20% discount. minimum: 0.0 maximum: 1.0- Returns:
- percentDiscount
-
setPercentDiscount
-
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
-