Package com.adyen.model.management
Class ExternalTerminalAction
- java.lang.Object
-
- com.adyen.model.management.ExternalTerminalAction
-
public class ExternalTerminalAction extends Object
ExternalTerminalAction
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACTION_TYPEstatic StringJSON_PROPERTY_CONFIGstatic StringJSON_PROPERTY_CONFIRMED_ATstatic StringJSON_PROPERTY_IDstatic StringJSON_PROPERTY_RESULTstatic StringJSON_PROPERTY_SCHEDULED_ATstatic StringJSON_PROPERTY_STATUSstatic StringJSON_PROPERTY_TERMINAL_ID
-
Constructor Summary
Constructors Constructor Description ExternalTerminalAction()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ExternalTerminalActionactionType(String actionType)ExternalTerminalActionconfig(String config)ExternalTerminalActionconfirmedAt(OffsetDateTime confirmedAt)booleanequals(Object o)Return true if this ExternalTerminalAction object is equal to o.static ExternalTerminalActionfromJson(String jsonString)Create an instance of ExternalTerminalAction given an JSON stringStringgetActionType()The type of terminal action: **InstallAndroidApp**, **UninstallAndroidApp**, **InstallAndroidCertificate**, or **UninstallAndroidCertificate**.StringgetConfig()Technical information about the terminal action.OffsetDateTimegetConfirmedAt()The date and time when the action was carried out.StringgetId()The unique ID of the terminal action.StringgetResult()The result message for the action.OffsetDateTimegetScheduledAt()The date and time when the action was scheduled to happen.StringgetStatus()The status of the terminal action: **pending**, **successful**, **failed**, **cancelled**, or **tryLater**.StringgetTerminalId()The unique ID of the terminal that the action applies to.inthashCode()ExternalTerminalActionid(String id)ExternalTerminalActionresult(String result)ExternalTerminalActionscheduledAt(OffsetDateTime scheduledAt)voidsetActionType(String actionType)The type of terminal action: **InstallAndroidApp**, **UninstallAndroidApp**, **InstallAndroidCertificate**, or **UninstallAndroidCertificate**.voidsetConfig(String config)Technical information about the terminal action.voidsetConfirmedAt(OffsetDateTime confirmedAt)The date and time when the action was carried out.voidsetId(String id)The unique ID of the terminal action.voidsetResult(String result)The result message for the action.voidsetScheduledAt(OffsetDateTime scheduledAt)The date and time when the action was scheduled to happen.voidsetStatus(String status)The status of the terminal action: **pending**, **successful**, **failed**, **cancelled**, or **tryLater**.voidsetTerminalId(String terminalId)The unique ID of the terminal that the action applies to.ExternalTerminalActionstatus(String status)ExternalTerminalActionterminalId(String terminalId)StringtoJson()Convert an instance of ExternalTerminalAction to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ACTION_TYPE
public static final String JSON_PROPERTY_ACTION_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CONFIG
public static final String JSON_PROPERTY_CONFIG
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CONFIRMED_AT
public static final String JSON_PROPERTY_CONFIRMED_AT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ID
public static final String JSON_PROPERTY_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RESULT
public static final String JSON_PROPERTY_RESULT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SCHEDULED_AT
public static final String JSON_PROPERTY_SCHEDULED_AT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STATUS
public static final String JSON_PROPERTY_STATUS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TERMINAL_ID
public static final String JSON_PROPERTY_TERMINAL_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
actionType
public ExternalTerminalAction actionType(String actionType)
-
getActionType
public String getActionType()
The type of terminal action: **InstallAndroidApp**, **UninstallAndroidApp**, **InstallAndroidCertificate**, or **UninstallAndroidCertificate**.- Returns:
- actionType
-
setActionType
public void setActionType(String actionType)
The type of terminal action: **InstallAndroidApp**, **UninstallAndroidApp**, **InstallAndroidCertificate**, or **UninstallAndroidCertificate**.- Parameters:
actionType-
-
config
public ExternalTerminalAction config(String config)
-
getConfig
public String getConfig()
Technical information about the terminal action.- Returns:
- config
-
setConfig
public void setConfig(String config)
Technical information about the terminal action.- Parameters:
config-
-
confirmedAt
public ExternalTerminalAction confirmedAt(OffsetDateTime confirmedAt)
-
getConfirmedAt
public OffsetDateTime getConfirmedAt()
The date and time when the action was carried out.- Returns:
- confirmedAt
-
setConfirmedAt
public void setConfirmedAt(OffsetDateTime confirmedAt)
The date and time when the action was carried out.- Parameters:
confirmedAt-
-
id
public ExternalTerminalAction id(String id)
-
getId
public String getId()
The unique ID of the terminal action.- Returns:
- id
-
setId
public void setId(String id)
The unique ID of the terminal action.- Parameters:
id-
-
result
public ExternalTerminalAction result(String result)
-
getResult
public String getResult()
The result message for the action.- Returns:
- result
-
setResult
public void setResult(String result)
The result message for the action.- Parameters:
result-
-
scheduledAt
public ExternalTerminalAction scheduledAt(OffsetDateTime scheduledAt)
-
getScheduledAt
public OffsetDateTime getScheduledAt()
The date and time when the action was scheduled to happen.- Returns:
- scheduledAt
-
setScheduledAt
public void setScheduledAt(OffsetDateTime scheduledAt)
The date and time when the action was scheduled to happen.- Parameters:
scheduledAt-
-
status
public ExternalTerminalAction status(String status)
-
getStatus
public String getStatus()
The status of the terminal action: **pending**, **successful**, **failed**, **cancelled**, or **tryLater**.- Returns:
- status
-
setStatus
public void setStatus(String status)
The status of the terminal action: **pending**, **successful**, **failed**, **cancelled**, or **tryLater**.- Parameters:
status-
-
terminalId
public ExternalTerminalAction terminalId(String terminalId)
-
getTerminalId
public String getTerminalId()
The unique ID of the terminal that the action applies to.- Returns:
- terminalId
-
setTerminalId
public void setTerminalId(String terminalId)
The unique ID of the terminal that the action applies to.- Parameters:
terminalId-
-
equals
public boolean equals(Object o)
Return true if this ExternalTerminalAction object is equal to o.
-
fromJson
public static ExternalTerminalAction fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of ExternalTerminalAction given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ExternalTerminalAction
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to ExternalTerminalAction
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of ExternalTerminalAction to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-