Package travel.wink.sdk.affiliate.model
Class TransactionalTravelInventory
java.lang.Object
travel.wink.sdk.affiliate.model.TransactionalTravelInventory
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-10-18T16:39:06.144766291+07:00[Asia/Bangkok]")
public class TransactionalTravelInventory
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(SimpleDescription descriptionsItem) addMultimediasItem(SimpleMultimedia multimediasItem) descriptions(List<SimpleDescription> descriptions) boolean@NotNull @Valid @Size(min=1,max=2147483647) List<SimpleDescription>Localized descriptions describing inventory.@NotNull @Valid MoneysgetFee()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<SimpleMultimedia>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<SimpleMultimedia> multimedias) percentDiscount(Double percentDiscount) pricingType(TransactionalTravelInventory.PricingTypeEnum pricingType) voidsetDescriptions(List<SimpleDescription> descriptions) voidvoidsetIdentifier(UUID identifier) voidvoidvoidsetMultimedias(List<SimpleMultimedia> 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
-
TransactionalTravelInventory
public TransactionalTravelInventory()
-
-
Method Details
-
identifier
-
getIdentifier
Unique transactional identifier- Returns:
- identifier
-
setIdentifier
-
name
-
getName
Internal name of transactional inventory.- Returns:
- name
-
setName
-
descriptions
-
addDescriptionsItem
-
getDescriptions
@Nonnull @NotNull @Valid @Size(min=1, max=2147483647) public @NotNull @Valid @Size(min=1,max=2147483647) List<SimpleDescription> getDescriptions()Localized descriptions describing inventory.- Returns:
- descriptions
-
setDescriptions
-
pricingType
public TransactionalTravelInventory pricingType(TransactionalTravelInventory.PricingTypeEnum pricingType) -
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
-
addMultimediasItem
-
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
-