Class ApiRateBookingConfirm
java.lang.Object
travel.wink.hotelbeds.booking.sdk.model.ApiRateBookingConfirm
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-10-04T11:28:08.331690043+07:00[Asia/Bangkok]")
public class ApiRateBookingConfirm
extends Object
Definition of a rate.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumDetermines if can booked directly (BOOKABLE) or if it needs to be checked with the ‘CheckRate’ operation (RECHECK). -
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 Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCancellationPoliciesItem(ApiCancellationPolicy cancellationPoliciesItem) addOffersItem(ApiOffer offersItem) addPromotionsItem(ApiPromotion promotionsItem) addShiftRatesItem(ApiShiftRate shiftRatesItem) cancellationPolicies(List<ApiCancellationPolicy> cancellationPolicies) childrenAges(String childrenAges) commission(String commission) commissionPCT(String commissionPCT) commissionVAT(String commissionVAT) discountPCT(String discountPCT) booleanNumber of adults requested for each room.Number of rooms available for a particular room type.Internal board code.Board name/description.getBrand()Brand of the hotel.@Valid List<ApiCancellationPolicy>List of cancellation policies on the rate.Number of children requested for each room.Ages of the children (if any).Profit margin the agency takes (commissionable model).Percentual share of the price corresponding to commision.Share of the commission corresponding to the Value Added Tax.Profit margin that the agency would take if it sells at that recommended price.Percentual share of the price corresponding to the profit margin the agency would take if it sells at that recommended price.Identifies if the rate price is recommended.getNet()Net price of the rate.List of offers on the rate.Defines if the rate is for packaging.@Valid List<ApiPromotion>List of promotions on the rate.Class of the rate.Rate comments that contain important information.Comments associated to this rate (more information on [Hotel Content API](/documentation/hotels/content-api/api-reference/) ).Internal key that represents a combination of room type, category, board and occupancy.Determines if can booked directly (BOOKABLE) or if it needs to be checked with the ‘CheckRate’ operation (RECHECK).Difference between original rate price and upselling rate price.Indicates if the rate is only for residents (only appears when resident rates are requested).getRooms()Number of rooms requested.Gross price of the room in case it is included.@Valid List<ApiShiftRate>Information about rates for alternative dates.@Valid ApiTaxesgetTaxes()Get taxesinthashCode()hotelMandatory(Boolean hotelMandatory) promotions(List<ApiPromotion> promotions) rateComments(String rateComments) rateCommentsId(String rateCommentsId) rateType(ApiRateBookingConfirm.RateTypeEnum rateType) sellingRate(String sellingRate) voidvoidsetAllotment(Integer allotment) voidsetBoardCode(String boardCode) voidsetBoardName(String boardName) voidvoidsetCancellationPolicies(List<ApiCancellationPolicy> cancellationPolicies) voidsetChildren(Integer children) voidsetChildrenAges(String childrenAges) voidsetCommission(String commission) voidsetCommissionPCT(String commissionPCT) voidsetCommissionVAT(String commissionVAT) voidsetDiscount(String discount) voidsetDiscountPCT(String discountPCT) voidsetHotelMandatory(Boolean hotelMandatory) voidvoidvoidsetPackaging(Boolean packaging) voidsetPromotions(List<ApiPromotion> promotions) voidsetRateClass(String rateClass) voidsetRateComments(String rateComments) voidsetRateCommentsId(String rateCommentsId) voidsetRateKey(String rateKey) voidvoidvoidsetResident(Boolean resident) voidvoidsetSellingRate(String sellingRate) voidsetShiftRates(List<ApiShiftRate> shiftRates) voidshiftRates(List<ApiShiftRate> shiftRates) toString()
-
Field Details
-
JSON_PROPERTY_RATE_KEY
- See Also:
-
JSON_PROPERTY_RATE_CLASS
- See Also:
-
JSON_PROPERTY_RATE_TYPE
- See Also:
-
JSON_PROPERTY_NET
- See Also:
-
JSON_PROPERTY_DISCOUNT
- See Also:
-
JSON_PROPERTY_DISCOUNT_P_C_T
- See Also:
-
JSON_PROPERTY_SELLING_RATE
- See Also:
-
JSON_PROPERTY_HOTEL_MANDATORY
- See Also:
-
JSON_PROPERTY_ALLOTMENT
- See Also:
-
JSON_PROPERTY_COMMISSION
- See Also:
-
JSON_PROPERTY_COMMISSION_V_A_T
- See Also:
-
JSON_PROPERTY_COMMISSION_P_C_T
- See Also:
-
JSON_PROPERTY_RATE_COMMENTS_ID
- See Also:
-
JSON_PROPERTY_RATE_COMMENTS
- See Also:
-
JSON_PROPERTY_PACKAGING
- See Also:
-
JSON_PROPERTY_BOARD_CODE
- See Also:
-
JSON_PROPERTY_BOARD_NAME
- See Also:
-
JSON_PROPERTY_ROOMS
- See Also:
-
JSON_PROPERTY_ADULTS
- See Also:
-
JSON_PROPERTY_CHILDREN
- See Also:
-
JSON_PROPERTY_CHILDREN_AGES
- See Also:
-
JSON_PROPERTY_RATEUP
- See Also:
-
JSON_PROPERTY_BRAND
- See Also:
-
JSON_PROPERTY_RESIDENT
- See Also:
-
JSON_PROPERTY_CANCELLATION_POLICIES
- See Also:
-
JSON_PROPERTY_TAXES
- See Also:
-
JSON_PROPERTY_PROMOTIONS
- See Also:
-
JSON_PROPERTY_OFFERS
- See Also:
-
JSON_PROPERTY_SHIFT_RATES
- See Also:
-
-
Constructor Details
-
ApiRateBookingConfirm
public ApiRateBookingConfirm()
-
-
Method Details
-
rateKey
-
getRateKey
Internal key that represents a combination of room type, category, board and occupancy. Is returned in Availability and used to valuate a rate and confirm a booking.- Returns:
- rateKey
-
setRateKey
-
rateClass
-
getRateClass
Class of the rate.- Returns:
- rateClass
-
setRateClass
-
rateType
-
getRateType
Determines if can booked directly (BOOKABLE) or if it needs to be checked with the ‘CheckRate’ operation (RECHECK).- Returns:
- rateType
-
setRateType
-
net
-
getNet
Net price of the rate.- Returns:
- net
-
setNet
-
discount
-
getDiscount
Profit margin that the agency would take if it sells at that recommended price.- Returns:
- discount
-
setDiscount
-
discountPCT
-
getDiscountPCT
Percentual share of the price corresponding to the profit margin the agency would take if it sells at that recommended price.- Returns:
- discountPCT
-
setDiscountPCT
-
sellingRate
-
getSellingRate
Gross price of the room in case it is included.- Returns:
- sellingRate
-
setSellingRate
-
hotelMandatory
-
getHotelMandatory
Identifies if the rate price is recommended.- Returns:
- hotelMandatory
-
setHotelMandatory
-
allotment
-
getAllotment
Number of rooms available for a particular room type.- Returns:
- allotment
-
setAllotment
-
commission
-
getCommission
Profit margin the agency takes (commissionable model).- Returns:
- commission
-
setCommission
-
commissionVAT
-
getCommissionVAT
Share of the commission corresponding to the Value Added Tax.- Returns:
- commissionVAT
-
setCommissionVAT
-
commissionPCT
-
getCommissionPCT
Percentual share of the price corresponding to commision.- Returns:
- commissionPCT
-
setCommissionPCT
-
rateCommentsId
-
getRateCommentsId
Comments associated to this rate (more information on [Hotel Content API](/documentation/hotels/content-api/api-reference/) ).- Returns:
- rateCommentsId
-
setRateCommentsId
-
rateComments
-
getRateComments
Rate comments that contain important information.- Returns:
- rateComments
-
setRateComments
-
packaging
-
getPackaging
Defines if the rate is for packaging.- Returns:
- packaging
-
setPackaging
-
boardCode
-
getBoardCode
Internal board code.- Returns:
- boardCode
-
setBoardCode
-
boardName
-
getBoardName
Board name/description.- Returns:
- boardName
-
setBoardName
-
rooms
-
getRooms
Number of rooms requested.- Returns:
- rooms
-
setRooms
-
adults
-
getAdults
Number of adults requested for each room.- Returns:
- adults
-
setAdults
-
children
-
getChildren
Number of children requested for each room.- Returns:
- children
-
setChildren
-
childrenAges
-
getChildrenAges
Ages of the children (if any).- Returns:
- childrenAges
-
setChildrenAges
-
rateup
-
getRateup
Difference between original rate price and upselling rate price.- Returns:
- rateup
-
setRateup
-
brand
-
getBrand
Brand of the hotel.- Returns:
- brand
-
setBrand
-
resident
-
getResident
Indicates if the rate is only for residents (only appears when resident rates are requested).- Returns:
- resident
-
setResident
-
cancellationPolicies
-
addCancellationPoliciesItem
public ApiRateBookingConfirm addCancellationPoliciesItem(ApiCancellationPolicy cancellationPoliciesItem) -
getCancellationPolicies
List of cancellation policies on the rate.- Returns:
- cancellationPolicies
-
setCancellationPolicies
-
taxes
-
getTaxes
Get taxes- Returns:
- taxes
-
setTaxes
-
promotions
-
addPromotionsItem
-
getPromotions
List of promotions on the rate.- Returns:
- promotions
-
setPromotions
-
offers
-
addOffersItem
-
getOffers
List of offers on the rate.- Returns:
- offers
-
setOffers
-
shiftRates
-
addShiftRatesItem
-
getShiftRates
Information about rates for alternative dates.- Returns:
- shiftRates
-
setShiftRates
-
equals
-
hashCode
public int hashCode() -
toString
-