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-03-10T10:49:42.091933291+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 String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription_configuration(RoomConfigurationConsumer _configuration) activeCancellationPolicy(CancellationPolicyConsumer activeCancellationPolicy) addAddOnOffersItem(AddOnLocalizedInventoryConsumer addOnOffersItem) addOfferDetailsItem(SimpleDescriptionConsumer offerDetailsItem) addOnOffers(List<AddOnLocalizedInventoryConsumer> addOnOffers) addPerkTypesItem(RoomConfigurationPriceConsumer.PerkTypesEnum perkTypesItem) addPromotionItem(String promotionItem) 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 availableThe actual amount of children as determined by the hotel's policy@NotNull FloatGet commission@NotNull BooleanGet commissionable@NotNull @Valid RoomConfigurationConsumerGet _configuration@NotNull @Valid LocalDateItinerary endDate@NotNull @Valid ExtraChargesConsumerGet extraCharges@Valid MoneysConsumerGet internalTotal@Valid List<SimpleDescriptionConsumer>Get offerDetailsGet perkTypesThe combined value of these perks@NotNull @Valid StayRateConsumergetPrice()Get priceGet promotion@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 MoneysConsumerGet sourceTotal@NotNull @Valid LocalDateItinerary startDate@Valid MoneysConsumerGet userSpecifiedCurrencyTotalinthashCode()internalTotal(MoneysConsumer internalTotal) offerDetails(List<SimpleDescriptionConsumer> offerDetails) 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) voidsetChildren(Integer children) voidsetCommission(Float commission) voidsetCommissionable(Boolean commissionable) voidsetConfiguration(RoomConfigurationConsumer _configuration) voidsetEndDate(LocalDate endDate) voidsetExtraCharges(ExtraChargesConsumer extraCharges) voidsetInternalTotal(MoneysConsumer internalTotal) voidsetOfferDetails(List<SimpleDescriptionConsumer> offerDetails) voidvoidsetPerkValue(Integer perkValue) voidsetPrice(StayRateConsumer price) voidsetPromotion(List<String> promotion) voidsetRatePlan(RatePlanConsumer ratePlan) voidsetRateSource(String rateSource) voidsetRoomNights(Integer roomNights) voidsetRoomRateIdentifier(String roomRateIdentifier) voidsetRoomRateInternalName(String roomRateInternalName) voidsetSourceTotal(MoneysConsumer sourceTotal) voidsetStartDate(LocalDate startDate) voidsetUserSpecifiedCurrencyTotal(MoneysConsumer userSpecifiedCurrencyTotal) sourceTotal(MoneysConsumer sourceTotal) toString()userSpecifiedCurrencyTotal(MoneysConsumer 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_COMMISSIONABLE
- See Also:
-
JSON_PROPERTY_COMMISSION
- See Also:
-
JSON_PROPERTY_PROMOTION
- See Also:
-
JSON_PROPERTY_SOURCE_TOTAL
- See Also:
-
JSON_PROPERTY_USER_SPECIFIED_CURRENCY_TOTAL
- See Also:
-
JSON_PROPERTY_INTERNAL_TOTAL
- See Also:
-
JSON_PROPERTY_OFFER_DETAILS
- See Also:
-
JSON_PROPERTY_RATE_SOURCE
- See Also:
-
JSON_PROPERTY_AVAILABLE
- 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
-
commissionable
-
getCommissionable
Get commissionable- Returns:
- commissionable
-
setCommissionable
-
commission
-
getCommission
Get commission- Returns:
- commission
-
setCommission
-
promotion
-
addPromotionItem
-
getPromotion
Get promotion- Returns:
- promotion
-
setPromotion
-
sourceTotal
-
getSourceTotal
Get sourceTotal- Returns:
- sourceTotal
-
setSourceTotal
-
userSpecifiedCurrencyTotal
public RoomConfigurationPriceConsumer userSpecifiedCurrencyTotal(MoneysConsumer userSpecifiedCurrencyTotal) -
getUserSpecifiedCurrencyTotal
Get userSpecifiedCurrencyTotal- Returns:
- userSpecifiedCurrencyTotal
-
setUserSpecifiedCurrencyTotal
-
internalTotal
-
getInternalTotal
Get internalTotal- Returns:
- internalTotal
-
setInternalTotal
-
offerDetails
-
addOfferDetailsItem
public RoomConfigurationPriceConsumer addOfferDetailsItem(SimpleDescriptionConsumer offerDetailsItem) -
getOfferDetails
Get offerDetails- Returns:
- offerDetails
-
setOfferDetails
-
rateSource
-
getRateSource
Get rateSource- Returns:
- rateSource
-
setRateSource
-
available
-
getAvailable
Get available- Returns:
- available
-
setAvailable
-
equals
-
hashCode
public int hashCode() -
toString
-