Class InventoryAggregateLightweightAffiliate
java.lang.Object
travel.wink.sdk.affiliate.browse.model.InventoryAggregateLightweightAffiliate
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-06-26T20:15:43.926055890+07:00[Asia/Bangkok]",
comments="Generator version: 7.13.0")
public class InventoryAggregateLightweightAffiliate
extends Object
InventoryAggregateLightweightAffiliate
-
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 Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddress(InventoryAddressAffiliate address) commissionable(Boolean commissionable) createdDate(LocalDateTime createdDate) boolean@NotNull @Valid InventoryAddressAffiliateDefaults 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 notgetHotel()Linked hotelgetId()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 GeoJsonPointAffiliateLocation@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 SalesChannelLightweightAffiliateParent 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) lastUpdate(LocalDateTime lastUpdate) location(GeoJsonPointAffiliate location) lowestDisplayPrice(CustomMonetaryAmount lowestDisplayPrice) lowestPrice(CustomMonetaryAmount lowestPrice) salesChannel(SalesChannelLightweightAffiliate salesChannel) voidsetAddress(InventoryAddressAffiliate address) voidsetBookable(Boolean bookable) voidsetCommissionable(Boolean commissionable) voidsetCreatedDate(LocalDateTime createdDate) voidsetEnabled(Boolean enabled) voidvoidvoidsetImageIdentifier(String imageIdentifier) voidsetInventoryIdentifier(UUID inventoryIdentifier) voidsetInventoryName(String inventoryName) voidsetInventoryNameInEnglish(String inventoryNameInEnglish) voidvoidsetLastUpdate(LocalDateTime lastUpdate) voidsetLocation(GeoJsonPointAffiliate location) voidsetLowestDisplayPrice(CustomMonetaryAmount lowestDisplayPrice) voidsetLowestPrice(CustomMonetaryAmount lowestPrice) voidvoidsetQuantity(Integer quantity) voidsetSalesChannel(SalesChannelLightweightAffiliate 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:
-
JSON_PROPERTY_HOTEL
- See Also:
-
-
Constructor Details
-
InventoryAggregateLightweightAffiliate
public InventoryAggregateLightweightAffiliate()
-
-
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 InventoryAggregateLightweightAffiliate salesChannel(@Nonnull SalesChannelLightweightAffiliate salesChannel) -
getSalesChannel
Parent sales channel- Returns:
- salesChannel
-
setSalesChannel
-
inventoryType
public InventoryAggregateLightweightAffiliate inventoryType(@Nonnull InventoryAggregateLightweightAffiliate.InventoryTypeEnum inventoryType) -
getInventoryType
@Nonnull @NotNull public @NotNull InventoryAggregateLightweightAffiliate.InventoryTypeEnum getInventoryType()Inventory type- Returns:
- inventoryType
-
setInventoryType
public void setInventoryType(@Nonnull InventoryAggregateLightweightAffiliate.InventoryTypeEnum inventoryType) -
inventoryIdentifier
public InventoryAggregateLightweightAffiliate inventoryIdentifier(@Nonnull UUID 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
public InventoryAggregateLightweightAffiliate inventoryNameInEnglish(@Nonnull String 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 InventoryAggregateLightweightAffiliate pricePoint(@Nonnull InventoryAggregateLightweightAffiliate.PricePointEnum pricePoint) -
getPricePoint
@Nonnull @NotNull public @NotNull InventoryAggregateLightweightAffiliate.PricePointEnum getPricePoint()Level of expensiveness.- Returns:
- pricePoint
-
setPricePoint
public void setPricePoint(@Nonnull InventoryAggregateLightweightAffiliate.PricePointEnum pricePoint) -
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
public InventoryAggregateLightweightAffiliate lowestPrice(@Nullable CustomMonetaryAmount lowestPrice) -
getLowestPrice
Best price of the room type or facility ancillary- Returns:
- lowestPrice
-
setLowestPrice
-
lowestDisplayPrice
public InventoryAggregateLightweightAffiliate lowestDisplayPrice(@Nullable CustomMonetaryAmount lowestDisplayPrice) -
getLowestDisplayPrice
Best price of the room type or facility ancillary in platform currency- Returns:
- lowestDisplayPrice
-
setLowestDisplayPrice
-
hotel
public InventoryAggregateLightweightAffiliate hotel(@Nullable PropertyAggregateLightweightAffiliate hotel) -
getHotel
Linked hotel- Returns:
- hotel
-
setHotel
-
equals
-
hashCode
-
toString
-