Package travel.wink.sdk.extranet.model
Class UpsertGuestRoomRequestSupplier
java.lang.Object
travel.wink.sdk.extranet.model.UpsertGuestRoomRequestSupplier
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-08-24T16:36:44.138518294+07:00[Asia/Bangkok]")
public class UpsertGuestRoomRequestSupplier
extends Object
UpsertGuestRoomRequestSupplier
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumIndicate the type of lifestyle this inventory should be associated with.static enumLevel of expensiveness.static enumUsed to request or specify a gender assignment for a room. -
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 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 TypeMethodDescriptionaddAmenitiesItem(String amenitiesItem) addBedroomConfigurationListItem(BedroomConfigurationSupplier bedroomConfigurationListItem) addDescriptionsItem(SimpleDescriptionSupplier descriptionsItem) addDisabilityFeaturesItem(String disabilityFeaturesItem) addMultimediasItem(SimpleMultimediaSupplier multimediasItem) addRecognitionListItem(TravelInventoryRecognitionSupplier recognitionListItem) address(UpsertAddressRequestSupplier address) addSecurityFeaturesItem(String securityFeaturesItem) addSocialsItem(SocialSupplier socialsItem) addTransactionalInventoryListItem(TransactionalTravelInventorySupplier transactionalInventoryListItem) addTransactionInventoryListItem(TransactionalTravelInventorySupplier transactionInventoryListItem) baseRate(CustomMonetaryAmount baseRate) bathroomCount(Integer bathroomCount) bedroomConfigurationList(List<BedroomConfigurationSupplier> bedroomConfigurationList) commissionable(Boolean commissionable) compositeCount(Integer compositeCount) contact(ContactSupplier contact) descriptions(List<SimpleDescriptionSupplier> descriptions) disabilityFeatures(List<String> disabilityFeatures) booleanfeaturedInd(Boolean featuredInd) @NotNull BooleanModify inventory availability with this flag.@NotNull @Valid UpsertAddressRequestSupplierGet addressCollection of room amenity items available to the guest.@NotNull @Valid CustomMonetaryAmountGet baseRate@NotNull @Min(0L) IntegerNumber of bathrooms minimum: 0@NotNull @Valid List<BedroomConfigurationSupplier>A room type can have more than one bed configuration.@NotNull BooleanIndicates if this inventory can be added to a booking or if it is read-only marketing material only.@NotNull BooleanIndicate whether sales channels receive commission for selling this inventory.@NotNull BooleanIndicates that the room (suite) is a composite of smaller units.@NotNull @Min(0L) IntegerNumber of rooms of this room type that makes up a larger unit (composite) such as a two bedroom suite could be comprised of two king rooms plus other room types.@Valid ContactSupplierGet contact@NotNull @Valid List<SimpleDescriptionSupplier>Localized descriptions describing inventory.Supported OTA specification `PHY` code.@NotNull BooleanIndicates whether this inventory is featured.getFloor()Floor an which a room is located@NotNull @Min(0L) IntegerThe number of pax the room price was meant for minimum: 0@NotNull @Min(0L) IntegerThe number of children the room price was meant for minimum: 0Indicate the type of lifestyle this inventory should be associated with.@NotNull @Min(0L) IntegerNumber of living rooms minimum: 0@NotNull @Valid GeoJsonPointSupplierGet location@NotNull @Min(1L) IntegerMaximum number of adults allowed in a room type.@NotNull @Min(0L) IntegerMaximum number of children allowed in a room type.@NotNull @Min(0L) IntegerMaximum number of cribs allowed in a room type.@NotNull @Min(1L) IntegerMaximum number of guest allowed in a room type.@NotNull @Min(0L) IntegerMaximum number of rollaway beds allowed in this room type.Supported OTA specification `AQC` code.@NotNull @Min(1L) IntegerMinimum number of guests allowed in a room type.@NotNull @Valid CustomMonetaryAmountGet minRate@NotNull @Valid List<SimpleMultimediaSupplier>List of images / videos of inventory.@NotNull StringgetName()Internal name of inventory.@NotNull BooleanNon-smoking indicatorLevel of expensiveness.Supported OTA specification `PRX` code.@NotNull @Min(1L) IntegerDefines the number of rooms of this type minimum: 1Inventory-level recognition.@NotNull StringSpecifies the architectural style of a room.@NotNull StringIndicates the category of the room.@NotNull StringSpecifies the room classification (e.g., cabin, apartment).Used to request or specify a gender assignment for a room.@NotNull StringIndicates the location of the room within the hotel structure.@NotNull StringIndicates the view of the room.Supported OTA specification `SEC` code.@NotNull BooleanIf TRUE, the room requires or has sharing available.@NotNull @DecimalMin("1") FloatgetSize()Number of square meters that defines the size of this room type.@Valid List<SocialSupplier>Social network accounts for inventory (if applicable).getSort()Use this property to sort an inventory in a list of activities.Purchasable items for this inventory.Get transactionInventoryListinthashCode()includedAdultOccupancy(Integer includedAdultOccupancy) includedChildOccupancy(Integer includedChildOccupancy) lifestyleType(UpsertGuestRoomRequestSupplier.LifestyleTypeEnum lifestyleType) livingRoomCount(Integer livingRoomCount) location(GeoJsonPointSupplier location) maxAdultOccupancy(Integer maxAdultOccupancy) maxChildOccupancy(Integer maxChildOccupancy) maxOccupancy(Integer maxOccupancy) maxRollaways(Integer maxRollaways) minAgeAppropriateCode(String minAgeAppropriateCode) minOccupancy(Integer minOccupancy) minRate(CustomMonetaryAmount minRate) multimedias(List<SimpleMultimediaSupplier> multimedias) nonSmoking(Boolean nonSmoking) proximityCode(String proximityCode) recognitionList(List<TravelInventoryRecognitionSupplier> recognitionList) roomArchitectureCode(String roomArchitectureCode) roomCategory(String roomCategory) roomClassificationCode(String roomClassificationCode) roomLocationCode(String roomLocationCode) roomViewCode(String roomViewCode) securityFeatures(List<String> securityFeatures) voidvoidsetAddress(UpsertAddressRequestSupplier address) voidsetAmenities(List<String> amenities) voidsetBaseRate(CustomMonetaryAmount baseRate) voidsetBathroomCount(Integer bathroomCount) voidsetBedroomConfigurationList(List<BedroomConfigurationSupplier> bedroomConfigurationList) voidsetBookable(Boolean bookable) voidsetCommissionable(Boolean commissionable) voidsetComposite(Boolean composite) voidsetCompositeCount(Integer compositeCount) voidsetContact(ContactSupplier contact) voidsetDescriptions(List<SimpleDescriptionSupplier> descriptions) voidsetDisabilityFeatures(List<String> disabilityFeatures) voidsetFeaturedInd(Boolean featuredInd) voidvoidsetIncludedAdultOccupancy(Integer includedAdultOccupancy) voidsetIncludedChildOccupancy(Integer includedChildOccupancy) voidsetLifestyleType(UpsertGuestRoomRequestSupplier.LifestyleTypeEnum lifestyleType) voidsetLivingRoomCount(Integer livingRoomCount) voidsetLocation(GeoJsonPointSupplier location) voidsetMaxAdultOccupancy(Integer maxAdultOccupancy) voidsetMaxChildOccupancy(Integer maxChildOccupancy) voidsetMaxCribs(Integer maxCribs) voidsetMaxOccupancy(Integer maxOccupancy) voidsetMaxRollaways(Integer maxRollaways) voidsetMinAgeAppropriateCode(String minAgeAppropriateCode) voidsetMinOccupancy(Integer minOccupancy) voidsetMinRate(CustomMonetaryAmount minRate) voidsetMultimedias(List<SimpleMultimediaSupplier> multimedias) voidvoidsetNonSmoking(Boolean nonSmoking) voidvoidsetProximityCode(String proximityCode) voidsetQuantity(Integer quantity) voidsetRecognitionList(List<TravelInventoryRecognitionSupplier> recognitionList) voidsetRoomArchitectureCode(String roomArchitectureCode) voidsetRoomCategory(String roomCategory) voidsetRoomClassificationCode(String roomClassificationCode) voidvoidsetRoomLocationCode(String roomLocationCode) voidsetRoomViewCode(String roomViewCode) voidsetSecurityFeatures(List<String> securityFeatures) voidsetSharedRoomInd(Boolean sharedRoomInd) voidvoidsetSocials(List<SocialSupplier> socials) voidvoidsetTransactionalInventoryList(List<TransactionalTravelInventorySupplier> transactionalInventoryList) voidsetTransactionInventoryList(List<TransactionalTravelInventorySupplier> transactionInventoryList) sharedRoomInd(Boolean sharedRoomInd) socials(List<SocialSupplier> socials) toString()transactionalInventoryList(List<TransactionalTravelInventorySupplier> transactionalInventoryList) transactionInventoryList(List<TransactionalTravelInventorySupplier> transactionInventoryList)
-
Field Details
-
JSON_PROPERTY_FEATURED_IND
- See Also:
-
JSON_PROPERTY_LIFESTYLE_TYPE
- See Also:
-
JSON_PROPERTY_LOCATION
- See Also:
-
JSON_PROPERTY_DESCRIPTIONS
- See Also:
-
JSON_PROPERTY_MULTIMEDIAS
- See Also:
-
JSON_PROPERTY_ADDRESS
- See Also:
-
JSON_PROPERTY_COMMISSIONABLE
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_PROXIMITY_CODE
- See Also:
-
JSON_PROPERTY_SORT
- See Also:
-
JSON_PROPERTY_MIN_AGE_APPROPRIATE_CODE
- See Also:
-
JSON_PROPERTY_BOOKABLE
- See Also:
-
JSON_PROPERTY_ACTIVE
- See Also:
-
JSON_PROPERTY_DISABILITY_FEATURES
- See Also:
-
JSON_PROPERTY_SECURITY_FEATURES
- See Also:
-
JSON_PROPERTY_CONTACT
- See Also:
-
JSON_PROPERTY_SOCIALS
- See Also:
-
JSON_PROPERTY_PRICE_POINT
- See Also:
-
JSON_PROPERTY_RECOGNITION_LIST
- See Also:
-
JSON_PROPERTY_TRANSACTION_INVENTORY_LIST
- See Also:
-
JSON_PROPERTY_MAX_OCCUPANCY
- See Also:
-
JSON_PROPERTY_MIN_OCCUPANCY
- See Also:
-
JSON_PROPERTY_QUANTITY
- See Also:
-
JSON_PROPERTY_NON_SMOKING
- See Also:
-
JSON_PROPERTY_BEDROOM_CONFIGURATION_LIST
- See Also:
-
JSON_PROPERTY_SIZE
- See Also:
-
JSON_PROPERTY_MAX_ADULT_OCCUPANCY
- See Also:
-
JSON_PROPERTY_MAX_CHILD_OCCUPANCY
- See Also:
-
JSON_PROPERTY_BATHROOM_COUNT
- See Also:
-
JSON_PROPERTY_LIVING_ROOM_COUNT
- See Also:
-
JSON_PROPERTY_MAX_ROLLAWAYS
- See Also:
-
JSON_PROPERTY_ROOM_CATEGORY
- See Also:
-
JSON_PROPERTY_FLOOR
- See Also:
-
JSON_PROPERTY_ROOM_LOCATION_CODE
- See Also:
-
JSON_PROPERTY_ROOM_VIEW_CODE
- See Also:
-
JSON_PROPERTY_COMPOSITE
- See Also:
-
JSON_PROPERTY_COMPOSITE_COUNT
- See Also:
-
JSON_PROPERTY_ROOM_CLASSIFICATION_CODE
- See Also:
-
JSON_PROPERTY_ROOM_ARCHITECTURE_CODE
- See Also:
-
JSON_PROPERTY_ROOM_GENDER
- See Also:
-
JSON_PROPERTY_SHARED_ROOM_IND
- See Also:
-
JSON_PROPERTY_MAX_CRIBS
- See Also:
-
JSON_PROPERTY_AMENITIES
- See Also:
-
JSON_PROPERTY_INCLUDED_ADULT_OCCUPANCY
- See Also:
-
JSON_PROPERTY_INCLUDED_CHILD_OCCUPANCY
- See Also:
-
JSON_PROPERTY_BASE_RATE
- See Also:
-
JSON_PROPERTY_MIN_RATE
- See Also:
-
JSON_PROPERTY_TRANSACTIONAL_INVENTORY_LIST
- See Also:
-
-
Constructor Details
-
UpsertGuestRoomRequestSupplier
public UpsertGuestRoomRequestSupplier()
-
-
Method Details
-
featuredInd
-
getFeaturedInd
Indicates whether this inventory is featured. Use this flag as a way to signify that this inventory is special.- Returns:
- featuredInd
-
setFeaturedInd
-
lifestyleType
public UpsertGuestRoomRequestSupplier lifestyleType(UpsertGuestRoomRequestSupplier.LifestyleTypeEnum lifestyleType) -
getLifestyleType
Indicate the type of lifestyle this inventory should be associated with.- Returns:
- lifestyleType
-
setLifestyleType
-
location
-
getLocation
Get location- Returns:
- location
-
setLocation
-
descriptions
-
addDescriptionsItem
public UpsertGuestRoomRequestSupplier addDescriptionsItem(SimpleDescriptionSupplier descriptionsItem) -
getDescriptions
Localized descriptions describing inventory.- Returns:
- descriptions
-
setDescriptions
-
multimedias
-
addMultimediasItem
-
getMultimedias
List of images / videos of inventory.- Returns:
- multimedias
-
setMultimedias
-
address
-
getAddress
Get address- Returns:
- address
-
setAddress
-
commissionable
-
getCommissionable
Indicate whether sales channels receive commission for selling this inventory.- Returns:
- commissionable
-
setCommissionable
-
name
-
getName
Internal name of inventory.- Returns:
- name
-
setName
-
proximityCode
-
getProximityCode
Supported OTA specification `PRX` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)- Returns:
- proximityCode
-
setProximityCode
-
sort
-
getSort
Use this property to sort an inventory in a list of activities.- Returns:
- sort
-
setSort
-
minAgeAppropriateCode
-
getMinAgeAppropriateCode
Supported OTA specification `AQC` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)- Returns:
- minAgeAppropriateCode
-
setMinAgeAppropriateCode
-
bookable
-
getBookable
Indicates if this inventory can be added to a booking or if it is read-only marketing material only.- Returns:
- bookable
-
setBookable
-
active
-
getActive
Modify inventory availability with this flag.- Returns:
- active
-
setActive
-
disabilityFeatures
-
addDisabilityFeaturesItem
-
getDisabilityFeatures
Supported OTA specification `PHY` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)- Returns:
- disabilityFeatures
-
setDisabilityFeatures
-
securityFeatures
-
addSecurityFeaturesItem
-
getSecurityFeatures
Supported OTA specification `SEC` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)- Returns:
- securityFeatures
-
setSecurityFeatures
-
contact
-
getContact
Get contact- Returns:
- contact
-
setContact
-
addSocialsItem
-
getSocials
Social network accounts for inventory (if applicable).- Returns:
- socials
-
setSocials
-
pricePoint
public UpsertGuestRoomRequestSupplier pricePoint(UpsertGuestRoomRequestSupplier.PricePointEnum pricePoint) -
getPricePoint
Level of expensiveness.- Returns:
- pricePoint
-
setPricePoint
-
recognitionList
public UpsertGuestRoomRequestSupplier recognitionList(List<TravelInventoryRecognitionSupplier> recognitionList) -
addRecognitionListItem
public UpsertGuestRoomRequestSupplier addRecognitionListItem(TravelInventoryRecognitionSupplier recognitionListItem) -
getRecognitionList
Inventory-level recognition.- Returns:
- recognitionList
-
setRecognitionList
-
transactionInventoryList
public UpsertGuestRoomRequestSupplier transactionInventoryList(List<TransactionalTravelInventorySupplier> transactionInventoryList) -
addTransactionInventoryListItem
public UpsertGuestRoomRequestSupplier addTransactionInventoryListItem(TransactionalTravelInventorySupplier transactionInventoryListItem) -
getTransactionInventoryList
@Nullable @Valid public @Valid List<TransactionalTravelInventorySupplier> getTransactionInventoryList()Get transactionInventoryList- Returns:
- transactionInventoryList
-
setTransactionInventoryList
public void setTransactionInventoryList(List<TransactionalTravelInventorySupplier> transactionInventoryList) -
maxOccupancy
-
getMaxOccupancy
Maximum number of guest allowed in a room type. minimum: 1- Returns:
- maxOccupancy
-
setMaxOccupancy
-
minOccupancy
-
getMinOccupancy
Minimum number of guests allowed in a room type. minimum: 1- Returns:
- minOccupancy
-
setMinOccupancy
-
quantity
-
getQuantity
Defines the number of rooms of this type minimum: 1- Returns:
- quantity
-
setQuantity
-
nonSmoking
-
getNonSmoking
Non-smoking indicator- Returns:
- nonSmoking
-
setNonSmoking
-
bedroomConfigurationList
public UpsertGuestRoomRequestSupplier bedroomConfigurationList(List<BedroomConfigurationSupplier> bedroomConfigurationList) -
addBedroomConfigurationListItem
public UpsertGuestRoomRequestSupplier addBedroomConfigurationListItem(BedroomConfigurationSupplier bedroomConfigurationListItem) -
getBedroomConfigurationList
@Nonnull @NotNull @Valid public @NotNull @Valid List<BedroomConfigurationSupplier> getBedroomConfigurationList()A room type can have more than one bed configuration.- Returns:
- bedroomConfigurationList
-
setBedroomConfigurationList
public void setBedroomConfigurationList(List<BedroomConfigurationSupplier> bedroomConfigurationList) -
size
-
getSize
Number of square meters that defines the size of this room type. minimum: 1- Returns:
- size
-
setSize
-
maxAdultOccupancy
-
getMaxAdultOccupancy
Maximum number of adults allowed in a room type. minimum: 1- Returns:
- maxAdultOccupancy
-
setMaxAdultOccupancy
-
maxChildOccupancy
-
getMaxChildOccupancy
Maximum number of children allowed in a room type. minimum: 0- Returns:
- maxChildOccupancy
-
setMaxChildOccupancy
-
bathroomCount
-
getBathroomCount
Number of bathrooms minimum: 0- Returns:
- bathroomCount
-
setBathroomCount
-
livingRoomCount
-
getLivingRoomCount
Number of living rooms minimum: 0- Returns:
- livingRoomCount
-
setLivingRoomCount
-
maxRollaways
-
getMaxRollaways
Maximum number of rollaway beds allowed in this room type. minimum: 0- Returns:
- maxRollaways
-
setMaxRollaways
-
roomCategory
-
getRoomCategory
Indicates the category of the room. Typical values would be Moderate, Standard, or Deluxe. Supported OTA specification `SEG` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)- Returns:
- roomCategory
-
setRoomCategory
-
floor
-
getFloor
Floor an which a room is located- Returns:
- floor
-
setFloor
-
roomLocationCode
-
getRoomLocationCode
Indicates the location of the room within the hotel structure. Typical values would be \"Near Exit\",\"Close to elevator\", \"Low Floor\" or \"High Floor\". Supported OTA specification `RLT` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)- Returns:
- roomLocationCode
-
setRoomLocationCode
-
roomViewCode
-
getRoomViewCode
Indicates the view of the room. Typical values would be \"Ocean view\", \"Pool view\" or \"Garden View\". Supported OTA specification `RVT` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)- Returns:
- roomViewCode
-
setRoomViewCode
-
composite
-
getComposite
Indicates that the room (suite) is a composite of smaller units.- Returns:
- composite
-
setComposite
-
compositeCount
-
getCompositeCount
Number of rooms of this room type that makes up a larger unit (composite) such as a two bedroom suite could be comprised of two king rooms plus other room types. A 0 means disabled. minimum: 0- Returns:
- compositeCount
-
setCompositeCount
-
roomClassificationCode
-
getRoomClassificationCode
Specifies the room classification (e.g., cabin, apartment). Supported OTA specification `GRI` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)- Returns:
- roomClassificationCode
-
setRoomClassificationCode
-
roomArchitectureCode
-
getRoomArchitectureCode
Specifies the architectural style of a room. Supported OTA specification `ARC` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)- Returns:
- roomArchitectureCode
-
setRoomArchitectureCode
-
roomGender
public UpsertGuestRoomRequestSupplier roomGender(UpsertGuestRoomRequestSupplier.RoomGenderEnum roomGender) -
getRoomGender
Used to request or specify a gender assignment for a room. Note: Typically used by Hosteliers.- Returns:
- roomGender
-
setRoomGender
-
maxCribs
-
getMaxCribs
Maximum number of cribs allowed in a room type. minimum: 0- Returns:
- maxCribs
-
setMaxCribs
-
amenities
-
addAmenitiesItem
-
getAmenities
Collection of room amenity items available to the guest. Supported OTA specification `RMA` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)- Returns:
- amenities
-
setAmenities
-
includedAdultOccupancy
-
getIncludedAdultOccupancy
The number of pax the room price was meant for minimum: 0- Returns:
- includedAdultOccupancy
-
setIncludedAdultOccupancy
-
includedChildOccupancy
-
getIncludedChildOccupancy
The number of children the room price was meant for minimum: 0- Returns:
- includedChildOccupancy
-
setIncludedChildOccupancy
-
baseRate
-
getBaseRate
Get baseRate- Returns:
- baseRate
-
setBaseRate
-
minRate
-
getMinRate
Get minRate- Returns:
- minRate
-
setMinRate
-
transactionalInventoryList
public UpsertGuestRoomRequestSupplier transactionalInventoryList(List<TransactionalTravelInventorySupplier> transactionalInventoryList) -
addTransactionalInventoryListItem
public UpsertGuestRoomRequestSupplier addTransactionalInventoryListItem(TransactionalTravelInventorySupplier transactionalInventoryListItem) -
getTransactionalInventoryList
@Nullable @Valid public @Valid List<TransactionalTravelInventorySupplier> getTransactionalInventoryList()Purchasable items for this inventory.- Returns:
- transactionalInventoryList
-
setTransactionalInventoryList
public void setTransactionalInventoryList(List<TransactionalTravelInventorySupplier> transactionalInventoryList) -
equals
-
hashCode
public int hashCode() -
toString
-
socials