Package com.adyen.model.management
Class TwintInfo
- java.lang.Object
-
- com.adyen.model.management.TwintInfo
-
public class TwintInfo extends Object
TwintInfo
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTwintInfo.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_LOGO
-
Constructor Summary
Constructors Constructor Description TwintInfo()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static TwintInfofromJson(String jsonString)Create an instance of TwintInfo given an JSON stringStringgetLogo()Twint logo.inthashCode()TwintInfologo(String logo)voidsetLogo(String logo)StringtoJson()Convert an instance of TwintInfo to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Method Detail
-
getLogo
public String getLogo()
Twint logo. Format: Base64-encoded string.- Returns:
- logo
-
setLogo
public void setLogo(String logo)
-
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 TwintInfo
-
fromJson
public static TwintInfo fromJson(String jsonString) throws IOException
Create an instance of TwintInfo given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TwintInfo
- Throws:
IOException- if the JSON string is invalid with respect to TwintInfo
-
toJson
public String toJson()
Convert an instance of TwintInfo to an JSON string- Returns:
- JSON string
-
-