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 stringMap<String,Object>getExplicitNulls()Returns a map of properties to be merged into the JSON payload as explicit null values.WebDataExemption.ReasonEnumgetReason()The reason why the web data was not provided.inthashCode()WebDataExemptionincludeNullValues(boolean includeNullValues)Configures whether null values are explicitly serialized in the JSON payload.booleanisIncludeNullValues()Returns whether null values are explicitly serialized in the JSON payload.WebDataExemptionreason(WebDataExemption.ReasonEnum reason)The reason why the web data was not provided.voidsetIncludeNullValues(boolean includeNullValues)Sets whether null values should be explicitly serialized in the JSON payload.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- The reason why the web data was not provided. Possible value: **noOnlinePresence**.- 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 The reason why the web data was not provided. Possible value: **noOnlinePresence**.
-
setReason
public void setReason(WebDataExemption.ReasonEnum reason)
The reason why the web data was not provided. Possible value: **noOnlinePresence**.- Parameters:
reason- The reason why the web data was not provided. Possible value: **noOnlinePresence**.
-
includeNullValues
public WebDataExemption includeNullValues(boolean includeNullValues)
Configures whether null values are explicitly serialized in the JSON payload. Default is false.
-
isIncludeNullValues
public boolean isIncludeNullValues()
Returns whether null values are explicitly serialized in the JSON payload.
-
setIncludeNullValues
public void setIncludeNullValues(boolean includeNullValues)
Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
-
equals
public boolean equals(Object o)
Return true if this WebDataExemption object is equal to o.
-
getExplicitNulls
public Map<String,Object> getExplicitNulls()
Returns a map of properties to be merged into the JSON payload as explicit null values.
-
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
-
-