Package travel.wink.sdk.inventory.model
Class InventoryGridItemConsumer
java.lang.Object
travel.wink.sdk.inventory.model.InventoryGridItemConsumer
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-04-12T17:37:39.240503524+07:00[Asia/Bangkok]")
public class InventoryGridItemConsumer
extends Object
InventoryGridItemConsumer
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe type of inventory this item represents. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGet activityGet attractionWhether this inventory is available@Valid UUIDUnique inventory identifierGet meetingRoomgetPlace()Get placeGet restaurant@Valid HotelWithBestPriceConsumerGet roomTypegetSort()Sort property indicates how this grid item fits in with the rest of the items in the list.getSpa()Get spa@Valid UUIDSupplier identifier referencing inventory ownergetType()The type of inventory this item represents.Get upgradeinthashCode()identifier(UUID identifier) roomType(HotelWithBestPriceConsumer roomType) voidvoidvoidsetAvailable(Boolean available) voidsetIdentifier(UUID identifier) voidvoidvoidvoidsetRoomType(HotelWithBestPriceConsumer roomType) voidvoidvoidsetSupplierIdentifier(UUID supplierIdentifier) voidvoidsupplierIdentifier(UUID supplierIdentifier) toString()
-
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_UPGRADE
- See Also:
-
JSON_PROPERTY_AVAILABLE
- See Also:
-
-
Constructor Details
-
InventoryGridItemConsumer
public InventoryGridItemConsumer()
-
-
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
public InventoryGridItemConsumer activity(ActivityLocalizedInventoryWithHotelBestPriceConsumer activity) -
getActivity
Get activity- Returns:
- activity
-
setActivity
-
attraction
public InventoryGridItemConsumer attraction(AttractionLocalizedInventoryWithHotelBestPriceConsumer attraction) -
getAttraction
@Nullable @Valid public @Valid AttractionLocalizedInventoryWithHotelBestPriceConsumer getAttraction()Get attraction- Returns:
- attraction
-
setAttraction
-
place
-
getPlace
Get place- Returns:
- place
-
setPlace
-
roomType
-
getRoomType
Get roomType- Returns:
- roomType
-
setRoomType
-
meetingRoom
public InventoryGridItemConsumer meetingRoom(MeetingRoomLocalizedInventoryWithHotelBestPriceConsumer meetingRoom) -
getMeetingRoom
@Nullable @Valid public @Valid MeetingRoomLocalizedInventoryWithHotelBestPriceConsumer getMeetingRoom()Get meetingRoom- Returns:
- meetingRoom
-
setMeetingRoom
-
restaurant
public InventoryGridItemConsumer restaurant(RestaurantLocalizedInventoryWithHotelBestPriceConsumer restaurant) -
getRestaurant
@Nullable @Valid public @Valid RestaurantLocalizedInventoryWithHotelBestPriceConsumer getRestaurant()Get restaurant- Returns:
- restaurant
-
setRestaurant
-
spa
-
getSpa
Get spa- Returns:
- spa
-
setSpa
-
upgrade
-
getUpgrade
Get upgrade- Returns:
- upgrade
-
setUpgrade
-
available
-
getAvailable
Whether this inventory is available- Returns:
- available
-
setAvailable
-
equals
-
hashCode
public int hashCode() -
toString
-