Class Authentication


  • public class Authentication
    extends Object
    Authentication
    • Constructor Detail

      • Authentication

        public Authentication()
    • Method Detail

      • getEmail

        public String getEmail()
        The email address where the one-time password (OTP) is sent.
        Returns:
        email
      • setEmail

        public void setEmail​(String email)
        The email address where the one-time password (OTP) is sent.
        Parameters:
        email -
      • getPassword

        public String getPassword()
        The password used for 3D Secure password-based authentication. The value must be between 1 to 30 characters and must only contain the following supported characters. * Characters between **a-z**, **A-Z**, and **0-9** * Special characters: **äöüßÄÖÜ+-*_/ç%()=?!~#'\",;:$&àùòâôûáúó**
        Returns:
        password
      • setPassword

        public void setPassword​(String password)
        The password used for 3D Secure password-based authentication. The value must be between 1 to 30 characters and must only contain the following supported characters. * Characters between **a-z**, **A-Z**, and **0-9** * Special characters: **äöüßÄÖÜ+-*_/ç%()=?!~#'\",;:$&àùòâôûáúó**
        Parameters:
        password -
      • getPhone

        public Phone getPhone()
        Get phone
        Returns:
        phone
      • setPhone

        public void setPhone​(Phone phone)
        phone
        Parameters:
        phone -
      • equals

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

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

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

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