Package com.adyen.model.management
Class Logo
- java.lang.Object
-
- com.adyen.model.management.Logo
-
public class Logo extends Object
Logo
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLogo.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_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)booleanequals(Object 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.inthashCode()voidsetData(String data)StringtoJson()Convert an instance of Logo to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Method Detail
-
getData
public String getData()
The image file, converted to a Base64-encoded string, of the logo to be shown on the terminal.- Returns:
- data
-
setData
public void setData(String data)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to Logo
-
fromJson
public static Logo fromJson(String jsonString) throws IOException
Create an instance of Logo given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Logo
- Throws:
IOException- if the JSON string is invalid with respect to Logo
-
toJson
public String toJson()
Convert an instance of Logo to an JSON string- Returns:
- JSON string
-
-