Class PropertyPolicyAffiliate
java.lang.Object
travel.wink.sdk.affiliate.browse.model.PropertyPolicyAffiliate
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-06-26T20:15:43.926055890+07:00[Asia/Bangkok]",
comments="Generator version: 7.13.0")
public class PropertyPolicyAffiliate
extends Object
Outlines basic policies for the property.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumIndicates the availability of internet on the property.static enumIndicates where internet is available in and around the property.static enumIndicates how guests can access the Internet on the property.static enumIndicates what type of parking is available at the property.static enumIndicates whether parking is available at the property. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncheckInTime(String checkInTime) checkOutTime(String checkOutTime) childrenAllowed(Boolean childrenAllowed) childrenMinimumAge(Integer childrenMinimumAge) boolean@NotNull @Size(min=1) StringWhen the guest can check in.@NotNull @Size(min=1) StringWhen the guest has to check out.@NotNull BooleanIndicates whether property allows childrenWhen a property allows children, it can also indicate what the minimum age is for children to be allowed.Indicates the availability of internet on the property.Indicates where internet is available in and around the property.Indicates how guests can access the Internet on the property.Indicates what type of parking is available at the property.Indicates whether parking is available at the property.@Valid CustomMonetaryAmountIf pets are allowed, property can tell travelers if there is a charge applicable for the pet.If pets are allowed, property can further limit on weight.@NotNull BooleanIndicates whether pets are allowed on the property.inthashCode()internetAvailability(PropertyPolicyAffiliate.InternetAvailabilityEnum internetAvailability) internetConnectionLocation(PropertyPolicyAffiliate.InternetConnectionLocationEnum internetConnectionLocation) internetConnectionType(PropertyPolicyAffiliate.InternetConnectionTypeEnum internetConnectionType) parkingAccess(PropertyPolicyAffiliate.ParkingAccessEnum parkingAccess) parkingAvailability(PropertyPolicyAffiliate.ParkingAvailabilityEnum parkingAvailability) petCharge(CustomMonetaryAmount petCharge) petMaxWeightInKilos(Integer petMaxWeightInKilos) petsAllowed(Boolean petsAllowed) voidsetCheckInTime(String checkInTime) voidsetCheckOutTime(String checkOutTime) voidsetChildrenAllowed(Boolean childrenAllowed) voidsetChildrenMinimumAge(Integer childrenMinimumAge) voidsetInternetAvailability(PropertyPolicyAffiliate.InternetAvailabilityEnum internetAvailability) voidsetInternetConnectionLocation(PropertyPolicyAffiliate.InternetConnectionLocationEnum internetConnectionLocation) voidsetInternetConnectionType(PropertyPolicyAffiliate.InternetConnectionTypeEnum internetConnectionType) voidsetParkingAccess(PropertyPolicyAffiliate.ParkingAccessEnum parkingAccess) voidsetParkingAvailability(PropertyPolicyAffiliate.ParkingAvailabilityEnum parkingAvailability) voidsetPetCharge(CustomMonetaryAmount petCharge) voidsetPetMaxWeightInKilos(Integer petMaxWeightInKilos) voidsetPetsAllowed(Boolean petsAllowed) toString()
-
Field Details
-
JSON_PROPERTY_CHILDREN_ALLOWED
- See Also:
-
JSON_PROPERTY_CHILDREN_MINIMUM_AGE
- See Also:
-
JSON_PROPERTY_INTERNET_AVAILABILITY
- See Also:
-
JSON_PROPERTY_INTERNET_CONNECTION_TYPE
- See Also:
-
JSON_PROPERTY_INTERNET_CONNECTION_LOCATION
- See Also:
-
JSON_PROPERTY_PARKING_AVAILABILITY
- See Also:
-
JSON_PROPERTY_PARKING_ACCESS
- See Also:
-
JSON_PROPERTY_PETS_ALLOWED
- See Also:
-
JSON_PROPERTY_PET_MAX_WEIGHT_IN_KILOS
- See Also:
-
JSON_PROPERTY_PET_CHARGE
- See Also:
-
JSON_PROPERTY_CHECK_OUT_TIME
- See Also:
-
JSON_PROPERTY_CHECK_IN_TIME
- See Also:
-
-
Constructor Details
-
PropertyPolicyAffiliate
public PropertyPolicyAffiliate()
-
-
Method Details
-
childrenAllowed
-
getChildrenAllowed
Indicates whether property allows children- Returns:
- childrenAllowed
-
setChildrenAllowed
-
childrenMinimumAge
-
getChildrenMinimumAge
When a property allows children, it can also indicate what the minimum age is for children to be allowed.- Returns:
- childrenMinimumAge
-
setChildrenMinimumAge
-
internetAvailability
public PropertyPolicyAffiliate internetAvailability(@Nonnull PropertyPolicyAffiliate.InternetAvailabilityEnum internetAvailability) -
getInternetAvailability
@Nonnull @NotNull public @NotNull PropertyPolicyAffiliate.InternetAvailabilityEnum getInternetAvailability()Indicates the availability of internet on the property.- Returns:
- internetAvailability
-
setInternetAvailability
public void setInternetAvailability(@Nonnull PropertyPolicyAffiliate.InternetAvailabilityEnum internetAvailability) -
internetConnectionType
public PropertyPolicyAffiliate internetConnectionType(@Nonnull PropertyPolicyAffiliate.InternetConnectionTypeEnum internetConnectionType) -
getInternetConnectionType
@Nonnull @NotNull public @NotNull PropertyPolicyAffiliate.InternetConnectionTypeEnum getInternetConnectionType()Indicates how guests can access the Internet on the property.- Returns:
- internetConnectionType
-
setInternetConnectionType
public void setInternetConnectionType(@Nonnull PropertyPolicyAffiliate.InternetConnectionTypeEnum internetConnectionType) -
internetConnectionLocation
public PropertyPolicyAffiliate internetConnectionLocation(@Nonnull PropertyPolicyAffiliate.InternetConnectionLocationEnum internetConnectionLocation) -
getInternetConnectionLocation
@Nonnull @NotNull public @NotNull PropertyPolicyAffiliate.InternetConnectionLocationEnum getInternetConnectionLocation()Indicates where internet is available in and around the property.- Returns:
- internetConnectionLocation
-
setInternetConnectionLocation
public void setInternetConnectionLocation(@Nonnull PropertyPolicyAffiliate.InternetConnectionLocationEnum internetConnectionLocation) -
parkingAvailability
public PropertyPolicyAffiliate parkingAvailability(@Nonnull PropertyPolicyAffiliate.ParkingAvailabilityEnum parkingAvailability) -
getParkingAvailability
@Nonnull @NotNull public @NotNull PropertyPolicyAffiliate.ParkingAvailabilityEnum getParkingAvailability()Indicates whether parking is available at the property.- Returns:
- parkingAvailability
-
setParkingAvailability
public void setParkingAvailability(@Nonnull PropertyPolicyAffiliate.ParkingAvailabilityEnum parkingAvailability) -
parkingAccess
public PropertyPolicyAffiliate parkingAccess(@Nonnull PropertyPolicyAffiliate.ParkingAccessEnum parkingAccess) -
getParkingAccess
Indicates what type of parking is available at the property.- Returns:
- parkingAccess
-
setParkingAccess
-
petsAllowed
-
getPetsAllowed
Indicates whether pets are allowed on the property. Note: There are thousand different kinds of pets. Just because the property allows small dogs does not mean the guest can bring a python. Always best to check with property.- Returns:
- petsAllowed
-
setPetsAllowed
-
petMaxWeightInKilos
-
getPetMaxWeightInKilos
If pets are allowed, property can further limit on weight.- Returns:
- petMaxWeightInKilos
-
setPetMaxWeightInKilos
-
petCharge
-
getPetCharge
If pets are allowed, property can tell travelers if there is a charge applicable for the pet.- Returns:
- petCharge
-
setPetCharge
-
checkOutTime
-
getCheckOutTime
When the guest has to check out.- Returns:
- checkOutTime
-
setCheckOutTime
-
checkInTime
-
getCheckInTime
When the guest can check in.- Returns:
- checkInTime
-
setCheckInTime
-
equals
-
hashCode
-
toString
-