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.ReasonEnumThe reason why the web data was not provided.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_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)Return true if this WebDataExemption object is equal to 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)The reason why the web data was not provided.voidsetReason(WebDataExemption.ReasonEnum reason)The reason why the web data was not provided.StringtoJson()Convert an instance of WebDataExemption to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_REASON
public static final String JSON_PROPERTY_REASON
- See Also:
- Constant Field Values
-
-
Method Detail
-
reason
public WebDataExemption reason(WebDataExemption.ReasonEnum reason)
The reason why the web data was not provided. Possible value: **noOnlinePresence**.- Parameters:
reason-- Returns:
- the current
WebDataExemptioninstance, allowing for method chaining
-
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)
The reason why the web data was not provided. Possible value: **noOnlinePresence**.- Parameters:
reason-
-
equals
public boolean equals(Object o)
Return true if this WebDataExemption object is equal to o.
-
fromJson
public static WebDataExemption fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of WebDataExemption given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of WebDataExemption
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to WebDataExemption
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of WebDataExemption to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-