Class PersonalAgent

java.lang.Object
travel.wink.sdk.booking.model.PersonalAgent

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-03-10T10:48:08.191600840+07:00[Asia/Bangkok]") public class PersonalAgent extends Object
Detailed customer information for this profile
  • Field Details

  • Constructor Details

    • PersonalAgent

      public PersonalAgent()
  • Method Details

    • gender

      public PersonalAgent gender(PersonalAgent.GenderEnum gender)
    • getGender

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

      public void setGender(PersonalAgent.GenderEnum gender)
    • birthDate

      public PersonalAgent 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 PersonalAgent maritalStatus(PersonalAgent.MaritalStatusEnum maritalStatus)
    • getMaritalStatus

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

      public void setMaritalStatus(PersonalAgent.MaritalStatusEnum maritalStatus)
    • childQuantity

      public PersonalAgent 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 PersonalAgent 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 PersonalAgent address1(String address1)
    • getAddress1

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

      public void setAddress1(String address1)
    • address2

      public PersonalAgent address2(String address2)
    • getAddress2

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

      public void setAddress2(String address2)
    • city

      public PersonalAgent city(String city)
    • getCity

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

      public void setCity(String city)
    • postalCode

      public PersonalAgent postalCode(String postalCode)
    • getPostalCode

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

      public void setPostalCode(String postalCode)
    • country

      public PersonalAgent country(String country)
    • getCountry

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

      public void setCountry(String country)
    • preferredCurrency

      public PersonalAgent 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 PersonalAgent language(String language)
    • getLanguage

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

      public void setLanguage(String language)
    • contactPerson

      public PersonalAgent contactPerson(List<ContactAgent> contactPerson)
    • addContactPersonItem

      public PersonalAgent addContactPersonItem(ContactAgent contactPersonItem)
    • getContactPerson

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

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

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

      public PersonalAgent 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 PersonalAgent petInfo(List<PetInfoDtoAgent> petInfo)
    • addPetInfoItem

      public PersonalAgent addPetInfoItem(PetInfoDtoAgent petInfoItem)
    • getPetInfo

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

      public void setPetInfo(List<PetInfoDtoAgent> 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