Package com.adyen.model.management
Class TerminalConnectivityBluetooth
- java.lang.Object
-
- com.adyen.model.management.TerminalConnectivityBluetooth
-
public class TerminalConnectivityBluetooth extends Object
TerminalConnectivityBluetooth
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_IP_ADDRESSstatic StringJSON_PROPERTY_MAC_ADDRESS
-
Constructor Summary
Constructors Constructor Description TerminalConnectivityBluetooth()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this TerminalConnectivityBluetooth object is equal to o.static TerminalConnectivityBluetoothfromJson(String jsonString)Create an instance of TerminalConnectivityBluetooth given an JSON stringMap<String,Object>getExplicitNulls()Returns a map of properties to be merged into the JSON payload as explicit null values.StringgetIpAddress()The terminal's Bluetooth IP address.StringgetMacAddress()The terminal's Bluetooth MAC address.inthashCode()TerminalConnectivityBluetoothincludeNullValues(boolean includeNullValues)Configures whether null values are explicitly serialized in the JSON payload.TerminalConnectivityBluetoothipAddress(String ipAddress)The terminal's Bluetooth IP address.booleanisIncludeNullValues()Returns whether null values are explicitly serialized in the JSON payload.TerminalConnectivityBluetoothmacAddress(String macAddress)The terminal's Bluetooth MAC address.voidsetIncludeNullValues(boolean includeNullValues)Sets whether null values should be explicitly serialized in the JSON payload.voidsetIpAddress(String ipAddress)The terminal's Bluetooth IP address.voidsetMacAddress(String macAddress)The terminal's Bluetooth MAC address.StringtoJson()Convert an instance of TerminalConnectivityBluetooth to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_IP_ADDRESS
public static final String JSON_PROPERTY_IP_ADDRESS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MAC_ADDRESS
public static final String JSON_PROPERTY_MAC_ADDRESS
- See Also:
- Constant Field Values
-
-
Method Detail
-
ipAddress
public TerminalConnectivityBluetooth ipAddress(String ipAddress)
The terminal's Bluetooth IP address.- Parameters:
ipAddress- The terminal's Bluetooth IP address.- Returns:
- the current
TerminalConnectivityBluetoothinstance, allowing for method chaining
-
getIpAddress
public String getIpAddress()
The terminal's Bluetooth IP address.- Returns:
- ipAddress The terminal's Bluetooth IP address.
-
setIpAddress
public void setIpAddress(String ipAddress)
The terminal's Bluetooth IP address.- Parameters:
ipAddress- The terminal's Bluetooth IP address.
-
macAddress
public TerminalConnectivityBluetooth macAddress(String macAddress)
The terminal's Bluetooth MAC address.- Parameters:
macAddress- The terminal's Bluetooth MAC address.- Returns:
- the current
TerminalConnectivityBluetoothinstance, allowing for method chaining
-
getMacAddress
public String getMacAddress()
The terminal's Bluetooth MAC address.- Returns:
- macAddress The terminal's Bluetooth MAC address.
-
setMacAddress
public void setMacAddress(String macAddress)
The terminal's Bluetooth MAC address.- Parameters:
macAddress- The terminal's Bluetooth MAC address.
-
includeNullValues
public TerminalConnectivityBluetooth 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 TerminalConnectivityBluetooth 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 TerminalConnectivityBluetooth fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of TerminalConnectivityBluetooth given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TerminalConnectivityBluetooth
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to TerminalConnectivityBluetooth
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of TerminalConnectivityBluetooth to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-