Class ApiShiftRate
java.lang.Object
travel.wink.hotelbeds.booking.sdk.model.ApiShiftRate
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-10-04T11:28:08.331690043+07:00[Asia/Bangkok]")
public class ApiShiftRate
extends Object
Definition of a rate for an alternative date to the one used in the availability request.
-
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 String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncommission(String commission) commissionPCT(String commissionPCT) commissionVAT(String commissionVAT) discountPCT(String discountPCT) booleanNumber of rooms available for a particular room type.getBrand()Brand of the hotel.@Valid LocalDateCheckIn date for the shift rate.@Valid LocalDateCheckIn date for the shift rate.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.Class of the rate.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).Indicates if the rate is only for residents (only appears when resident rates are requested).Gross price of the room in case it is included.inthashCode()hotelMandatory(Boolean hotelMandatory) rateType(ApiShiftRate.RateTypeEnum rateType) sellingRate(String sellingRate) voidsetAllotment(Integer allotment) voidvoidsetCheckIn(LocalDate checkIn) voidsetCheckOut(LocalDate checkOut) voidsetCommission(String commission) voidsetCommissionPCT(String commissionPCT) voidsetCommissionVAT(String commissionVAT) voidsetDiscount(String discount) voidsetDiscountPCT(String discountPCT) voidsetHotelMandatory(Boolean hotelMandatory) voidvoidsetRateClass(String rateClass) voidsetRateKey(String rateKey) voidsetRateType(ApiShiftRate.RateTypeEnum rateType) voidsetResident(Boolean resident) voidsetSellingRate(String sellingRate) 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_CHECK_IN
- See Also:
-
JSON_PROPERTY_CHECK_OUT
- See Also:
-
JSON_PROPERTY_BRAND
- See Also:
-
JSON_PROPERTY_RESIDENT
- See Also:
-
-
Constructor Details
-
ApiShiftRate
public ApiShiftRate()
-
-
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
-
checkIn
-
getCheckIn
CheckIn date for the shift rate. This will always be different than the requested date or the dates of the not alternative rates.- Returns:
- checkIn
-
setCheckIn
-
checkOut
-
getCheckOut
CheckIn date for the shift rate. This will always be different than the requested date or the dates of the not alternative rates.- Returns:
- checkOut
-
setCheckOut
-
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
-
equals
-
hashCode
public int hashCode() -
toString
-