Package com.adyen.model.management
Class Connectivity
- java.lang.Object
-
- com.adyen.model.management.Connectivity
-
public class Connectivity extends Object
Connectivity
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classConnectivity.SimcardStatusEnumIndicates the status of the SIM card in the payment terminal.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_SIMCARD_STATUSstatic StringJSON_PROPERTY_TERMINAL_I_P_ADDRESS_U_R_L
-
Constructor Summary
Constructors Constructor Description Connectivity()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this Connectivity object is equal to o.static ConnectivityfromJson(String jsonString)Create an instance of Connectivity given an JSON stringConnectivity.SimcardStatusEnumgetSimcardStatus()Indicates the status of the SIM card in the payment terminal.EventUrlgetTerminalIPAddressURL()terminalIPAddressURLinthashCode()voidsetSimcardStatus(Connectivity.SimcardStatusEnum simcardStatus)Indicates the status of the SIM card in the payment terminal.voidsetTerminalIPAddressURL(EventUrl terminalIPAddressURL)terminalIPAddressURLConnectivitysimcardStatus(Connectivity.SimcardStatusEnum simcardStatus)Indicates the status of the SIM card in the payment terminal.ConnectivityterminalIPAddressURL(EventUrl terminalIPAddressURL)terminalIPAddressURLStringtoJson()Convert an instance of Connectivity to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_SIMCARD_STATUS
public static final String JSON_PROPERTY_SIMCARD_STATUS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TERMINAL_I_P_ADDRESS_U_R_L
public static final String JSON_PROPERTY_TERMINAL_I_P_ADDRESS_U_R_L
- See Also:
- Constant Field Values
-
-
Method Detail
-
simcardStatus
public Connectivity simcardStatus(Connectivity.SimcardStatusEnum simcardStatus)
Indicates the status of the SIM card in the payment terminal. Can be updated and received only at terminal level, and only for models that support cellular connectivity. Possible values: * **ACTIVATED**: the SIM card is activated. Cellular connectivity may still need to be enabled on the terminal itself, in the **Network** settings. * **INVENTORY**: the SIM card is not activated. The terminal can't use cellular connectivity.- Parameters:
simcardStatus-- Returns:
- the current
Connectivityinstance, allowing for method chaining
-
getSimcardStatus
public Connectivity.SimcardStatusEnum getSimcardStatus()
Indicates the status of the SIM card in the payment terminal. Can be updated and received only at terminal level, and only for models that support cellular connectivity. Possible values: * **ACTIVATED**: the SIM card is activated. Cellular connectivity may still need to be enabled on the terminal itself, in the **Network** settings. * **INVENTORY**: the SIM card is not activated. The terminal can't use cellular connectivity.- Returns:
- simcardStatus
-
setSimcardStatus
public void setSimcardStatus(Connectivity.SimcardStatusEnum simcardStatus)
Indicates the status of the SIM card in the payment terminal. Can be updated and received only at terminal level, and only for models that support cellular connectivity. Possible values: * **ACTIVATED**: the SIM card is activated. Cellular connectivity may still need to be enabled on the terminal itself, in the **Network** settings. * **INVENTORY**: the SIM card is not activated. The terminal can't use cellular connectivity.- Parameters:
simcardStatus-
-
terminalIPAddressURL
public Connectivity terminalIPAddressURL(EventUrl terminalIPAddressURL)
terminalIPAddressURL- Parameters:
terminalIPAddressURL-- Returns:
- the current
Connectivityinstance, allowing for method chaining
-
getTerminalIPAddressURL
public EventUrl getTerminalIPAddressURL()
terminalIPAddressURL- Returns:
- terminalIPAddressURL
-
setTerminalIPAddressURL
public void setTerminalIPAddressURL(EventUrl terminalIPAddressURL)
terminalIPAddressURL- Parameters:
terminalIPAddressURL-
-
equals
public boolean equals(Object o)
Return true if this Connectivity object is equal to o.
-
fromJson
public static Connectivity fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of Connectivity given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Connectivity
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to Connectivity
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of Connectivity to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-