Package travel.wink.sdk.lookup.model
Class RoomConfigurationPriceConsumer
java.lang.Object
travel.wink.sdk.lookup.model.RoomConfigurationPriceConsumer
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-06-13T15:19:06.946924419+07:00[Asia/Bangkok]")
public class RoomConfigurationPriceConsumer
extends Object
RoomConfigurationPriceConsumer
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumPerks that accompany the master rate -
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 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 TypeMethodDescription_configuration(RoomConfigurationConsumer _configuration) activeCancellationPolicy(CancellationPolicyConsumer activeCancellationPolicy) addAddOnOffersItem(AddOnLocalizedInventoryConsumer addOnOffersItem) addOnOffers(List<AddOnLocalizedInventoryConsumer> addOnOffers) addPerkTypesItem(RoomConfigurationPriceConsumer.PerkTypesEnum perkTypesItem) addPriceListItem(LocalizedTransactionalTravelInventoryConsumer priceListItem) channelInventoryIdentifier(String channelInventoryIdentifier) commission(Float commission) commissionable(Boolean commissionable) booleanextraCharges(ExtraChargesConsumer extraCharges) @NotNull @Valid CancellationPolicyConsumerGet activeCancellationPolicy@Valid List<AddOnLocalizedInventoryConsumer>Get addOnOffers@NotNull IntegerThe actual amount of adults as determined by the hotel's policyGet available@NotNull StringSales channel inventory identifierThe actual amount of children as determined by the hotel's policy@NotNull FloatThe commission percentage.@NotNull BooleanWhether this package is commissionable based on the incoming sales channel.@NotNull @Valid RoomConfigurationConsumerGet _configuration@NotNull @Valid LocalDateItinerary endDate@Valid ExtraChargesConsumerGet extraCharges@Valid CustomMonetaryAmountGet internalTotalgetList()Get _listGet perkTypesThe combined value of these perks@NotNull @Valid StayRateConsumergetPrice()Get priceGet priceList@NotNull @Valid RatePlanConsumerGet ratePlanGet rateSource@NotNull IntegerNumber of nights the guests will be staying@NotNull StringSpecified master rate identifier@NotNull StringSpecified master rate internal name@Valid CustomMonetaryAmountGet sourceTotal@NotNull @Valid LocalDateItinerary startDate@Valid CustomMonetaryAmountGet userSpecifiedCurrencyTotalinthashCode()internalTotal(CustomMonetaryAmount internalTotal) price(StayRateConsumer price) ratePlan(RatePlanConsumer ratePlan) rateSource(String rateSource) roomNights(Integer roomNights) roomRateIdentifier(String roomRateIdentifier) roomRateInternalName(String roomRateInternalName) voidsetActiveCancellationPolicy(CancellationPolicyConsumer activeCancellationPolicy) voidsetAddOnOffers(List<AddOnLocalizedInventoryConsumer> addOnOffers) voidvoidsetAvailable(Boolean available) voidsetChannelInventoryIdentifier(String channelInventoryIdentifier) voidsetChildren(Integer children) voidsetCommission(Float commission) voidsetCommissionable(Boolean commissionable) voidsetConfiguration(RoomConfigurationConsumer _configuration) voidsetEndDate(LocalDate endDate) voidsetExtraCharges(ExtraChargesConsumer extraCharges) voidsetInternalTotal(CustomMonetaryAmount internalTotal) voidvoidvoidsetPerkValue(Integer perkValue) voidsetPrice(StayRateConsumer price) voidvoidsetRatePlan(RatePlanConsumer ratePlan) voidsetRateSource(String rateSource) voidsetRoomNights(Integer roomNights) voidsetRoomRateIdentifier(String roomRateIdentifier) voidsetRoomRateInternalName(String roomRateInternalName) voidsetSourceTotal(CustomMonetaryAmount sourceTotal) voidsetStartDate(LocalDate startDate) voidsetUserSpecifiedCurrencyTotal(CustomMonetaryAmount userSpecifiedCurrencyTotal) sourceTotal(CustomMonetaryAmount sourceTotal) toString()userSpecifiedCurrencyTotal(CustomMonetaryAmount userSpecifiedCurrencyTotal)
-
Field Details
-
JSON_PROPERTY_ADULTS
- See Also:
-
JSON_PROPERTY_CHILDREN
- See Also:
-
JSON_PROPERTY_START_DATE
- See Also:
-
JSON_PROPERTY_END_DATE
- See Also:
-
JSON_PROPERTY_ROOM_RATE_IDENTIFIER
- See Also:
-
JSON_PROPERTY_ROOM_RATE_INTERNAL_NAME
- See Also:
-
JSON_PROPERTY_RATE_PLAN
- See Also:
-
JSON_PROPERTY_PERK_TYPES
- See Also:
-
JSON_PROPERTY_PRICE
- See Also:
-
JSON_PROPERTY_EXTRA_CHARGES
- See Also:
-
JSON_PROPERTY_CONFIGURATION
- See Also:
-
JSON_PROPERTY_ADD_ON_OFFERS
- See Also:
-
JSON_PROPERTY_PERK_VALUE
- See Also:
-
JSON_PROPERTY_ACTIVE_CANCELLATION_POLICY
- See Also:
-
JSON_PROPERTY_ROOM_NIGHTS
- 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_AVAILABLE
- See Also:
-
JSON_PROPERTY_SOURCE_TOTAL
- See Also:
-
JSON_PROPERTY_RATE_SOURCE
- See Also:
-
JSON_PROPERTY_USER_SPECIFIED_CURRENCY_TOTAL
- See Also:
-
JSON_PROPERTY_INTERNAL_TOTAL
- See Also:
-
-
Constructor Details
-
RoomConfigurationPriceConsumer
public RoomConfigurationPriceConsumer()
-
-
Method Details
-
adults
-
getAdults
The actual amount of adults as determined by the hotel's policy- Returns:
- adults
-
setAdults
-
children
-
getChildren
The actual amount of children as determined by the hotel's policy- Returns:
- children
-
setChildren
-
startDate
-
getStartDate
Itinerary startDate- Returns:
- startDate
-
setStartDate
-
endDate
-
getEndDate
Itinerary endDate- Returns:
- endDate
-
setEndDate
-
roomRateIdentifier
-
getRoomRateIdentifier
Specified master rate identifier- Returns:
- roomRateIdentifier
-
setRoomRateIdentifier
-
roomRateInternalName
-
getRoomRateInternalName
Specified master rate internal name- Returns:
- roomRateInternalName
-
setRoomRateInternalName
-
ratePlan
-
getRatePlan
Get ratePlan- Returns:
- ratePlan
-
setRatePlan
-
perkTypes
public RoomConfigurationPriceConsumer perkTypes(List<RoomConfigurationPriceConsumer.PerkTypesEnum> perkTypes) -
addPerkTypesItem
public RoomConfigurationPriceConsumer addPerkTypesItem(RoomConfigurationPriceConsumer.PerkTypesEnum perkTypesItem) -
getPerkTypes
Get perkTypes- Returns:
- perkTypes
-
setPerkTypes
-
price
-
getPrice
Get price- Returns:
- price
-
setPrice
-
extraCharges
-
getExtraCharges
Get extraCharges- Returns:
- extraCharges
-
setExtraCharges
-
_configuration
-
getConfiguration
Get _configuration- Returns:
- _configuration
-
setConfiguration
-
addOnOffers
public RoomConfigurationPriceConsumer addOnOffers(List<AddOnLocalizedInventoryConsumer> addOnOffers) -
addAddOnOffersItem
public RoomConfigurationPriceConsumer addAddOnOffersItem(AddOnLocalizedInventoryConsumer addOnOffersItem) -
getAddOnOffers
Get addOnOffers- Returns:
- addOnOffers
-
setAddOnOffers
-
perkValue
-
getPerkValue
The combined value of these perks- Returns:
- perkValue
-
setPerkValue
-
activeCancellationPolicy
public RoomConfigurationPriceConsumer activeCancellationPolicy(CancellationPolicyConsumer activeCancellationPolicy) -
getActiveCancellationPolicy
@Nonnull @NotNull @Valid public @NotNull @Valid CancellationPolicyConsumer getActiveCancellationPolicy()Get activeCancellationPolicy- Returns:
- activeCancellationPolicy
-
setActiveCancellationPolicy
-
roomNights
-
getRoomNights
Number of nights the guests will be staying- Returns:
- roomNights
-
setRoomNights
-
_list
public RoomConfigurationPriceConsumer _list(List<LocalizedTransactionalTravelInventoryConsumer> _list) -
addListItem
public RoomConfigurationPriceConsumer addListItem(LocalizedTransactionalTravelInventoryConsumer _listItem) -
getList
Get _list- Returns:
- _list
-
setList
-
channelInventoryIdentifier
-
getChannelInventoryIdentifier
Sales channel inventory identifier- 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 RoomConfigurationPriceConsumer priceList(List<LocalizedTransactionalTravelInventoryConsumer> priceList) -
addPriceListItem
public RoomConfigurationPriceConsumer addPriceListItem(LocalizedTransactionalTravelInventoryConsumer priceListItem) -
getPriceList
Get priceList- Returns:
- priceList
-
setPriceList
-
available
-
getAvailable
Get available- Returns:
- available
-
setAvailable
-
sourceTotal
-
getSourceTotal
Get sourceTotal- Returns:
- sourceTotal
-
setSourceTotal
-
rateSource
-
getRateSource
Get rateSource- Returns:
- rateSource
-
setRateSource
-
userSpecifiedCurrencyTotal
public RoomConfigurationPriceConsumer userSpecifiedCurrencyTotal(CustomMonetaryAmount userSpecifiedCurrencyTotal) -
getUserSpecifiedCurrencyTotal
Get userSpecifiedCurrencyTotal- Returns:
- userSpecifiedCurrencyTotal
-
setUserSpecifiedCurrencyTotal
-
internalTotal
-
getInternalTotal
Get internalTotal- Returns:
- internalTotal
-
setInternalTotal
-
equals
-
hashCode
public int hashCode() -
toString
-