Class InventoryGridItem
java.lang.Object
travel.wink.sdk.booking.engine.model.InventoryGridItem
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-09-06T15:30:26.907612+07:00[Asia/Bangkok]")
public class InventoryGridItem
extends Object
InventoryGridItem
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe type of inventory this item represents. -
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 String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactivity(ActivityWithBestPrice activity) attraction(AttractionWithBestPrice attraction) bundle(PackageWithBestPrice bundle) boolean@Valid ActivityWithBestPriceGet activity@Valid AttractionWithBestPriceGet attractionWhether this inventory is available@Valid PackageWithBestPriceGet bundle@Valid UUIDUnique inventory identifier@Valid MeetingRoomWithBestPriceGet meetingRoom@Valid PlaceWithBestPricegetPlace()Get place@Valid RestaurantWithBestPriceGet restaurant@Valid HotelWithBestPriceGet roomTypegetSort()Sort property indicates how this grid item fits in with the rest of the items in the list.@Valid SpaWithBestPricegetSpa()Get spa@Valid UUIDSupplier identifier referencing inventory ownergetType()The type of inventory this item represents.@Valid AddOnWithBestPriceGet upgradeinthashCode()identifier(UUID identifier) meetingRoom(MeetingRoomWithBestPrice meetingRoom) place(PlaceWithBestPrice place) restaurant(RestaurantWithBestPrice restaurant) roomType(HotelWithBestPrice roomType) voidsetActivity(ActivityWithBestPrice activity) voidsetAttraction(AttractionWithBestPrice attraction) voidsetAvailable(Boolean available) voidsetBundle(PackageWithBestPrice bundle) voidsetIdentifier(UUID identifier) voidsetMeetingRoom(MeetingRoomWithBestPrice meetingRoom) voidsetPlace(PlaceWithBestPrice place) voidsetRestaurant(RestaurantWithBestPrice restaurant) voidsetRoomType(HotelWithBestPrice roomType) voidvoidsetSpa(SpaWithBestPrice spa) voidsetSupplierIdentifier(UUID supplierIdentifier) voidvoidsetUpgrade(AddOnWithBestPrice upgrade) spa(SpaWithBestPrice spa) supplierIdentifier(UUID supplierIdentifier) toString()upgrade(AddOnWithBestPrice upgrade)
-
Field Details
-
JSON_PROPERTY_SORT
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_IDENTIFIER
- See Also:
-
JSON_PROPERTY_SUPPLIER_IDENTIFIER
- See Also:
-
JSON_PROPERTY_ACTIVITY
- See Also:
-
JSON_PROPERTY_ATTRACTION
- See Also:
-
JSON_PROPERTY_PLACE
- See Also:
-
JSON_PROPERTY_ROOM_TYPE
- See Also:
-
JSON_PROPERTY_MEETING_ROOM
- See Also:
-
JSON_PROPERTY_RESTAURANT
- See Also:
-
JSON_PROPERTY_SPA
- See Also:
-
JSON_PROPERTY_BUNDLE
- See Also:
-
JSON_PROPERTY_UPGRADE
- See Also:
-
JSON_PROPERTY_AVAILABLE
- See Also:
-
-
Constructor Details
-
InventoryGridItem
public InventoryGridItem()
-
-
Method Details
-
sort
-
getSort
Sort property indicates how this grid item fits in with the rest of the items in the list.- Returns:
- sort
-
setSort
-
type
-
getType
The type of inventory this item represents.- Returns:
- type
-
setType
-
identifier
-
getIdentifier
Unique inventory identifier- Returns:
- identifier
-
setIdentifier
-
supplierIdentifier
-
getSupplierIdentifier
Supplier identifier referencing inventory owner- Returns:
- supplierIdentifier
-
setSupplierIdentifier
-
activity
-
getActivity
Get activity- Returns:
- activity
-
setActivity
-
attraction
-
getAttraction
Get attraction- Returns:
- attraction
-
setAttraction
-
place
-
getPlace
Get place- Returns:
- place
-
setPlace
-
roomType
-
getRoomType
Get roomType- Returns:
- roomType
-
setRoomType
-
meetingRoom
-
getMeetingRoom
Get meetingRoom- Returns:
- meetingRoom
-
setMeetingRoom
-
restaurant
-
getRestaurant
Get restaurant- Returns:
- restaurant
-
setRestaurant
-
spa
-
getSpa
Get spa- Returns:
- spa
-
setSpa
-
bundle
-
getBundle
Get bundle- Returns:
- bundle
-
setBundle
-
upgrade
-
getUpgrade
Get upgrade- Returns:
- upgrade
-
setUpgrade
-
available
-
getAvailable
Whether this inventory is available- Returns:
- available
-
setAvailable
-
equals
-
hashCode
public int hashCode() -
toString
-