Class AuthenticationDecision


  • public class AuthenticationDecision
    extends Object
    AuthenticationDecision
    • Constructor Detail

      • AuthenticationDecision

        public AuthenticationDecision()
    • Method Detail

      • status

        public AuthenticationDecision status​(AuthenticationDecision.StatusEnum status)
        The status of the authentication. Possible values: * **refused** * **proceed** For more information, refer to [Authenticate cardholders using the Authentication SDK](https://docs.adyen.com/issuing/3d-secure/oob-auth-sdk/authenticate-cardholders/).
        Parameters:
        status - The status of the authentication. Possible values: * **refused** * **proceed** For more information, refer to [Authenticate cardholders using the Authentication SDK](https://docs.adyen.com/issuing/3d-secure/oob-auth-sdk/authenticate-cardholders/).
        Returns:
        the current AuthenticationDecision instance, allowing for method chaining
      • getStatus

        public AuthenticationDecision.StatusEnum getStatus()
        The status of the authentication. Possible values: * **refused** * **proceed** For more information, refer to [Authenticate cardholders using the Authentication SDK](https://docs.adyen.com/issuing/3d-secure/oob-auth-sdk/authenticate-cardholders/).
        Returns:
        status The status of the authentication. Possible values: * **refused** * **proceed** For more information, refer to [Authenticate cardholders using the Authentication SDK](https://docs.adyen.com/issuing/3d-secure/oob-auth-sdk/authenticate-cardholders/).
      • setStatus

        public void setStatus​(AuthenticationDecision.StatusEnum status)
        The status of the authentication. Possible values: * **refused** * **proceed** For more information, refer to [Authenticate cardholders using the Authentication SDK](https://docs.adyen.com/issuing/3d-secure/oob-auth-sdk/authenticate-cardholders/).
        Parameters:
        status - The status of the authentication. Possible values: * **refused** * **proceed** For more information, refer to [Authenticate cardholders using the Authentication SDK](https://docs.adyen.com/issuing/3d-secure/oob-auth-sdk/authenticate-cardholders/).
      • equals

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

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

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

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