Package com.adyen.model.payment
Class ThreeDS2ResultResponse
- java.lang.Object
-
- com.adyen.model.payment.ThreeDS2ResultResponse
-
public class ThreeDS2ResultResponse extends Object
ThreeDS2ResultResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classThreeDS2ResultResponse.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_THREE_D_S2_RESULT
-
Constructor Summary
Constructors Constructor Description ThreeDS2ResultResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static ThreeDS2ResultResponsefromJson(String jsonString)Create an instance of ThreeDS2ResultResponse given an JSON stringThreeDS2ResultgetThreeDS2Result()Get threeDS2ResultinthashCode()voidsetThreeDS2Result(ThreeDS2Result threeDS2Result)ThreeDS2ResultResponsethreeDS2Result(ThreeDS2Result threeDS2Result)StringtoJson()Convert an instance of ThreeDS2ResultResponse to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Method Detail
-
threeDS2Result
public ThreeDS2ResultResponse threeDS2Result(ThreeDS2Result threeDS2Result)
-
getThreeDS2Result
public ThreeDS2Result getThreeDS2Result()
Get threeDS2Result- Returns:
- threeDS2Result
-
setThreeDS2Result
public void setThreeDS2Result(ThreeDS2Result threeDS2Result)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to ThreeDS2ResultResponse
-
fromJson
public static ThreeDS2ResultResponse fromJson(String jsonString) throws IOException
Create an instance of ThreeDS2ResultResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ThreeDS2ResultResponse
- Throws:
IOException- if the JSON string is invalid with respect to ThreeDS2ResultResponse
-
toJson
public String toJson()
Convert an instance of ThreeDS2ResultResponse to an JSON string- Returns:
- JSON string
-
-