Class ViasPersonalData


  • public class ViasPersonalData
    extends Object
    ViasPersonalData
    • Constructor Detail

      • ViasPersonalData

        public ViasPersonalData()
    • Method Detail

      • getDateOfBirth

        public String getDateOfBirth()
        The person's date of birth, in ISO-8601 YYYY-MM-DD format. For example, **2000-01-31**.
        Returns:
        dateOfBirth
      • setDateOfBirth

        public void setDateOfBirth​(String dateOfBirth)
      • getDocumentData

        public List<PersonalDocumentData> getDocumentData()
        Array that contains information about the person's identification document. You can submit only one entry per document type.
        Returns:
        documentData
      • getNationality

        public String getNationality()
        The nationality of the person represented by a two-character country code, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. For example, **NL**.
        Returns:
        nationality
      • setNationality

        public void setNationality​(String nationality)
      • equals

        public boolean equals​(Object o)
        Return true if this ViasPersonalData object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

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

        public static ViasPersonalData fromJson​(String jsonString)
                                         throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of ViasPersonalData given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of ViasPersonalData
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to ViasPersonalData
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of ViasPersonalData to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException