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_STATUS
-
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.inthashCode()voidsetSimcardStatus(Connectivity.SimcardStatusEnum simcardStatus)Indicates the status of the SIM card in the payment terminal.ConnectivitysimcardStatus(Connectivity.SimcardStatusEnum simcardStatus)StringtoJson()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
-
-
Method Detail
-
simcardStatus
public Connectivity simcardStatus(Connectivity.SimcardStatusEnum simcardStatus)
-
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-
-
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
-
-