Package travel.wink.sdk.inventory.model
Class AttractionLocalizedInventoryNonAuthenticatedEntity
java.lang.Object
travel.wink.sdk.inventory.model.AttractionLocalizedInventoryNonAuthenticatedEntity
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-09-15T11:59:38.583609063+07:00[Asia/Bangkok]")
public class AttractionLocalizedInventoryNonAuthenticatedEntity
extends Object
List of property attractions on and off the premises.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattraction(AttractionNonAuthenticatedEntity attraction) channelInventoryIdentifier(UUID channelInventoryIdentifier) commission(Float commission) commissionable(Boolean commissionable) booleanGet attraction@Valid UUIDChannel inventory identifier referencing this record.The commission percentage.Whether this package is commissionable based on the incoming sales channel.@NotNull BooleanIndicates whether the inventory from sales channel is direct or not.getList()Get _listGet priceListinthashCode()voidsetAttraction(AttractionNonAuthenticatedEntity attraction) voidsetChannelInventoryIdentifier(UUID channelInventoryIdentifier) voidsetCommission(Float commission) voidsetCommissionable(Boolean commissionable) voidvoidvoidtoString()
-
Field Details
-
JSON_PROPERTY_ATTRACTION
- See Also:
-
JSON_PROPERTY_LIST
- See Also:
-
JSON_PROPERTY_CHANNEL_INVENTORY_IDENTIFIER
- See Also:
-
JSON_PROPERTY_COMMISSIONABLE
- See Also:
-
JSON_PROPERTY_COMMISSION
- See Also:
-
JSON_PROPERTY_DIRECT
- See Also:
-
JSON_PROPERTY_PRICE_LIST
- See Also:
-
-
Constructor Details
-
AttractionLocalizedInventoryNonAuthenticatedEntity
public AttractionLocalizedInventoryNonAuthenticatedEntity()
-
-
Method Details
-
attraction
public AttractionLocalizedInventoryNonAuthenticatedEntity attraction(AttractionNonAuthenticatedEntity attraction) -
getAttraction
Get attraction- Returns:
- attraction
-
setAttraction
-
_list
-
addListItem
public AttractionLocalizedInventoryNonAuthenticatedEntity addListItem(LocalizedTransactionalTravelInventoryNonAuthenticatedEntity _listItem) -
getList
@Nullable @Valid public @Valid List<LocalizedTransactionalTravelInventoryNonAuthenticatedEntity> getList()Get _list- Returns:
- _list
-
setList
-
channelInventoryIdentifier
public AttractionLocalizedInventoryNonAuthenticatedEntity channelInventoryIdentifier(UUID channelInventoryIdentifier) -
getChannelInventoryIdentifier
Channel inventory identifier referencing this record.- Returns:
- channelInventoryIdentifier
-
setChannelInventoryIdentifier
-
commissionable
-
getCommissionable
Whether this package is commissionable based on the incoming sales channel.- Returns:
- commissionable
-
setCommissionable
-
commission
-
getCommission
-
setCommission
-
direct
-
getDirect
Indicates whether the inventory from sales channel is direct or not. If you are a travel agent doing your own acquiring, this flag has to be true to make a booking.- Returns:
- direct
-
setDirect
-
priceList
public AttractionLocalizedInventoryNonAuthenticatedEntity priceList(List<LocalizedTransactionalTravelInventoryNonAuthenticatedEntity> priceList) -
addPriceListItem
public AttractionLocalizedInventoryNonAuthenticatedEntity addPriceListItem(LocalizedTransactionalTravelInventoryNonAuthenticatedEntity priceListItem) -
getPriceList
@Nullable @Valid public @Valid List<LocalizedTransactionalTravelInventoryNonAuthenticatedEntity> getPriceList()Get priceList- Returns:
- priceList
-
setPriceList
public void setPriceList(List<LocalizedTransactionalTravelInventoryNonAuthenticatedEntity> priceList) -
equals
-
hashCode
-
toString
-