Package travel.wink.sdk.inventory.model
Class RoomTypeWithPriceConfigurationsConsumer
java.lang.Object
travel.wink.sdk.inventory.model.RoomTypeWithPriceConfigurationsConsumer
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-03-10T10:49:22.896848165+07:00[Asia/Bangkok]")
public class RoomTypeWithPriceConfigurationsConsumer
extends Object
List of room types with price configurations based on the itinerary that was passed on the user session.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddPriceConfigurationsItem(RoomConfigurationPriceConsumer priceConfigurationsItem) addPriceListItem(LocalizedTransactionalTravelInventoryConsumer priceListItem) bestPrice(RoomConfigurationPriceConsumer bestPrice) channelInventoryIdentifier(UUID channelInventoryIdentifier) commission(Float commission) commissionable(Boolean commissionable) booleanGet availableGet bestPrice@NotNull @Valid UUIDChannel inventory identifier referencing this record.The commission percentage.Whether this package is commissionable based on the incoming sales channel.getList()Get _list@NotNull @Valid List<RoomConfigurationPriceConsumer>Get priceConfigurationsGet priceList@NotNull @Valid GuestRoomConsumergetRoom()Get roominthashCode()priceConfigurations(List<RoomConfigurationPriceConsumer> priceConfigurations) room(GuestRoomConsumer room) voidsetAvailable(Boolean available) voidsetBestPrice(RoomConfigurationPriceConsumer bestPrice) voidsetChannelInventoryIdentifier(UUID channelInventoryIdentifier) voidsetCommission(Float commission) voidsetCommissionable(Boolean commissionable) voidvoidsetPriceConfigurations(List<RoomConfigurationPriceConsumer> priceConfigurations) voidvoidsetRoom(GuestRoomConsumer room) toString()
-
Field Details
-
JSON_PROPERTY_ROOM
- See Also:
-
JSON_PROPERTY_PRICE_CONFIGURATIONS
- See Also:
-
JSON_PROPERTY_LIST
- See Also:
-
JSON_PROPERTY_CHANNEL_INVENTORY_IDENTIFIER
- See Also:
-
JSON_PROPERTY_COMMISSIONABLE
- See Also:
-
JSON_PROPERTY_COMMISSION
- See Also:
-
JSON_PROPERTY_PRICE_LIST
- See Also:
-
JSON_PROPERTY_BEST_PRICE
- See Also:
-
JSON_PROPERTY_AVAILABLE
- See Also:
-
-
Constructor Details
-
RoomTypeWithPriceConfigurationsConsumer
public RoomTypeWithPriceConfigurationsConsumer()
-
-
Method Details
-
room
-
getRoom
Get room- Returns:
- room
-
setRoom
-
priceConfigurations
public RoomTypeWithPriceConfigurationsConsumer priceConfigurations(List<RoomConfigurationPriceConsumer> priceConfigurations) -
addPriceConfigurationsItem
public RoomTypeWithPriceConfigurationsConsumer addPriceConfigurationsItem(RoomConfigurationPriceConsumer priceConfigurationsItem) -
getPriceConfigurations
@Nonnull @NotNull @Valid public @NotNull @Valid List<RoomConfigurationPriceConsumer> getPriceConfigurations()Get priceConfigurations- Returns:
- priceConfigurations
-
setPriceConfigurations
-
_list
public RoomTypeWithPriceConfigurationsConsumer _list(List<LocalizedTransactionalTravelInventoryConsumer> _list) -
addListItem
public RoomTypeWithPriceConfigurationsConsumer addListItem(LocalizedTransactionalTravelInventoryConsumer _listItem) -
getList
Get _list- Returns:
- _list
-
setList
-
channelInventoryIdentifier
public RoomTypeWithPriceConfigurationsConsumer channelInventoryIdentifier(UUID channelInventoryIdentifier) -
getChannelInventoryIdentifier
Channel inventory identifier referencing this record.- Returns:
- channelInventoryIdentifier
-
setChannelInventoryIdentifier
-
commissionable
-
getCommissionable
Whether this package is commissionable based on the incoming sales channel.- Returns:
- commissionable
-
setCommissionable
-
commission
-
getCommission
The commission percentage.- Returns:
- commission
-
setCommission
-
priceList
public RoomTypeWithPriceConfigurationsConsumer priceList(List<LocalizedTransactionalTravelInventoryConsumer> priceList) -
addPriceListItem
public RoomTypeWithPriceConfigurationsConsumer addPriceListItem(LocalizedTransactionalTravelInventoryConsumer priceListItem) -
getPriceList
Get priceList- Returns:
- priceList
-
setPriceList
-
bestPrice
-
getBestPrice
Get bestPrice- Returns:
- bestPrice
-
setBestPrice
-
available
-
getAvailable
Get available- Returns:
- available
-
setAvailable
-
equals
-
hashCode
public int hashCode() -
toString
-