Package travel.wink.sdk.extranet.model
Class RoomConfigurationPriceSupplier
java.lang.Object
travel.wink.sdk.extranet.model.RoomConfigurationPriceSupplier
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-03-10T10:48:44.479471290+07:00[Asia/Bangkok]")
public class RoomConfigurationPriceSupplier
extends Object
The room we want to book
-
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(RoomConfigurationSupplier _configuration) activeCancellationPolicy(CancellationPolicySupplier activeCancellationPolicy) addAddOnOffersItem(AddOnLocalizedInventorySupplier addOnOffersItem) addOfferDetailsItem(SimpleDescriptionSupplier offerDetailsItem) addOnOffers(List<AddOnLocalizedInventorySupplier> addOnOffers) addPerkTypesItem(RoomConfigurationPriceSupplier.PerkTypesEnum perkTypesItem) addPromotionItem(String promotionItem) commission(Float commission) commissionable(Boolean commissionable) booleanextraCharges(ExtraChargesSupplier extraCharges) @NotNull @Valid CancellationPolicySupplierGet activeCancellationPolicy@Valid List<AddOnLocalizedInventorySupplier>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 RoomConfigurationSupplierGet _configuration@NotNull @Valid LocalDateItinerary endDate@NotNull @Valid ExtraChargesSupplierGet extraCharges@Valid MoneysSupplierGet internalTotal@Valid List<SimpleDescriptionSupplier>Get offerDetailsGet perkTypesThe combined value of these perks@NotNull @Valid StayRateSuppliergetPrice()Get priceGet promotion@NotNull @Valid RatePlanSupplierGet ratePlanGet rateSource@NotNull IntegerNumber of nights the guests will be staying@NotNull StringSpecified master rate identifier@NotNull StringSpecified master rate internal name@Valid MoneysSupplierGet sourceTotal@NotNull @Valid LocalDateItinerary startDate@Valid MoneysSupplierGet userSpecifiedCurrencyTotalinthashCode()internalTotal(MoneysSupplier internalTotal) offerDetails(List<SimpleDescriptionSupplier> offerDetails) price(StayRateSupplier price) ratePlan(RatePlanSupplier ratePlan) rateSource(String rateSource) roomNights(Integer roomNights) roomRateIdentifier(String roomRateIdentifier) roomRateInternalName(String roomRateInternalName) voidsetActiveCancellationPolicy(CancellationPolicySupplier activeCancellationPolicy) voidsetAddOnOffers(List<AddOnLocalizedInventorySupplier> addOnOffers) voidvoidsetAvailable(Boolean available) voidsetChildren(Integer children) voidsetCommission(Float commission) voidsetCommissionable(Boolean commissionable) voidsetConfiguration(RoomConfigurationSupplier _configuration) voidsetEndDate(LocalDate endDate) voidsetExtraCharges(ExtraChargesSupplier extraCharges) voidsetInternalTotal(MoneysSupplier internalTotal) voidsetOfferDetails(List<SimpleDescriptionSupplier> offerDetails) voidvoidsetPerkValue(Integer perkValue) voidsetPrice(StayRateSupplier price) voidsetPromotion(List<String> promotion) voidsetRatePlan(RatePlanSupplier ratePlan) voidsetRateSource(String rateSource) voidsetRoomNights(Integer roomNights) voidsetRoomRateIdentifier(String roomRateIdentifier) voidsetRoomRateInternalName(String roomRateInternalName) voidsetSourceTotal(MoneysSupplier sourceTotal) voidsetStartDate(LocalDate startDate) voidsetUserSpecifiedCurrencyTotal(MoneysSupplier userSpecifiedCurrencyTotal) sourceTotal(MoneysSupplier sourceTotal) toString()userSpecifiedCurrencyTotal(MoneysSupplier 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
-
RoomConfigurationPriceSupplier
public RoomConfigurationPriceSupplier()
-
-
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 RoomConfigurationPriceSupplier perkTypes(List<RoomConfigurationPriceSupplier.PerkTypesEnum> perkTypes) -
addPerkTypesItem
public RoomConfigurationPriceSupplier addPerkTypesItem(RoomConfigurationPriceSupplier.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 RoomConfigurationPriceSupplier addOnOffers(List<AddOnLocalizedInventorySupplier> addOnOffers) -
addAddOnOffersItem
public RoomConfigurationPriceSupplier addAddOnOffersItem(AddOnLocalizedInventorySupplier addOnOffersItem) -
getAddOnOffers
Get addOnOffers- Returns:
- addOnOffers
-
setAddOnOffers
-
perkValue
-
getPerkValue
The combined value of these perks- Returns:
- perkValue
-
setPerkValue
-
activeCancellationPolicy
public RoomConfigurationPriceSupplier activeCancellationPolicy(CancellationPolicySupplier activeCancellationPolicy) -
getActiveCancellationPolicy
@Nonnull @NotNull @Valid public @NotNull @Valid CancellationPolicySupplier 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 RoomConfigurationPriceSupplier userSpecifiedCurrencyTotal(MoneysSupplier userSpecifiedCurrencyTotal) -
getUserSpecifiedCurrencyTotal
Get userSpecifiedCurrencyTotal- Returns:
- userSpecifiedCurrencyTotal
-
setUserSpecifiedCurrencyTotal
-
internalTotal
-
getInternalTotal
Get internalTotal- Returns:
- internalTotal
-
setInternalTotal
-
offerDetails
-
addOfferDetailsItem
public RoomConfigurationPriceSupplier addOfferDetailsItem(SimpleDescriptionSupplier 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
-