Package com.adyen.model.management
Class Terminal
- java.lang.Object
-
- com.adyen.model.management.Terminal
-
public class Terminal extends Object
Terminal
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTerminal.CustomTypeAdapterFactory
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Terminal()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Terminalassigned(Boolean assigned)Deprecated.TerminalbluetoothIp(String bluetoothIp)Deprecated.TerminalbluetoothMac(String bluetoothMac)Terminalcity(String city)Deprecated.TerminalcompanyAccount(String companyAccount)Deprecated.TerminalcountryCode(String countryCode)Deprecated.TerminaldeviceModel(String deviceModel)Deprecated.booleanequals(Object o)TerminalethernetIp(String ethernetIp)Deprecated.TerminalethernetMac(String ethernetMac)Deprecated.TerminalfirmwareVersion(String firmwareVersion)static TerminalfromJson(String jsonString)Create an instance of Terminal given an JSON stringBooleangetAssigned()Deprecated.StringgetBluetoothIp()Deprecated.StringgetBluetoothMac()The Bluetooth MAC address of the terminal.StringgetCity()Deprecated.StringgetCompanyAccount()Deprecated.StringgetCountryCode()Deprecated.StringgetDeviceModel()Deprecated.StringgetEthernetIp()Deprecated.StringgetEthernetMac()Deprecated.StringgetFirmwareVersion()The software release currently in use on the terminal.StringgetIccid()Deprecated.StringgetId()The unique identifier of the terminal.OffsetDateTimegetLastActivityDateTime()Deprecated.OffsetDateTimegetLastTransactionDateTime()Deprecated.StringgetLinkNegotiation()Deprecated.StringgetSerialNumber()The serial number of the terminal.StringgetSimStatus()Deprecated.StringgetStatus()Deprecated.StringgetStoreStatus()Deprecated.StringgetWifiIp()Deprecated.StringgetWifiMac()Deprecated.StringgetWifiSsid()Deprecated.inthashCode()Terminaliccid(String iccid)Deprecated.Terminalid(String id)TerminallastActivityDateTime(OffsetDateTime lastActivityDateTime)Deprecated.TerminallastTransactionDateTime(OffsetDateTime lastTransactionDateTime)Deprecated.TerminallinkNegotiation(String linkNegotiation)Deprecated.TerminalserialNumber(String serialNumber)voidsetAssigned(Boolean assigned)Deprecated.voidsetBluetoothIp(String bluetoothIp)Deprecated.voidsetBluetoothMac(String bluetoothMac)voidsetCity(String city)Deprecated.voidsetCompanyAccount(String companyAccount)Deprecated.voidsetCountryCode(String countryCode)Deprecated.voidsetDeviceModel(String deviceModel)Deprecated.voidsetEthernetIp(String ethernetIp)Deprecated.voidsetEthernetMac(String ethernetMac)Deprecated.voidsetFirmwareVersion(String firmwareVersion)voidsetIccid(String iccid)Deprecated.voidsetId(String id)voidsetLastActivityDateTime(OffsetDateTime lastActivityDateTime)Deprecated.voidsetLastTransactionDateTime(OffsetDateTime lastTransactionDateTime)Deprecated.voidsetLinkNegotiation(String linkNegotiation)Deprecated.voidsetSerialNumber(String serialNumber)voidsetSimStatus(String simStatus)Deprecated.voidsetStatus(String status)Deprecated.voidsetStoreStatus(String storeStatus)Deprecated.voidsetWifiIp(String wifiIp)Deprecated.voidsetWifiMac(String wifiMac)Deprecated.voidsetWifiSsid(String wifiSsid)Deprecated.TerminalsimStatus(String simStatus)Deprecated.Terminalstatus(String status)Deprecated.TerminalstoreStatus(String storeStatus)Deprecated.StringtoJson()Convert an instance of Terminal to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues foundTerminalwifiIp(String wifiIp)Deprecated.TerminalwifiMac(String wifiMac)Deprecated.TerminalwifiSsid(String wifiSsid)Deprecated.
-
-
-
Field Detail
-
SERIALIZED_NAME_ASSIGNED
public static final String SERIALIZED_NAME_ASSIGNED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_BLUETOOTH_IP
public static final String SERIALIZED_NAME_BLUETOOTH_IP
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_BLUETOOTH_MAC
public static final String SERIALIZED_NAME_BLUETOOTH_MAC
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CITY
public static final String SERIALIZED_NAME_CITY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_COMPANY_ACCOUNT
public static final String SERIALIZED_NAME_COMPANY_ACCOUNT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_COUNTRY_CODE
public static final String SERIALIZED_NAME_COUNTRY_CODE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DEVICE_MODEL
public static final String SERIALIZED_NAME_DEVICE_MODEL
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ETHERNET_IP
public static final String SERIALIZED_NAME_ETHERNET_IP
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ETHERNET_MAC
public static final String SERIALIZED_NAME_ETHERNET_MAC
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FIRMWARE_VERSION
public static final String SERIALIZED_NAME_FIRMWARE_VERSION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ICCID
public static final String SERIALIZED_NAME_ICCID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LAST_ACTIVITY_DATE_TIME
public static final String SERIALIZED_NAME_LAST_ACTIVITY_DATE_TIME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LAST_TRANSACTION_DATE_TIME
public static final String SERIALIZED_NAME_LAST_TRANSACTION_DATE_TIME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LINK_NEGOTIATION
public static final String SERIALIZED_NAME_LINK_NEGOTIATION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SERIAL_NUMBER
public static final String SERIALIZED_NAME_SERIAL_NUMBER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SIM_STATUS
public static final String SERIALIZED_NAME_SIM_STATUS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_STATUS
public static final String SERIALIZED_NAME_STATUS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_STORE_STATUS
public static final String SERIALIZED_NAME_STORE_STATUS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_WIFI_IP
public static final String SERIALIZED_NAME_WIFI_IP
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_WIFI_MAC
public static final String SERIALIZED_NAME_WIFI_MAC
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_WIFI_SSID
public static final String SERIALIZED_NAME_WIFI_SSID
- See Also:
- Constant Field Values
-
-
Method Detail
-
assigned
@Deprecated public Terminal assigned(Boolean assigned)
Deprecated.
-
getAssigned
@Deprecated public Boolean getAssigned()
Deprecated.The [assignment status](https://docs.adyen.com/point-of-sale/automating-terminal-management/assign-terminals-api) of the terminal. If true, the terminal is assigned. If false, the terminal is in inventory and can't be boarded.- Returns:
- assigned
-
setAssigned
@Deprecated public void setAssigned(Boolean assigned)
Deprecated.
-
bluetoothIp
@Deprecated public Terminal bluetoothIp(String bluetoothIp)
Deprecated.
-
getBluetoothIp
@Deprecated public String getBluetoothIp()
Deprecated.The Bluetooth IP address of the terminal.- Returns:
- bluetoothIp
-
setBluetoothIp
@Deprecated public void setBluetoothIp(String bluetoothIp)
Deprecated.
-
getBluetoothMac
public String getBluetoothMac()
The Bluetooth MAC address of the terminal.- Returns:
- bluetoothMac
-
setBluetoothMac
public void setBluetoothMac(String bluetoothMac)
-
city
@Deprecated public Terminal city(String city)
Deprecated.
-
getCity
@Deprecated public String getCity()
Deprecated.The city where the terminal is located.- Returns:
- city
-
setCity
@Deprecated public void setCity(String city)
Deprecated.
-
companyAccount
@Deprecated public Terminal companyAccount(String companyAccount)
Deprecated.
-
getCompanyAccount
@Deprecated public String getCompanyAccount()
Deprecated.The company account that the terminal is associated with. If this is the only account level shown in the response, the terminal is assigned to the inventory of the company account.- Returns:
- companyAccount
-
setCompanyAccount
@Deprecated public void setCompanyAccount(String companyAccount)
Deprecated.
-
countryCode
@Deprecated public Terminal countryCode(String countryCode)
Deprecated.
-
getCountryCode
@Deprecated public String getCountryCode()
Deprecated.The country code of the country where the terminal is located.- Returns:
- countryCode
-
setCountryCode
@Deprecated public void setCountryCode(String countryCode)
Deprecated.
-
deviceModel
@Deprecated public Terminal deviceModel(String deviceModel)
Deprecated.
-
getDeviceModel
@Deprecated public String getDeviceModel()
Deprecated.The model name of the terminal.- Returns:
- deviceModel
-
setDeviceModel
@Deprecated public void setDeviceModel(String deviceModel)
Deprecated.
-
ethernetIp
@Deprecated public Terminal ethernetIp(String ethernetIp)
Deprecated.
-
getEthernetIp
@Deprecated public String getEthernetIp()
Deprecated.The ethernet IP address of the terminal.- Returns:
- ethernetIp
-
setEthernetIp
@Deprecated public void setEthernetIp(String ethernetIp)
Deprecated.
-
ethernetMac
@Deprecated public Terminal ethernetMac(String ethernetMac)
Deprecated.
-
getEthernetMac
@Deprecated public String getEthernetMac()
Deprecated.The ethernet MAC address of the terminal.- Returns:
- ethernetMac
-
setEthernetMac
@Deprecated public void setEthernetMac(String ethernetMac)
Deprecated.
-
getFirmwareVersion
public String getFirmwareVersion()
The software release currently in use on the terminal.- Returns:
- firmwareVersion
-
setFirmwareVersion
public void setFirmwareVersion(String firmwareVersion)
-
iccid
@Deprecated public Terminal iccid(String iccid)
Deprecated.
-
getIccid
@Deprecated public String getIccid()
Deprecated.The integrated circuit card identifier (ICCID) of the SIM card in the terminal.- Returns:
- iccid
-
setIccid
@Deprecated public void setIccid(String iccid)
Deprecated.
-
getId
public String getId()
The unique identifier of the terminal.- Returns:
- id
-
setId
public void setId(String id)
-
lastActivityDateTime
@Deprecated public Terminal lastActivityDateTime(OffsetDateTime lastActivityDateTime)
Deprecated.
-
getLastActivityDateTime
@Deprecated public OffsetDateTime getLastActivityDateTime()
Deprecated.Date and time of the last activity on the terminal. Not included when the last activity was more than 14 days ago.- Returns:
- lastActivityDateTime
-
setLastActivityDateTime
@Deprecated public void setLastActivityDateTime(OffsetDateTime lastActivityDateTime)
Deprecated.
-
lastTransactionDateTime
@Deprecated public Terminal lastTransactionDateTime(OffsetDateTime lastTransactionDateTime)
Deprecated.
-
getLastTransactionDateTime
@Deprecated public OffsetDateTime getLastTransactionDateTime()
Deprecated.Date and time of the last transaction on the terminal. Not included when the last transaction was more than 14 days ago.- Returns:
- lastTransactionDateTime
-
setLastTransactionDateTime
@Deprecated public void setLastTransactionDateTime(OffsetDateTime lastTransactionDateTime)
Deprecated.
-
linkNegotiation
@Deprecated public Terminal linkNegotiation(String linkNegotiation)
Deprecated.
-
getLinkNegotiation
@Deprecated public String getLinkNegotiation()
Deprecated.The Ethernet link negotiation that the terminal uses: - `auto`: Auto-negotiation - `100full`: 100 Mbps full duplex- Returns:
- linkNegotiation
-
setLinkNegotiation
@Deprecated public void setLinkNegotiation(String linkNegotiation)
Deprecated.
-
getSerialNumber
public String getSerialNumber()
The serial number of the terminal.- Returns:
- serialNumber
-
setSerialNumber
public void setSerialNumber(String serialNumber)
-
simStatus
@Deprecated public Terminal simStatus(String simStatus)
Deprecated.
-
getSimStatus
@Deprecated public String getSimStatus()
Deprecated.On a terminal that supports 3G or 4G connectivity, indicates the status of the SIM card in the terminal: ACTIVE or INVENTORY.- Returns:
- simStatus
-
setSimStatus
@Deprecated public void setSimStatus(String simStatus)
Deprecated.
-
status
@Deprecated public Terminal status(String status)
Deprecated.
-
getStatus
@Deprecated public String getStatus()
Deprecated.Indicates when the terminal was last online, whether the terminal is being reassigned, or whether the terminal is turned off. If the terminal was last online more that a week ago, it is also shown as turned off.- Returns:
- status
-
setStatus
@Deprecated public void setStatus(String status)
Deprecated.
-
storeStatus
@Deprecated public Terminal storeStatus(String storeStatus)
Deprecated.
-
getStoreStatus
@Deprecated public String getStoreStatus()
Deprecated.The status of the store that the terminal is assigned to.- Returns:
- storeStatus
-
setStoreStatus
@Deprecated public void setStoreStatus(String storeStatus)
Deprecated.
-
wifiIp
@Deprecated public Terminal wifiIp(String wifiIp)
Deprecated.
-
getWifiIp
@Deprecated public String getWifiIp()
Deprecated.The terminal's IP address in your Wi-Fi network.- Returns:
- wifiIp
-
setWifiIp
@Deprecated public void setWifiIp(String wifiIp)
Deprecated.
-
wifiMac
@Deprecated public Terminal wifiMac(String wifiMac)
Deprecated.
-
getWifiMac
@Deprecated public String getWifiMac()
Deprecated.The terminal's MAC address in your Wi-Fi network.- Returns:
- wifiMac
-
setWifiMac
@Deprecated public void setWifiMac(String wifiMac)
Deprecated.
-
wifiSsid
@Deprecated public Terminal wifiSsid(String wifiSsid)
Deprecated.
-
getWifiSsid
@Deprecated public String getWifiSsid()
Deprecated.The SSID of the Wi-Fi network that your terminal is connected to.- Returns:
- wifiSsid
-
setWifiSsid
@Deprecated public void setWifiSsid(String wifiSsid)
Deprecated.
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to Terminal
-
fromJson
public static Terminal fromJson(String jsonString) throws IOException
Create an instance of Terminal given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Terminal
- Throws:
IOException- if the JSON string is invalid with respect to Terminal
-
toJson
public String toJson()
Convert an instance of Terminal to an JSON string- Returns:
- JSON string
-
-