Package com.adyen.model.management
Class TerminalActionScheduleDetail
- java.lang.Object
-
- com.adyen.model.management.TerminalActionScheduleDetail
-
public class TerminalActionScheduleDetail extends Object
TerminalActionScheduleDetail
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTerminalActionScheduleDetail.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_TERMINAL_ID
-
Constructor Summary
Constructors Constructor Description TerminalActionScheduleDetail()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static TerminalActionScheduleDetailfromJson(String jsonString)Create an instance of TerminalActionScheduleDetail given an JSON stringStringgetId()The ID of the action on the specified terminal.StringgetTerminalId()The unique ID of the terminal that the action applies to.inthashCode()TerminalActionScheduleDetailid(String id)voidsetId(String id)voidsetTerminalId(String terminalId)TerminalActionScheduleDetailterminalId(String terminalId)StringtoJson()Convert an instance of TerminalActionScheduleDetail to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TERMINAL_ID
public static final String SERIALIZED_NAME_TERMINAL_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
id
public TerminalActionScheduleDetail id(String id)
-
getId
public String getId()
The ID of the action on the specified terminal.- Returns:
- id
-
setId
public void setId(String id)
-
terminalId
public TerminalActionScheduleDetail 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)
-
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 TerminalActionScheduleDetail
-
fromJson
public static TerminalActionScheduleDetail fromJson(String jsonString) throws IOException
Create an instance of TerminalActionScheduleDetail given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TerminalActionScheduleDetail
- Throws:
IOException- if the JSON string is invalid with respect to TerminalActionScheduleDetail
-
toJson
public String toJson()
Convert an instance of TerminalActionScheduleDetail to an JSON string- Returns:
- JSON string
-
-