Package com.adyen.model.management
Class TerminalConnectivityEthernet
- java.lang.Object
-
- com.adyen.model.management.TerminalConnectivityEthernet
-
public class TerminalConnectivityEthernet extends Object
TerminalConnectivityEthernet
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_IP_ADDRESSstatic StringJSON_PROPERTY_LINK_NEGOTIATIONstatic StringJSON_PROPERTY_MAC_ADDRESS
-
Constructor Summary
Constructors Constructor Description TerminalConnectivityEthernet()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this TerminalConnectivityEthernet object is equal to o.static TerminalConnectivityEthernetfromJson(String jsonString)Create an instance of TerminalConnectivityEthernet given an JSON stringStringgetIpAddress()The terminal's ethernet IP address.StringgetLinkNegotiation()The ethernet link negotiation that the terminal uses.StringgetMacAddress()The terminal's ethernet MAC address.inthashCode()TerminalConnectivityEthernetipAddress(String ipAddress)The terminal's ethernet IP address.TerminalConnectivityEthernetlinkNegotiation(String linkNegotiation)The ethernet link negotiation that the terminal uses.TerminalConnectivityEthernetmacAddress(String macAddress)The terminal's ethernet MAC address.voidsetIpAddress(String ipAddress)The terminal's ethernet IP address.voidsetLinkNegotiation(String linkNegotiation)The ethernet link negotiation that the terminal uses.voidsetMacAddress(String macAddress)The terminal's ethernet MAC address.StringtoJson()Convert an instance of TerminalConnectivityEthernet 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_LINK_NEGOTIATION
public static final String JSON_PROPERTY_LINK_NEGOTIATION
- 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 TerminalConnectivityEthernet ipAddress(String ipAddress)
The terminal's ethernet IP address.- Parameters:
ipAddress-- Returns:
- the current
TerminalConnectivityEthernetinstance, allowing for method chaining
-
getIpAddress
public String getIpAddress()
The terminal's ethernet IP address.- Returns:
- ipAddress
-
setIpAddress
public void setIpAddress(String ipAddress)
The terminal's ethernet IP address.- Parameters:
ipAddress-
-
linkNegotiation
public TerminalConnectivityEthernet linkNegotiation(String linkNegotiation)
The ethernet link negotiation that the terminal uses.- Parameters:
linkNegotiation-- Returns:
- the current
TerminalConnectivityEthernetinstance, allowing for method chaining
-
getLinkNegotiation
public String getLinkNegotiation()
The ethernet link negotiation that the terminal uses.- Returns:
- linkNegotiation
-
setLinkNegotiation
public void setLinkNegotiation(String linkNegotiation)
The ethernet link negotiation that the terminal uses.- Parameters:
linkNegotiation-
-
macAddress
public TerminalConnectivityEthernet macAddress(String macAddress)
The terminal's ethernet MAC address.- Parameters:
macAddress-- Returns:
- the current
TerminalConnectivityEthernetinstance, allowing for method chaining
-
getMacAddress
public String getMacAddress()
The terminal's ethernet MAC address.- Returns:
- macAddress
-
setMacAddress
public void setMacAddress(String macAddress)
The terminal's ethernet MAC address.- Parameters:
macAddress-
-
equals
public boolean equals(Object o)
Return true if this TerminalConnectivityEthernet object is equal to o.
-
fromJson
public static TerminalConnectivityEthernet fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of TerminalConnectivityEthernet given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TerminalConnectivityEthernet
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to TerminalConnectivityEthernet
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of TerminalConnectivityEthernet to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-