Class WebDataExemption
- java.lang.Object
-
- com.adyen.model.legalentitymanagement.WebDataExemption
-
public class WebDataExemption extends Object
WebDataExemption
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWebDataExemption.CustomTypeAdapterFactorystatic classWebDataExemption.ReasonEnumThe reason why the web data was not provided.
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_REASON
-
Constructor Summary
Constructors Constructor Description WebDataExemption()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static WebDataExemptionfromJson(String jsonString)Create an instance of WebDataExemption given an JSON stringWebDataExemption.ReasonEnumgetReason()The reason why the web data was not provided.inthashCode()WebDataExemptionreason(WebDataExemption.ReasonEnum reason)voidsetReason(WebDataExemption.ReasonEnum reason)StringtoJson()Convert an instance of WebDataExemption to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Method Detail
-
reason
public WebDataExemption reason(WebDataExemption.ReasonEnum reason)
-
getReason
public WebDataExemption.ReasonEnum getReason()
The reason why the web data was not provided. Possible value: **noOnlinePresence**.- Returns:
- reason
-
setReason
public void setReason(WebDataExemption.ReasonEnum reason)
-
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 WebDataExemption
-
fromJson
public static WebDataExemption fromJson(String jsonString) throws IOException
Create an instance of WebDataExemption given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of WebDataExemption
- Throws:
IOException- if the JSON string is invalid with respect to WebDataExemption
-
toJson
public String toJson()
Convert an instance of WebDataExemption to an JSON string- Returns:
- JSON string
-
-