Package com.adyen.model.management
Class Timeouts
- java.lang.Object
-
- com.adyen.model.management.Timeouts
-
public class Timeouts extends Object
Timeouts
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_FROM_ACTIVE_TO_SLEEP
-
Constructor Summary
Constructors Constructor Description Timeouts()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this Timeouts object is equal to o.TimeoutsfromActiveToSleep(Integer fromActiveToSleep)static TimeoutsfromJson(String jsonString)Create an instance of Timeouts given an JSON stringIntegergetFromActiveToSleep()Indicates the number of seconds of inactivity after which the terminal display goes into sleep mode.inthashCode()voidsetFromActiveToSleep(Integer fromActiveToSleep)Indicates the number of seconds of inactivity after which the terminal display goes into sleep mode.StringtoJson()Convert an instance of Timeouts to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_FROM_ACTIVE_TO_SLEEP
public static final String JSON_PROPERTY_FROM_ACTIVE_TO_SLEEP
- See Also:
- Constant Field Values
-
-
Method Detail
-
getFromActiveToSleep
public Integer getFromActiveToSleep()
Indicates the number of seconds of inactivity after which the terminal display goes into sleep mode.- Returns:
- fromActiveToSleep
-
setFromActiveToSleep
public void setFromActiveToSleep(Integer fromActiveToSleep)
Indicates the number of seconds of inactivity after which the terminal display goes into sleep mode.- Parameters:
fromActiveToSleep-
-
equals
public boolean equals(Object o)
Return true if this Timeouts object is equal to o.
-
fromJson
public static Timeouts fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of Timeouts given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Timeouts
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to Timeouts
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of Timeouts to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-