Class InventoryAuthenticatedEntity
java.lang.Object
travel.wink.sdk.user.settings.model.InventoryAuthenticatedEntity
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-06-26T20:22:15.850489898+07:00[Asia/Bangkok]",
comments="Generator version: 7.13.0")
public class InventoryAuthenticatedEntity
extends Object
InventoryAuthenticatedEntity
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumInventory typestatic enumLevel of expensiveness. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncommissionable(Boolean commissionable) createdDate(LocalDateTime createdDate) boolean@NotNull @Valid InventoryAddressAuthenticatedEntityDefaults to property address.@NotNull BooleanWhether blocking can be booked@NotNull BooleanWhether this is commissionable or notDatetime this record was first created@NotNull BooleanWhether this blocking is enabled or notgetId()Document UUID@NotNull @Size(min=1) StringMain image of blocking@NotNull @Valid @Size(min=1) UUIDInventory type identifier@NotNull @Size(min=1) StringName of blocking as hotel is seeing it@NotNull @Size(min=1) StringName of blocking as traveler is seeing itInventory typeDatetime this record was last updated@NotNull @Valid GeoJsonPointAuthenticatedEntityLocation@Valid CustomMonetaryAmountBest price of the room type or facility ancillary in platform currency@Valid CustomMonetaryAmountBest price of the room type or facility ancillaryLevel of expensiveness.@NotNull Integerquantity@NotNull @Valid SalesChannelLightweightAuthenticatedEntityParent sales channelVersion property that shows how many times this document has been persisted.inthashCode()imageIdentifier(String imageIdentifier) inventoryIdentifier(UUID inventoryIdentifier) inventoryName(String inventoryName) inventoryNameInEnglish(String inventoryNameInEnglish) inventoryType(InventoryAuthenticatedEntity.InventoryTypeEnum inventoryType) lastUpdate(LocalDateTime lastUpdate) location(GeoJsonPointAuthenticatedEntity location) lowestDisplayPrice(CustomMonetaryAmount lowestDisplayPrice) lowestPrice(CustomMonetaryAmount lowestPrice) salesChannel(SalesChannelLightweightAuthenticatedEntity salesChannel) voidvoidsetBookable(Boolean bookable) voidsetCommissionable(Boolean commissionable) voidsetCreatedDate(LocalDateTime createdDate) voidsetEnabled(Boolean enabled) voidvoidsetImageIdentifier(String imageIdentifier) voidsetInventoryIdentifier(UUID inventoryIdentifier) voidsetInventoryName(String inventoryName) voidsetInventoryNameInEnglish(String inventoryNameInEnglish) voidsetInventoryType(InventoryAuthenticatedEntity.InventoryTypeEnum inventoryType) voidsetLastUpdate(LocalDateTime lastUpdate) voidsetLocation(GeoJsonPointAuthenticatedEntity location) voidsetLowestDisplayPrice(CustomMonetaryAmount lowestDisplayPrice) voidsetLowestPrice(CustomMonetaryAmount lowestPrice) voidvoidsetQuantity(Integer quantity) voidsetSalesChannel(SalesChannelLightweightAuthenticatedEntity salesChannel) voidsetVersion(Long version) toString()
-
Field Details
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_CREATED_DATE
- See Also:
-
JSON_PROPERTY_LAST_UPDATE
- See Also:
-
JSON_PROPERTY_VERSION
- See Also:
-
JSON_PROPERTY_SALES_CHANNEL
- See Also:
-
JSON_PROPERTY_INVENTORY_TYPE
- See Also:
-
JSON_PROPERTY_INVENTORY_IDENTIFIER
- See Also:
-
JSON_PROPERTY_INVENTORY_NAME
- See Also:
-
JSON_PROPERTY_INVENTORY_NAME_IN_ENGLISH
- See Also:
-
JSON_PROPERTY_ENABLED
- See Also:
-
JSON_PROPERTY_IMAGE_IDENTIFIER
- See Also:
-
JSON_PROPERTY_PRICE_POINT
- See Also:
-
JSON_PROPERTY_LOCATION
- See Also:
-
JSON_PROPERTY_ADDRESS
- See Also:
-
JSON_PROPERTY_QUANTITY
- See Also:
-
JSON_PROPERTY_COMMISSIONABLE
- See Also:
-
JSON_PROPERTY_BOOKABLE
- See Also:
-
JSON_PROPERTY_LOWEST_PRICE
- See Also:
-
JSON_PROPERTY_LOWEST_DISPLAY_PRICE
- See Also:
-
-
Constructor Details
-
InventoryAuthenticatedEntity
public InventoryAuthenticatedEntity()
-
-
Method Details
-
id
-
getId
-
setId
-
createdDate
-
getCreatedDate
Datetime this record was first created- Returns:
- createdDate
-
setCreatedDate
-
lastUpdate
-
getLastUpdate
Datetime this record was last updated- Returns:
- lastUpdate
-
setLastUpdate
-
version
-
getVersion
Version property that shows how many times this document has been persisted. Document will not persist if the version property is less than current version property in the system. Result in an optimistic locking exception.- Returns:
- version
-
setVersion
-
salesChannel
public InventoryAuthenticatedEntity salesChannel(@Nonnull SalesChannelLightweightAuthenticatedEntity salesChannel) -
getSalesChannel
@Nonnull @NotNull @Valid public @NotNull @Valid SalesChannelLightweightAuthenticatedEntity getSalesChannel()Parent sales channel- Returns:
- salesChannel
-
setSalesChannel
-
inventoryType
public InventoryAuthenticatedEntity inventoryType(@Nonnull InventoryAuthenticatedEntity.InventoryTypeEnum inventoryType) -
getInventoryType
Inventory type- Returns:
- inventoryType
-
setInventoryType
-
inventoryIdentifier
-
getInventoryIdentifier
@Nonnull @NotNull @Valid @Size(min=1) public @NotNull @Valid @Size(min=1) UUID getInventoryIdentifier()Inventory type identifier- Returns:
- inventoryIdentifier
-
setInventoryIdentifier
-
inventoryName
-
getInventoryName
Name of blocking as hotel is seeing it- Returns:
- inventoryName
-
setInventoryName
-
inventoryNameInEnglish
-
getInventoryNameInEnglish
Name of blocking as traveler is seeing it- Returns:
- inventoryNameInEnglish
-
setInventoryNameInEnglish
-
enabled
-
getEnabled
Whether this blocking is enabled or not- Returns:
- enabled
-
setEnabled
-
imageIdentifier
-
getImageIdentifier
Main image of blocking- Returns:
- imageIdentifier
-
setImageIdentifier
-
pricePoint
public InventoryAuthenticatedEntity pricePoint(@Nonnull InventoryAuthenticatedEntity.PricePointEnum pricePoint) -
getPricePoint
Level of expensiveness.- Returns:
- pricePoint
-
setPricePoint
-
location
-
getLocation
Location- Returns:
- location
-
setLocation
-
address
-
getAddress
Defaults to property address.- Returns:
- address
-
setAddress
-
quantity
-
getQuantity
-
setQuantity
-
commissionable
-
getCommissionable
Whether this is commissionable or not- Returns:
- commissionable
-
setCommissionable
-
bookable
-
getBookable
Whether blocking can be booked- Returns:
- bookable
-
setBookable
-
lowestPrice
-
getLowestPrice
Best price of the room type or facility ancillary- Returns:
- lowestPrice
-
setLowestPrice
-
lowestDisplayPrice
public InventoryAuthenticatedEntity lowestDisplayPrice(@Nullable CustomMonetaryAmount lowestDisplayPrice) -
getLowestDisplayPrice
Best price of the room type or facility ancillary in platform currency- Returns:
- lowestDisplayPrice
-
setLowestDisplayPrice
-
equals
-
hashCode
-
toString
-