Package travel.wink.sdk.extranet.model
Class Inventory
java.lang.Object
travel.wink.sdk.extranet.model.Inventory
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-05-31T13:46:32.173577+07:00[Asia/Bangkok]")
public class Inventory
extends Object
Inventory
-
Nested Class Summary
Nested Classes -
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 TypeMethodDescriptioncommissionable(Boolean commissionable) commonBasePrice(Moneys commonBasePrice) boolean@Valid MoneysGet basePriceWhether inventory can be booked@Valid GeoNamegetCity()Get cityWhether this is commissionable or not@Valid MoneysGet commonBasePrice@NotNull BooleanWhether this inventory is enabled or not@Valid HotelOnMapgetHotel()Get hotelGet identifierMain image of inventory@NotNull StringInventory identifier@NotNull StringName of inventory as hotel is seeing it@NotNull Inventory.InventoryTypeEnumInventory type@Valid GeoJsonPointGet locationquantity@NotNull @Valid SalesChannelGet salesChannelinthashCode()hotel(HotelOnMap hotel) identifier(String identifier) imageIdentifier(String imageIdentifier) inventoryIdentifier(String inventoryIdentifier) inventoryName(String inventoryName) inventoryType(Inventory.InventoryTypeEnum inventoryType) location(GeoJsonPoint location) salesChannel(SalesChannel salesChannel) voidsetBasePrice(Moneys basePrice) voidsetBookable(Boolean bookable) voidvoidsetCommissionable(Boolean commissionable) voidsetCommonBasePrice(Moneys commonBasePrice) voidsetEnabled(Boolean enabled) voidsetHotel(HotelOnMap hotel) voidsetIdentifier(String identifier) voidsetImageIdentifier(String imageIdentifier) voidsetInventoryIdentifier(String inventoryIdentifier) voidsetInventoryName(String inventoryName) voidsetInventoryType(Inventory.InventoryTypeEnum inventoryType) voidsetLocation(GeoJsonPoint location) voidsetQuantity(Integer quantity) voidsetSalesChannel(SalesChannel 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_ENABLED
- See Also:
-
JSON_PROPERTY_IMAGE_IDENTIFIER
- See Also:
-
JSON_PROPERTY_BASE_PRICE
- See Also:
-
JSON_PROPERTY_COMMON_BASE_PRICE
- See Also:
-
JSON_PROPERTY_LOCATION
- See Also:
-
JSON_PROPERTY_CITY
- See Also:
-
JSON_PROPERTY_QUANTITY
- See Also:
-
JSON_PROPERTY_COMMISSIONABLE
- See Also:
-
JSON_PROPERTY_BOOKABLE
- See Also:
-
JSON_PROPERTY_HOTEL
- See Also:
-
-
Constructor Details
-
Inventory
public Inventory()
-
-
Method Details
-
identifier
-
getIdentifier
Get identifier- Returns:
- identifier
-
setIdentifier
-
salesChannel
-
getSalesChannel
Get salesChannel- Returns:
- salesChannel
-
setSalesChannel
-
inventoryType
-
getInventoryType
Inventory type- Returns:
- inventoryType
-
setInventoryType
-
inventoryIdentifier
-
getInventoryIdentifier
Inventory identifier- Returns:
- inventoryIdentifier
-
setInventoryIdentifier
-
inventoryName
-
getInventoryName
Name of inventory as hotel is seeing it- Returns:
- inventoryName
-
setInventoryName
-
enabled
-
getEnabled
Whether this inventory is enabled or not- Returns:
- enabled
-
setEnabled
-
imageIdentifier
-
getImageIdentifier
Main image of inventory- Returns:
- imageIdentifier
-
setImageIdentifier
-
basePrice
-
getBasePrice
Get basePrice- Returns:
- basePrice
-
setBasePrice
-
commonBasePrice
-
getCommonBasePrice
Get commonBasePrice- Returns:
- commonBasePrice
-
setCommonBasePrice
-
location
-
getLocation
Get location- Returns:
- location
-
setLocation
-
city
-
getCity
Get city- Returns:
- city
-
setCity
-
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
-