Package com.adyen.model.management
Class Logo
- java.lang.Object
-
- com.adyen.model.management.Logo
-
public class Logo extends Object
Logo
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_DATA
-
Constructor Summary
Constructors Constructor Description Logo()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Logodata(String data)The image file, converted to a Base64-encoded string, of the logo to be shown on the terminal.booleanequals(Object o)Return true if this Logo object is equal to o.static LogofromJson(String jsonString)Create an instance of Logo given an JSON stringStringgetData()The image file, converted to a Base64-encoded string, of the logo to be shown on the terminal.Map<String,Object>getExplicitNulls()Returns a map of properties to be merged into the JSON payload as explicit null values.inthashCode()LogoincludeNullValues(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.voidsetData(String data)The image file, converted to a Base64-encoded string, of the logo to be shown on the terminal.voidsetIncludeNullValues(boolean includeNullValues)Sets whether null values should be explicitly serialized in the JSON payload.StringtoJson()Convert an instance of Logo to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_DATA
public static final String JSON_PROPERTY_DATA
- See Also:
- Constant Field Values
-
-
Method Detail
-
data
public Logo data(String data)
The image file, converted to a Base64-encoded string, of the logo to be shown on the terminal.- Parameters:
data- The image file, converted to a Base64-encoded string, of the logo to be shown on the terminal.- Returns:
- the current
Logoinstance, allowing for method chaining
-
getData
public String getData()
The image file, converted to a Base64-encoded string, of the logo to be shown on the terminal.- Returns:
- data The image file, converted to a Base64-encoded string, of the logo to be shown on the terminal.
-
setData
public void setData(String data)
The image file, converted to a Base64-encoded string, of the logo to be shown on the terminal.- Parameters:
data- The image file, converted to a Base64-encoded string, of the logo to be shown on the terminal.
-
includeNullValues
public Logo 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 Logo 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 Logo fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of Logo given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Logo
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to Logo
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of Logo to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-