Package com.adyen.model.management
Class GenerateClientKeyResponse
- java.lang.Object
-
- com.adyen.model.management.GenerateClientKeyResponse
-
public class GenerateClientKeyResponse extends Object
GenerateClientKeyResponse
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CLIENT_KEY
-
Constructor Summary
Constructors Constructor Description GenerateClientKeyResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GenerateClientKeyResponseclientKey(String clientKey)Generated client keybooleanequals(Object o)Return true if this GenerateClientKeyResponse object is equal to o.static GenerateClientKeyResponsefromJson(String jsonString)Create an instance of GenerateClientKeyResponse given an JSON stringStringgetClientKey()Generated client keyMap<String,Object>getExplicitNulls()Returns a map of properties to be merged into the JSON payload as explicit null values.inthashCode()GenerateClientKeyResponseincludeNullValues(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.voidsetClientKey(String clientKey)Generated client keyvoidsetIncludeNullValues(boolean includeNullValues)Sets whether null values should be explicitly serialized in the JSON payload.StringtoJson()Convert an instance of GenerateClientKeyResponse to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_CLIENT_KEY
public static final String JSON_PROPERTY_CLIENT_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
clientKey
public GenerateClientKeyResponse clientKey(String clientKey)
Generated client key- Parameters:
clientKey- Generated client key- Returns:
- the current
GenerateClientKeyResponseinstance, allowing for method chaining
-
getClientKey
public String getClientKey()
Generated client key- Returns:
- clientKey Generated client key
-
setClientKey
public void setClientKey(String clientKey)
Generated client key- Parameters:
clientKey- Generated client key
-
includeNullValues
public GenerateClientKeyResponse 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 GenerateClientKeyResponse 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 GenerateClientKeyResponse fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of GenerateClientKeyResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of GenerateClientKeyResponse
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to GenerateClientKeyResponse
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of GenerateClientKeyResponse to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-