Class Personal

java.lang.Object
travel.wink.sdk.booking.engine.model.Personal

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-09-08T16:32:00.316996+07:00[Asia/Bangkok]") public class Personal extends Object
Detailed customer information for this profile
  • Field Details

  • Constructor Details

    • Personal

      public Personal()
  • Method Details

    • gender

      public Personal gender(Personal.GenderEnum gender)
    • getGender

      @Nullable public Personal.GenderEnum getGender()
      Identifier the gender of the customer.
      Returns:
      gender
    • setGender

      public void setGender(Personal.GenderEnum gender)
    • birthDate

      public Personal birthDate(LocalDate birthDate)
    • getBirthDate

      @Nullable @Valid public @Valid LocalDate getBirthDate()
      Indicates the date of birth as indicated in the document, in ISO 8601 prescribed format.
      Returns:
      birthDate
    • setBirthDate

      public void setBirthDate(LocalDate birthDate)
    • maritalStatus

      public Personal maritalStatus(Personal.MaritalStatusEnum maritalStatus)
    • getMaritalStatus

      @Nullable public Personal.MaritalStatusEnum getMaritalStatus()
      Marital status of the traveler.
      Returns:
      maritalStatus
    • setMaritalStatus

      public void setMaritalStatus(Personal.MaritalStatusEnum maritalStatus)
    • childQuantity

      public Personal childQuantity(Integer childQuantity)
    • getChildQuantity

      @Nullable public Integer getChildQuantity()
      The number of children of the customer.
      Returns:
      childQuantity
    • setChildQuantity

      public void setChildQuantity(Integer childQuantity)
    • citizenship

      public Personal citizenship(String citizenship)
    • getCitizenship

      @Nullable public String getCitizenship()
      Name of the (self-professed) country that is clamided for citizenship.
      Returns:
      citizenship
    • setCitizenship

      public void setCitizenship(String citizenship)
    • address1

      public Personal address1(String address1)
    • getAddress1

      @Nullable public String getAddress1()
      Address line 1
      Returns:
      address1
    • setAddress1

      public void setAddress1(String address1)
    • address2

      public Personal address2(String address2)
    • getAddress2

      @Nullable public String getAddress2()
      Address line 2
      Returns:
      address2
    • setAddress2

      public void setAddress2(String address2)
    • city

      public Personal city(String city)
    • getCity

      @Nullable public String getCity()
      City
      Returns:
      city
    • setCity

      public void setCity(String city)
    • postalCode

      public Personal postalCode(String postalCode)
    • getPostalCode

      @Nullable public String getPostalCode()
      Postal code
      Returns:
      postalCode
    • setPostalCode

      public void setPostalCode(String postalCode)
    • country

      public Personal country(String country)
    • getCountry

      @Nullable public String getCountry()
      Country
      Returns:
      country
    • setCountry

      public void setCountry(String country)
    • preferredCurrency

      public Personal preferredCurrency(String preferredCurrency)
    • getPreferredCurrency

      @Nullable public String getPreferredCurrency()
      Type of funds preferred for reviewing monetary values, in ISO 4217 codes
      Returns:
      preferredCurrency
    • setPreferredCurrency

      public void setPreferredCurrency(String preferredCurrency)
    • language

      public Personal language(String language)
    • getLanguage

      @Nullable public String getLanguage()
      The primary language of the customer
      Returns:
      language
    • setLanguage

      public void setLanguage(String language)
    • contactPerson

      public Personal contactPerson(List<Contact> contactPerson)
    • addContactPersonItem

      public Personal addContactPersonItem(Contact contactPersonItem)
    • getContactPerson

      @Nullable @Valid public @Valid List<Contact> getContactPerson()
      Array of emergency contact information for the customer
      Returns:
      contactPerson
    • setContactPerson

      public void setContactPerson(List<Contact> contactPerson)
    • physChallName

      public Personal physChallName(List<String> physChallName)
    • addPhysChallNameItem

      public Personal addPhysChallNameItem(String physChallNameItem)
    • getPhysChallName

      @Nullable public List<String> getPhysChallName()
      Array of customer's physical challenges
      Returns:
      physChallName
    • setPhysChallName

      public void setPhysChallName(List<String> physChallName)
    • petInfo

      public Personal petInfo(List<PetInfoDto> petInfo)
    • addPetInfoItem

      public Personal addPetInfoItem(PetInfoDto petInfoItem)
    • getPetInfo

      @Nullable @Valid public @Valid List<PetInfoDto> getPetInfo()
      Array of customer's pets
      Returns:
      petInfo
    • setPetInfo

      public void setPetInfo(List<PetInfoDto> petInfo)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object