Class ApiPaxAvail
java.lang.Object
travel.wink.hotelbeds.booking.sdk.model.ApiPaxAvail
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-10-04T11:28:08.331690043+07:00[Asia/Bangkok]")
public class ApiPaxAvail
extends Object
Passenger information.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumPassenger type, defines if the passenger is adult or child. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean@Min(0L) @Max(99L) IntegergetAge()Age of the passenger (required for children passengers).@NotNull ApiPaxAvail.TypeEnumgetType()Passenger type, defines if the passenger is adult or child.inthashCode()voidvoidsetType(ApiPaxAvail.TypeEnum type) toString()type(ApiPaxAvail.TypeEnum type)
-
Field Details
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_AGE
- See Also:
-
-
Constructor Details
-
ApiPaxAvail
public ApiPaxAvail()
-
-
Method Details
-
type
-
getType
Passenger type, defines if the passenger is adult or child.- Returns:
- type
-
setType
-
age
-
getAge
Age of the passenger (required for children passengers). Please make sure to use the same ages in confirmation step to those you used in the availability step; the ages cannot be changed once the booking flow has started minimum: 0 maximum: 99- Returns:
- age
-
setAge
-
equals
-
hashCode
public int hashCode() -
toString
-