Class CheckRateRQ
java.lang.Object
travel.wink.hotelbeds.booking.sdk.model.CheckRateRQ
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-10-04T11:28:08.331690043+07:00[Asia/Bangkok]")
public class CheckRateRQ
extends Object
Request of CheckRate operation.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddRoomsItem(ApiBookingRoom roomsItem) booleanWhen true, it will add either the percent or the numberOfnights to the cancellation policies.Language code that defines the language of the response.@Valid @Size(min=1,max=2147483647) List<ApiBookingRoom>getRooms()List of rooms to be checked/valuated.Parameter to add or remove the upSelling options node to the response.inthashCode()rooms(List<ApiBookingRoom> rooms) voidsetExpandCXL(Boolean expandCXL) voidsetLanguage(String language) voidsetRooms(List<ApiBookingRoom> rooms) voidsetUpselling(Boolean upselling) toString()
-
Field Details
-
JSON_PROPERTY_UPSELLING
- See Also:
-
JSON_PROPERTY_EXPAND_C_X_L
- See Also:
-
JSON_PROPERTY_LANGUAGE
- See Also:
-
JSON_PROPERTY_ROOMS
- See Also:
-
-
Constructor Details
-
CheckRateRQ
public CheckRateRQ()
-
-
Method Details
-
upselling
-
getUpselling
Parameter to add or remove the upSelling options node to the response.- Returns:
- upselling
-
setUpselling
-
expandCXL
-
getExpandCXL
When true, it will add either the percent or the numberOfnights to the cancellation policies.- Returns:
- expandCXL
-
setExpandCXL
-
language
-
getLanguage
Language code that defines the language of the response. English will be used by default if this field is not informed.- Returns:
- language
-
setLanguage
-
rooms
-
addRoomsItem
-
getRooms
@Nullable @Valid @Size(min=1, max=2147483647) public @Valid @Size(min=1,max=2147483647) List<ApiBookingRoom> getRooms()List of rooms to be checked/valuated.- Returns:
- rooms
-
setRooms
-
equals
-
hashCode
public int hashCode() -
toString
-