Package com.adyen.model.management
Class InstallAndroidAppDetails
- java.lang.Object
-
- com.adyen.model.management.InstallAndroidAppDetails
-
public class InstallAndroidAppDetails extends Object
InstallAndroidAppDetails
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInstallAndroidAppDetails.CustomTypeAdapterFactorystatic classInstallAndroidAppDetails.TypeEnumType of terminal action: Install an Android app.
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_APP_IDstatic StringSERIALIZED_NAME_TYPE
-
Constructor Summary
Constructors Constructor Description InstallAndroidAppDetails()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description InstallAndroidAppDetailsappId(String appId)booleanequals(Object o)static InstallAndroidAppDetailsfromJson(String jsonString)Create an instance of InstallAndroidAppDetails given an JSON stringStringgetAppId()The unique identifier of the app to be installed.InstallAndroidAppDetails.TypeEnumgetType()Type of terminal action: Install an Android app.inthashCode()voidsetAppId(String appId)voidsetType(InstallAndroidAppDetails.TypeEnum type)StringtoJson()Convert an instance of InstallAndroidAppDetails to an JSON stringStringtoString()InstallAndroidAppDetailstype(InstallAndroidAppDetails.TypeEnum type)static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_APP_ID
public static final String SERIALIZED_NAME_APP_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TYPE
public static final String SERIALIZED_NAME_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
appId
public InstallAndroidAppDetails appId(String appId)
-
getAppId
public String getAppId()
The unique identifier of the app to be installed.- Returns:
- appId
-
setAppId
public void setAppId(String appId)
-
type
public InstallAndroidAppDetails type(InstallAndroidAppDetails.TypeEnum type)
-
getType
public InstallAndroidAppDetails.TypeEnum getType()
Type of terminal action: Install an Android app.- Returns:
- type
-
setType
public void setType(InstallAndroidAppDetails.TypeEnum type)
-
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 InstallAndroidAppDetails
-
fromJson
public static InstallAndroidAppDetails fromJson(String jsonString) throws IOException
Create an instance of InstallAndroidAppDetails given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of InstallAndroidAppDetails
- Throws:
IOException- if the JSON string is invalid with respect to InstallAndroidAppDetails
-
toJson
public String toJson()
Convert an instance of InstallAndroidAppDetails to an JSON string- Returns:
- JSON string
-
-