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.TypeEnumType of terminal action: Install an Android app.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_APP_IDstatic StringJSON_PROPERTY_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)The unique identifier of the app to be installed.booleanequals(Object o)Return true if this InstallAndroidAppDetails object is equal to 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)The unique identifier of the app to be installed.voidsetType(InstallAndroidAppDetails.TypeEnum type)Type of terminal action: Install an Android app.StringtoJson()Convert an instance of InstallAndroidAppDetails to an JSON stringStringtoString()InstallAndroidAppDetailstype(InstallAndroidAppDetails.TypeEnum type)Type of terminal action: Install an Android app.
-
-
-
Field Detail
-
JSON_PROPERTY_APP_ID
public static final String JSON_PROPERTY_APP_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
appId
public InstallAndroidAppDetails appId(String appId)
The unique identifier of the app to be installed.- Parameters:
appId-- Returns:
- the current
InstallAndroidAppDetailsinstance, allowing for method chaining
-
getAppId
public String getAppId()
The unique identifier of the app to be installed.- Returns:
- appId
-
setAppId
public void setAppId(String appId)
The unique identifier of the app to be installed.- Parameters:
appId-
-
type
public InstallAndroidAppDetails type(InstallAndroidAppDetails.TypeEnum type)
Type of terminal action: Install an Android app.- Parameters:
type-- Returns:
- the current
InstallAndroidAppDetailsinstance, allowing for method chaining
-
getType
public InstallAndroidAppDetails.TypeEnum getType()
Type of terminal action: Install an Android app.- Returns:
- type
-
setType
public void setType(InstallAndroidAppDetails.TypeEnum type)
Type of terminal action: Install an Android app.- Parameters:
type-
-
equals
public boolean equals(Object o)
Return true if this InstallAndroidAppDetails object is equal to o.
-
fromJson
public static InstallAndroidAppDetails fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of InstallAndroidAppDetails given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of InstallAndroidAppDetails
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to InstallAndroidAppDetails
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of InstallAndroidAppDetails to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-