Package com.adyen.model.management
Class Unreferenced
- java.lang.Object
-
- com.adyen.model.management.Unreferenced
-
public class Unreferenced extends Object
Unreferenced
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ENABLE_UNREFERENCED_REFUNDS
-
Constructor Summary
Constructors Constructor Description Unreferenced()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UnreferencedenableUnreferencedRefunds(Boolean enableUnreferencedRefunds)Indicates whether unreferenced refunds are enabled on the terminal.booleanequals(Object o)Return true if this Unreferenced object is equal to o.static UnreferencedfromJson(String jsonString)Create an instance of Unreferenced given an JSON stringBooleangetEnableUnreferencedRefunds()Indicates whether unreferenced refunds are enabled on the terminal.Map<String,Object>getExplicitNulls()Returns a map of properties to be merged into the JSON payload as explicit null values.inthashCode()UnreferencedincludeNullValues(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.voidsetEnableUnreferencedRefunds(Boolean enableUnreferencedRefunds)Indicates whether unreferenced refunds are enabled on the terminal.voidsetIncludeNullValues(boolean includeNullValues)Sets whether null values should be explicitly serialized in the JSON payload.StringtoJson()Convert an instance of Unreferenced to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ENABLE_UNREFERENCED_REFUNDS
public static final String JSON_PROPERTY_ENABLE_UNREFERENCED_REFUNDS
- See Also:
- Constant Field Values
-
-
Method Detail
-
enableUnreferencedRefunds
public Unreferenced enableUnreferencedRefunds(Boolean enableUnreferencedRefunds)
Indicates whether unreferenced refunds are enabled on the terminal.- Parameters:
enableUnreferencedRefunds- Indicates whether unreferenced refunds are enabled on the terminal.- Returns:
- the current
Unreferencedinstance, allowing for method chaining
-
getEnableUnreferencedRefunds
public Boolean getEnableUnreferencedRefunds()
Indicates whether unreferenced refunds are enabled on the terminal.- Returns:
- enableUnreferencedRefunds Indicates whether unreferenced refunds are enabled on the terminal.
-
setEnableUnreferencedRefunds
public void setEnableUnreferencedRefunds(Boolean enableUnreferencedRefunds)
Indicates whether unreferenced refunds are enabled on the terminal.- Parameters:
enableUnreferencedRefunds- Indicates whether unreferenced refunds are enabled on the terminal.
-
includeNullValues
public Unreferenced 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 Unreferenced 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 Unreferenced fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of Unreferenced given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Unreferenced
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to Unreferenced
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of Unreferenced to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-