Package com.adyen.model.management
Class Settings
- java.lang.Object
-
- com.adyen.model.management.Settings
-
public class Settings extends Object
Settings
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_BANDstatic StringJSON_PROPERTY_ROAMINGstatic StringJSON_PROPERTY_TIMEOUT
-
Constructor Summary
Constructors Constructor Description Settings()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Settingsband(String band)booleanequals(Object o)Return true if this Settings object is equal to o.static SettingsfromJson(String jsonString)Create an instance of Settings given an JSON stringStringgetBand()The preferred Wi-Fi band, for use if the terminals support multiple bands.BooleangetRoaming()Indicates whether roaming is enabled on the terminals.IntegergetTimeout()The connection time-out in seconds.inthashCode()Settingsroaming(Boolean roaming)voidsetBand(String band)The preferred Wi-Fi band, for use if the terminals support multiple bands.voidsetRoaming(Boolean roaming)Indicates whether roaming is enabled on the terminals.voidsetTimeout(Integer timeout)The connection time-out in seconds.Settingstimeout(Integer timeout)StringtoJson()Convert an instance of Settings to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_BAND
public static final String JSON_PROPERTY_BAND
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ROAMING
public static final String JSON_PROPERTY_ROAMING
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TIMEOUT
public static final String JSON_PROPERTY_TIMEOUT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getBand
public String getBand()
The preferred Wi-Fi band, for use if the terminals support multiple bands. Possible values: All, 2.4GHz, 5GHz.- Returns:
- band
-
setBand
public void setBand(String band)
The preferred Wi-Fi band, for use if the terminals support multiple bands. Possible values: All, 2.4GHz, 5GHz.- Parameters:
band-
-
getRoaming
public Boolean getRoaming()
Indicates whether roaming is enabled on the terminals.- Returns:
- roaming
-
setRoaming
public void setRoaming(Boolean roaming)
Indicates whether roaming is enabled on the terminals.- Parameters:
roaming-
-
getTimeout
public Integer getTimeout()
The connection time-out in seconds. Minimum value: 0.- Returns:
- timeout
-
setTimeout
public void setTimeout(Integer timeout)
The connection time-out in seconds. Minimum value: 0.- Parameters:
timeout-
-
equals
public boolean equals(Object o)
Return true if this Settings object is equal to o.
-
fromJson
public static Settings fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of Settings given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Settings
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to Settings
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of Settings to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-