Package travel.wink.sdk.extranet.model
Class InventorySupplier
java.lang.Object
travel.wink.sdk.extranet.model.InventorySupplier
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-03-18T08:52:26.126132332+07:00[Asia/Bangkok]")
public class InventorySupplier
extends Object
InventorySupplier
-
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 String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddress(AddressSupplier address) commissionable(Boolean commissionable) boolean@NotNull @Valid AddressSupplierGet address@NotNull BooleanWhether inventory can be booked@NotNull BooleanWhether this is commissionable or not@NotNull BooleanWhether this inventory is enabled or not@NotNull @Valid HotelOnMapSuppliergetHotel()Get hotel@NotNull @Valid UUIDInventory identifier@NotNull StringMain image of inventory@NotNull @Valid UUIDInventory type identifier@NotNull StringName of inventory as hotel is seeing it@NotNull StringName of inventory as traveler is seeing it@NotNull InventorySupplier.InventoryTypeEnumInventory type@NotNull @Valid GeoJsonPointSupplierGet location@NotNull InventorySupplier.PricePointEnumLevel of expensiveness.@NotNull Integerquantity@NotNull @Valid SalesChannelSupplierGet salesChannelinthashCode()hotel(HotelOnMapSupplier hotel) identifier(UUID identifier) imageIdentifier(String imageIdentifier) inventoryIdentifier(UUID inventoryIdentifier) inventoryName(String inventoryName) inventoryNameInEnglish(String inventoryNameInEnglish) inventoryType(InventorySupplier.InventoryTypeEnum inventoryType) location(GeoJsonPointSupplier location) pricePoint(InventorySupplier.PricePointEnum pricePoint) salesChannel(SalesChannelSupplier salesChannel) voidsetAddress(AddressSupplier address) voidsetBookable(Boolean bookable) voidsetCommissionable(Boolean commissionable) voidsetEnabled(Boolean enabled) voidsetHotel(HotelOnMapSupplier hotel) voidsetIdentifier(UUID identifier) voidsetImageIdentifier(String imageIdentifier) voidsetInventoryIdentifier(UUID inventoryIdentifier) voidsetInventoryName(String inventoryName) voidsetInventoryNameInEnglish(String inventoryNameInEnglish) voidsetInventoryType(InventorySupplier.InventoryTypeEnum inventoryType) voidsetLocation(GeoJsonPointSupplier location) voidsetPricePoint(InventorySupplier.PricePointEnum pricePoint) voidsetQuantity(Integer quantity) voidsetSalesChannel(SalesChannelSupplier salesChannel) toString()
-
Field Details
-
JSON_PROPERTY_IDENTIFIER
- 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_HOTEL
- See Also:
-
-
Constructor Details
-
InventorySupplier
public InventorySupplier()
-
-
Method Details
-
identifier
-
getIdentifier
Inventory identifier- Returns:
- identifier
-
setIdentifier
-
salesChannel
-
getSalesChannel
Get salesChannel- Returns:
- salesChannel
-
setSalesChannel
-
inventoryType
-
getInventoryType
Inventory type- Returns:
- inventoryType
-
setInventoryType
-
inventoryIdentifier
-
getInventoryIdentifier
Inventory type identifier- Returns:
- inventoryIdentifier
-
setInventoryIdentifier
-
inventoryName
-
getInventoryName
Name of inventory as hotel is seeing it- Returns:
- inventoryName
-
setInventoryName
-
inventoryNameInEnglish
-
getInventoryNameInEnglish
Name of inventory as traveler is seeing it- Returns:
- inventoryNameInEnglish
-
setInventoryNameInEnglish
-
enabled
-
getEnabled
Whether this inventory is enabled or not- Returns:
- enabled
-
setEnabled
-
imageIdentifier
-
getImageIdentifier
Main image of inventory- Returns:
- imageIdentifier
-
setImageIdentifier
-
pricePoint
-
getPricePoint
Level of expensiveness.- Returns:
- pricePoint
-
setPricePoint
-
location
-
getLocation
Get location- Returns:
- location
-
setLocation
-
address
-
getAddress
Get address- Returns:
- address
-
setAddress
-
quantity
-
getQuantity
quantity- Returns:
- quantity
-
setQuantity
-
commissionable
-
getCommissionable
Whether this is commissionable or not- Returns:
- commissionable
-
setCommissionable
-
bookable
-
getBookable
Whether inventory can be booked- Returns:
- bookable
-
setBookable
-
hotel
-
getHotel
Get hotel- Returns:
- hotel
-
setHotel
-
equals
-
hashCode
public int hashCode() -
toString
-