Package com.adyen.model.management
Class Hardware
- java.lang.Object
-
- com.adyen.model.management.Hardware
-
public class Hardware extends Object
Hardware
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_DISPLAY_MAXIMUM_BACK_LIGHTstatic StringJSON_PROPERTY_RESET_TOTALS_HOURstatic StringJSON_PROPERTY_RESTART_HOUR
-
Constructor Summary
Constructors Constructor Description Hardware()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description HardwaredisplayMaximumBackLight(Integer displayMaximumBackLight)booleanequals(Object o)Return true if this Hardware object is equal to o.static HardwarefromJson(String jsonString)Create an instance of Hardware given an JSON stringIntegergetDisplayMaximumBackLight()The brightness of the display when the terminal is being used, expressed as a percentage.IntegergetResetTotalsHour()The hour of the day when the terminal is set to reset the Totals report.IntegergetRestartHour()The hour of the day when the terminal is set to reboot to apply the configuration and software updates.inthashCode()HardwareresetTotalsHour(Integer resetTotalsHour)HardwarerestartHour(Integer restartHour)voidsetDisplayMaximumBackLight(Integer displayMaximumBackLight)The brightness of the display when the terminal is being used, expressed as a percentage.voidsetResetTotalsHour(Integer resetTotalsHour)The hour of the day when the terminal is set to reset the Totals report.voidsetRestartHour(Integer restartHour)The hour of the day when the terminal is set to reboot to apply the configuration and software updates.StringtoJson()Convert an instance of Hardware to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_DISPLAY_MAXIMUM_BACK_LIGHT
public static final String JSON_PROPERTY_DISPLAY_MAXIMUM_BACK_LIGHT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RESET_TOTALS_HOUR
public static final String JSON_PROPERTY_RESET_TOTALS_HOUR
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RESTART_HOUR
public static final String JSON_PROPERTY_RESTART_HOUR
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDisplayMaximumBackLight
public Integer getDisplayMaximumBackLight()
The brightness of the display when the terminal is being used, expressed as a percentage.- Returns:
- displayMaximumBackLight
-
setDisplayMaximumBackLight
public void setDisplayMaximumBackLight(Integer displayMaximumBackLight)
The brightness of the display when the terminal is being used, expressed as a percentage.- Parameters:
displayMaximumBackLight-
-
getResetTotalsHour
public Integer getResetTotalsHour()
The hour of the day when the terminal is set to reset the Totals report. By default, the reset hour is at 6:00 AM in the timezone of the terminal. Minimum value: 0, maximum value: 23.- Returns:
- resetTotalsHour
-
setResetTotalsHour
public void setResetTotalsHour(Integer resetTotalsHour)
The hour of the day when the terminal is set to reset the Totals report. By default, the reset hour is at 6:00 AM in the timezone of the terminal. Minimum value: 0, maximum value: 23.- Parameters:
resetTotalsHour-
-
getRestartHour
public Integer getRestartHour()
The hour of the day when the terminal is set to reboot to apply the configuration and software updates. By default, the restart hour is at 6:00 AM in the timezone of the terminal. Minimum value: 0, maximum value: 23.- Returns:
- restartHour
-
setRestartHour
public void setRestartHour(Integer restartHour)
The hour of the day when the terminal is set to reboot to apply the configuration and software updates. By default, the restart hour is at 6:00 AM in the timezone of the terminal. Minimum value: 0, maximum value: 23.- Parameters:
restartHour-
-
equals
public boolean equals(Object o)
Return true if this Hardware object is equal to o.
-
fromJson
public static Hardware fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of Hardware given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Hardware
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to Hardware
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of Hardware to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-