Package travel.wink.sdk.booking.model
Class PersonalBooker
java.lang.Object
travel.wink.sdk.booking.model.PersonalBooker
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-03-10T10:48:08.191600840+07:00[Asia/Bangkok]")
public class PersonalBooker
extends Object
Detailed customer information for this profile
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumIdentifier the gender of the customer.static enumMarital status of the traveler. -
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 String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddContactPersonItem(ContactBooker contactPersonItem) addPetInfoItem(PetInfoDtoBooker petInfoItem) addPhysChallNameItem(String physChallNameItem) childQuantity(Integer childQuantity) citizenship(String citizenship) contactPerson(List<ContactBooker> contactPerson) booleangender(PersonalBooker.GenderEnum gender) Address line 1Address line 2@Valid LocalDateIndicates the date of birth as indicated in the document, in ISO 8601 prescribed format.The number of children of the customer.Name of the (self-professed) country that is clamided for citizenship.getCity()City@Valid List<ContactBooker>Array of emergency contact information for the customerCountryIdentifier the gender of the customer.The primary language of the customerMarital status of the traveler.@Valid List<PetInfoDtoBooker>Array of customer's petsArray of customer's physical challengesPostal codeType of funds preferred for reviewing monetary values, in ISO 4217 codesinthashCode()maritalStatus(PersonalBooker.MaritalStatusEnum maritalStatus) petInfo(List<PetInfoDtoBooker> petInfo) physChallName(List<String> physChallName) postalCode(String postalCode) preferredCurrency(String preferredCurrency) voidsetAddress1(String address1) voidsetAddress2(String address2) voidsetBirthDate(LocalDate birthDate) voidsetChildQuantity(Integer childQuantity) voidsetCitizenship(String citizenship) voidvoidsetContactPerson(List<ContactBooker> contactPerson) voidsetCountry(String country) voidsetGender(PersonalBooker.GenderEnum gender) voidsetLanguage(String language) voidsetMaritalStatus(PersonalBooker.MaritalStatusEnum maritalStatus) voidsetPetInfo(List<PetInfoDtoBooker> petInfo) voidsetPhysChallName(List<String> physChallName) voidsetPostalCode(String postalCode) voidsetPreferredCurrency(String preferredCurrency) toString()
-
Field Details
-
JSON_PROPERTY_GENDER
- See Also:
-
JSON_PROPERTY_BIRTH_DATE
- See Also:
-
JSON_PROPERTY_MARITAL_STATUS
- See Also:
-
JSON_PROPERTY_CHILD_QUANTITY
- See Also:
-
JSON_PROPERTY_CITIZENSHIP
- See Also:
-
JSON_PROPERTY_ADDRESS1
- See Also:
-
JSON_PROPERTY_ADDRESS2
- See Also:
-
JSON_PROPERTY_CITY
- See Also:
-
JSON_PROPERTY_POSTAL_CODE
- See Also:
-
JSON_PROPERTY_COUNTRY
- See Also:
-
JSON_PROPERTY_PREFERRED_CURRENCY
- See Also:
-
JSON_PROPERTY_LANGUAGE
- See Also:
-
JSON_PROPERTY_CONTACT_PERSON
- See Also:
-
JSON_PROPERTY_PHYS_CHALL_NAME
- See Also:
-
JSON_PROPERTY_PET_INFO
- See Also:
-
-
Constructor Details
-
PersonalBooker
public PersonalBooker()
-
-
Method Details
-
gender
-
getGender
Identifier the gender of the customer.- Returns:
- gender
-
setGender
-
birthDate
-
getBirthDate
Indicates the date of birth as indicated in the document, in ISO 8601 prescribed format.- Returns:
- birthDate
-
setBirthDate
-
maritalStatus
-
getMaritalStatus
Marital status of the traveler.- Returns:
- maritalStatus
-
setMaritalStatus
-
childQuantity
-
getChildQuantity
The number of children of the customer.- Returns:
- childQuantity
-
setChildQuantity
-
citizenship
-
getCitizenship
Name of the (self-professed) country that is clamided for citizenship.- Returns:
- citizenship
-
setCitizenship
-
address1
-
getAddress1
Address line 1- Returns:
- address1
-
setAddress1
-
address2
-
getAddress2
Address line 2- Returns:
- address2
-
setAddress2
-
city
-
getCity
City- Returns:
- city
-
setCity
-
postalCode
-
getPostalCode
Postal code- Returns:
- postalCode
-
setPostalCode
-
country
-
getCountry
Country- Returns:
- country
-
setCountry
-
preferredCurrency
-
getPreferredCurrency
Type of funds preferred for reviewing monetary values, in ISO 4217 codes- Returns:
- preferredCurrency
-
setPreferredCurrency
-
language
-
getLanguage
The primary language of the customer- Returns:
- language
-
setLanguage
-
contactPerson
-
addContactPersonItem
-
getContactPerson
Array of emergency contact information for the customer- Returns:
- contactPerson
-
setContactPerson
-
physChallName
-
addPhysChallNameItem
-
getPhysChallName
Array of customer's physical challenges- Returns:
- physChallName
-
setPhysChallName
-
petInfo
-
addPetInfoItem
-
getPetInfo
Array of customer's pets- Returns:
- petInfo
-
setPetInfo
-
equals
-
hashCode
public int hashCode() -
toString
-