Class ApiHotelFacility
java.lang.Object
travel.wink.hotelbeds.content.sdk.model.ApiHotelFacility
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-10-04T11:28:31.756188010+07:00[Asia/Bangkok]")
public class ApiHotelFacility
extends Object
Information on a hotel facility.
-
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 String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionamount(BigDecimal amount) applicationType(String applicationType) description(ApiContent description) booleanfacilityCode(Integer facilityCode) facilityGroupCode(Integer facilityGroupCode) facilityName(String facilityName) Minimum age to access the facility.getAgeTo()Maximum age to access the facility.@Valid BigDecimalAmount of the facility fee.Application type of the facility fee.Currency of the facility fee.Date from which the facility is available.Date until which the installation is available.@Valid ApiContentGet descriptionDistance in meters to the facility.Code of the facility.Group to which the facility belongs.Name of the facility.Defines if the facility has cost or not at the establishment.Indicates if the facility exists at the hotel.Indicates in the mandatory facility exists at the hotel or not.Numeric value of the facility.getOrder()Order of facility in case there is more than one facility at the hotel.Time from which the facility is available.Time until which the facility is available.Indicates if the use of the facility will issue a voucher.inthashCode()indYesOrNo(Boolean indYesOrNo) voidsetAgeFrom(Integer ageFrom) voidvoidsetAmount(BigDecimal amount) voidsetApplicationType(String applicationType) voidsetCurrency(String currency) voidsetDateFrom(String dateFrom) voidvoidsetDescription(ApiContent description) voidsetDistance(Integer distance) voidsetFacilityCode(Integer facilityCode) voidsetFacilityGroupCode(Integer facilityGroupCode) voidsetFacilityName(String facilityName) voidvoidsetIndLogic(Boolean indLogic) voidsetIndYesOrNo(Boolean indYesOrNo) voidvoidvoidsetTimeFrom(String timeFrom) voidvoidsetVoucher(Boolean voucher) toString()
-
Field Details
-
JSON_PROPERTY_AGE_FROM
- See Also:
-
JSON_PROPERTY_AGE_TO
- See Also:
-
JSON_PROPERTY_AMOUNT
- See Also:
-
JSON_PROPERTY_APPLICATION_TYPE
- See Also:
-
JSON_PROPERTY_CURRENCY
- See Also:
-
JSON_PROPERTY_DATE_FROM
- See Also:
-
JSON_PROPERTY_DATE_TO
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_DISTANCE
- See Also:
-
JSON_PROPERTY_FACILITY_CODE
- See Also:
-
JSON_PROPERTY_FACILITY_GROUP_CODE
- See Also:
-
JSON_PROPERTY_FACILITY_NAME
- See Also:
-
JSON_PROPERTY_IND_FEE
- See Also:
-
JSON_PROPERTY_IND_LOGIC
- See Also:
-
JSON_PROPERTY_IND_YES_OR_NO
- See Also:
-
JSON_PROPERTY_NUMBER
- See Also:
-
JSON_PROPERTY_ORDER
- See Also:
-
JSON_PROPERTY_TIME_FROM
- See Also:
-
JSON_PROPERTY_TIME_TO
- See Also:
-
JSON_PROPERTY_VOUCHER
- See Also:
-
-
Constructor Details
-
ApiHotelFacility
public ApiHotelFacility()
-
-
Method Details
-
ageFrom
-
getAgeFrom
Minimum age to access the facility.- Returns:
- ageFrom
-
setAgeFrom
-
ageTo
-
getAgeTo
Maximum age to access the facility.- Returns:
- ageTo
-
setAgeTo
-
amount
-
getAmount
Amount of the facility fee.- Returns:
- amount
-
setAmount
-
applicationType
-
getApplicationType
Application type of the facility fee.- Returns:
- applicationType
-
setApplicationType
-
currency
-
getCurrency
Currency of the facility fee.- Returns:
- currency
-
setCurrency
-
dateFrom
-
getDateFrom
Date from which the facility is available.- Returns:
- dateFrom
-
setDateFrom
-
dateTo
-
getDateTo
Date until which the installation is available.- Returns:
- dateTo
-
setDateTo
-
description
-
getDescription
Get description- Returns:
- description
-
setDescription
-
distance
-
getDistance
Distance in meters to the facility.- Returns:
- distance
-
setDistance
-
facilityCode
-
getFacilityCode
Code of the facility.- Returns:
- facilityCode
-
setFacilityCode
-
facilityGroupCode
-
getFacilityGroupCode
Group to which the facility belongs.- Returns:
- facilityGroupCode
-
setFacilityGroupCode
-
facilityName
-
getFacilityName
Name of the facility.- Returns:
- facilityName
-
setFacilityName
-
indFee
-
getIndFee
Defines if the facility has cost or not at the establishment.- Returns:
- indFee
-
setIndFee
-
indLogic
-
getIndLogic
Indicates if the facility exists at the hotel. This field will be returned __only__ when the facility is at the hotel.- Returns:
- indLogic
-
setIndLogic
-
indYesOrNo
-
getIndYesOrNo
Indicates in the mandatory facility exists at the hotel or not.- Returns:
- indYesOrNo
-
setIndYesOrNo
-
number
-
getNumber
Numeric value of the facility.- Returns:
- number
-
setNumber
-
order
-
getOrder
Order of facility in case there is more than one facility at the hotel.- Returns:
- order
-
setOrder
-
timeFrom
-
getTimeFrom
Time from which the facility is available.- Returns:
- timeFrom
-
setTimeFrom
-
timeTo
-
getTimeTo
Time until which the facility is available.- Returns:
- timeTo
-
setTimeTo
-
voucher
-
getVoucher
Indicates if the use of the facility will issue a voucher.- Returns:
- voucher
-
setVoucher
-
equals
-
hashCode
public int hashCode() -
toString
-