Package com.adyen.model.checkout
Class ValidateShopperIdResponse
- java.lang.Object
-
- com.adyen.model.checkout.ValidateShopperIdResponse
-
public class ValidateShopperIdResponse extends Object
ValidateShopperIdResponse
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_REASONstatic StringJSON_PROPERTY_RESULT
-
Constructor Summary
Constructors Constructor Description ValidateShopperIdResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this ValidateShopperIdResponse object is equal to o.static ValidateShopperIdResponsefromJson(String jsonString)Create an instance of ValidateShopperIdResponse given an JSON stringStringgetReason()Reason for the result.ResultgetResult()Get resultinthashCode()ValidateShopperIdResponsereason(String reason)Reason for the result.ValidateShopperIdResponseresult(Result result)resultvoidsetReason(String reason)Reason for the result.voidsetResult(Result result)resultStringtoJson()Convert an instance of ValidateShopperIdResponse to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_REASON
public static final String JSON_PROPERTY_REASON
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RESULT
public static final String JSON_PROPERTY_RESULT
- See Also:
- Constant Field Values
-
-
Method Detail
-
reason
public ValidateShopperIdResponse reason(String reason)
Reason for the result.- Parameters:
reason- Reason for the result.- Returns:
- the current
ValidateShopperIdResponseinstance, allowing for method chaining
-
getReason
public String getReason()
Reason for the result.- Returns:
- reason Reason for the result.
-
setReason
public void setReason(String reason)
Reason for the result.- Parameters:
reason- Reason for the result.
-
result
public ValidateShopperIdResponse result(Result result)
result- Parameters:
result-- Returns:
- the current
ValidateShopperIdResponseinstance, allowing for method chaining
-
getResult
public Result getResult()
Get result- Returns:
- result
-
setResult
public void setResult(Result result)
result- Parameters:
result-
-
equals
public boolean equals(Object o)
Return true if this ValidateShopperIdResponse object is equal to o.
-
fromJson
public static ValidateShopperIdResponse fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of ValidateShopperIdResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ValidateShopperIdResponse
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to ValidateShopperIdResponse
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of ValidateShopperIdResponse to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-