Package com.adyen.model.acswebhooks
Class AuthenticationDecision
- java.lang.Object
-
- com.adyen.model.acswebhooks.AuthenticationDecision
-
public class AuthenticationDecision extends Object
AuthenticationDecision
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAuthenticationDecision.StatusEnumThe status of the authentication.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_STATUS
-
Constructor Summary
Constructors Constructor Description AuthenticationDecision()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this AuthenticationDecision object is equal to o.static AuthenticationDecisionfromJson(String jsonString)Create an instance of AuthenticationDecision given an JSON stringAuthenticationDecision.StatusEnumgetStatus()The status of the authentication.inthashCode()voidsetStatus(AuthenticationDecision.StatusEnum status)The status of the authentication.AuthenticationDecisionstatus(AuthenticationDecision.StatusEnum status)The status of the authentication.StringtoJson()Convert an instance of AuthenticationDecision to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_STATUS
public static final String JSON_PROPERTY_STATUS
- See Also:
- Constant Field Values
-
-
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
AuthenticationDecisioninstance, 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.
-
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
-
-