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)The brightness of the display when the terminal is being used, expressed as a percentage.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.Map<String,Object>getExplicitNulls()Returns a map of properties to be merged into the JSON payload as explicit null values.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()HardwareincludeNullValues(boolean includeNullValues)Configures whether null values are explicitly serialized in the JSON payload.booleanisIncludeNullValues()Returns whether null values are explicitly serialized in the JSON payload.HardwareresetTotalsHour(Integer resetTotalsHour)The hour of the day when the terminal is set to reset the Totals report.HardwarerestartHour(Integer restartHour)The hour of the day when the terminal is set to reboot to apply the configuration and software updates.voidsetDisplayMaximumBackLight(Integer displayMaximumBackLight)The brightness of the display when the terminal is being used, expressed as a percentage.voidsetIncludeNullValues(boolean includeNullValues)Sets whether null values should be explicitly serialized in the JSON payload.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
-
displayMaximumBackLight
public Hardware displayMaximumBackLight(Integer displayMaximumBackLight)
The brightness of the display when the terminal is being used, expressed as a percentage.- Parameters:
displayMaximumBackLight- The brightness of the display when the terminal is being used, expressed as a percentage.- Returns:
- the current
Hardwareinstance, allowing for method chaining
-
getDisplayMaximumBackLight
public Integer getDisplayMaximumBackLight()
The brightness of the display when the terminal is being used, expressed as a percentage.- Returns:
- displayMaximumBackLight The brightness of the display when the terminal is being used, expressed as a percentage.
-
setDisplayMaximumBackLight
public void setDisplayMaximumBackLight(Integer displayMaximumBackLight)
The brightness of the display when the terminal is being used, expressed as a percentage.- Parameters:
displayMaximumBackLight- The brightness of the display when the terminal is being used, expressed as a percentage.
-
resetTotalsHour
public Hardware resetTotalsHour(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- 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:
- the current
Hardwareinstance, allowing for method chaining
-
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 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.
-
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- 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.
-
restartHour
public Hardware restartHour(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- 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:
- the current
Hardwareinstance, allowing for method chaining
-
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 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.
-
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- 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.
-
includeNullValues
public Hardware includeNullValues(boolean includeNullValues)
Configures whether null values are explicitly serialized in the JSON payload. Default is false.
-
isIncludeNullValues
public boolean isIncludeNullValues()
Returns whether null values are explicitly serialized in the JSON payload.
-
setIncludeNullValues
public void setIncludeNullValues(boolean includeNullValues)
Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
-
equals
public boolean equals(Object o)
Return true if this Hardware object is equal to o.
-
getExplicitNulls
public Map<String,Object> getExplicitNulls()
Returns a map of properties to be merged into the JSON payload as explicit null values.
-
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
-
-