Class CreateMerchantBookingRequest
java.lang.Object
travel.wink.sdk.booking.engine.model.CreateMerchantBookingRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-05-28T12:57:01.511487+07:00[Asia/Bangkok]")
public class CreateMerchantBookingRequest
extends Object
CreateMerchantBookingRequest
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddRoomsItem(MerchantBookingRequest roomsItem) displayCurrency(String displayCurrency) displayLanguage(String displayLanguage) engineConfigurationIdentifier(String engineConfigurationIdentifier) boolean@NotNull StringThe desired currency@NotNull StringThe desired languageOptionally include the specific configuration used to make the booking.@NotNull @Valid List<MerchantBookingRequest>getRooms()List of room configuration booking requests.inthashCode()rooms(List<MerchantBookingRequest> rooms) voidsetDisplayCurrency(String displayCurrency) voidsetDisplayLanguage(String displayLanguage) voidsetEngineConfigurationIdentifier(String engineConfigurationIdentifier) voidsetRooms(List<MerchantBookingRequest> rooms) toString()
-
Field Details
-
JSON_PROPERTY_ROOMS
- See Also:
-
JSON_PROPERTY_DISPLAY_CURRENCY
- See Also:
-
JSON_PROPERTY_DISPLAY_LANGUAGE
- See Also:
-
JSON_PROPERTY_ENGINE_CONFIGURATION_IDENTIFIER
- See Also:
-
-
Constructor Details
-
CreateMerchantBookingRequest
public CreateMerchantBookingRequest()
-
-
Method Details
-
rooms
-
addRoomsItem
-
getRooms
List of room configuration booking requests. Each entry is a separately booked room.- Returns:
- rooms
-
setRooms
-
displayCurrency
-
getDisplayCurrency
The desired currency- Returns:
- displayCurrency
-
setDisplayCurrency
-
displayLanguage
-
getDisplayLanguage
The desired language- Returns:
- displayLanguage
-
setDisplayLanguage
-
engineConfigurationIdentifier
public CreateMerchantBookingRequest engineConfigurationIdentifier(String engineConfigurationIdentifier) -
getEngineConfigurationIdentifier
Optionally include the specific configuration used to make the booking. If no identifier is included, it will default to the primary application configuration.- Returns:
- engineConfigurationIdentifier
-
setEngineConfigurationIdentifier
-
equals
-
hashCode
public int hashCode() -
toString
-