Class Terminal


  • public class Terminal
    extends Object
    Terminal
    • Constructor Detail

      • Terminal

        public Terminal()
    • Method Detail

      • 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
      • getBluetoothIp

        @Deprecated
        public String getBluetoothIp()
        Deprecated.
        The Bluetooth IP address of the terminal.
        Returns:
        bluetoothIp
      • setBluetoothIp

        @Deprecated
        public void setBluetoothIp​(String bluetoothIp)
        Deprecated.
      • bluetoothMac

        public Terminal bluetoothMac​(String bluetoothMac)
      • getBluetoothMac

        public String getBluetoothMac()
        The Bluetooth MAC address of the terminal.
        Returns:
        bluetoothMac
      • setBluetoothMac

        public void setBluetoothMac​(String bluetoothMac)
      • getCity

        @Deprecated
        public String getCity()
        Deprecated.
        The city where the terminal is located.
        Returns:
        city
      • 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.
      • 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.
      • getDeviceModel

        @Deprecated
        public String getDeviceModel()
        Deprecated.
        The model name of the terminal.
        Returns:
        deviceModel
      • setDeviceModel

        @Deprecated
        public void setDeviceModel​(String deviceModel)
        Deprecated.
      • getEthernetIp

        @Deprecated
        public String getEthernetIp()
        Deprecated.
        The ethernet IP address of the terminal.
        Returns:
        ethernetIp
      • setEthernetIp

        @Deprecated
        public void setEthernetIp​(String ethernetIp)
        Deprecated.
      • getEthernetMac

        @Deprecated
        public String getEthernetMac()
        Deprecated.
        The ethernet MAC address of the terminal.
        Returns:
        ethernetMac
      • setEthernetMac

        @Deprecated
        public void setEthernetMac​(String ethernetMac)
        Deprecated.
      • firmwareVersion

        public Terminal firmwareVersion​(String firmwareVersion)
      • getFirmwareVersion

        public String getFirmwareVersion()
        The software release currently in use on the terminal.
        Returns:
        firmwareVersion
      • setFirmwareVersion

        public void setFirmwareVersion​(String firmwareVersion)
      • getIccid

        @Deprecated
        public String getIccid()
        Deprecated.
        The integrated circuit card identifier (ICCID) of the SIM card in the terminal.
        Returns:
        iccid
      • getId

        public String getId()
        The unique identifier of the terminal.
        Returns:
        id
      • setId

        public void setId​(String id)
      • 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.
      • 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.
      • 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.
      • serialNumber

        public Terminal serialNumber​(String serialNumber)
      • getSerialNumber

        public String getSerialNumber()
        The serial number of the terminal.
        Returns:
        serialNumber
      • setSerialNumber

        public void setSerialNumber​(String serialNumber)
      • 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.
      • 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
      • 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.
      • getWifiIp

        @Deprecated
        public String getWifiIp()
        Deprecated.
        The terminal's IP address in your Wi-Fi network.
        Returns:
        wifiIp
      • getWifiMac

        @Deprecated
        public String getWifiMac()
        Deprecated.
        The terminal's MAC address in your Wi-Fi network.
        Returns:
        wifiMac
      • getWifiSsid

        @Deprecated
        public String getWifiSsid()
        Deprecated.
        The SSID of the Wi-Fi network that your terminal is connected to.
        Returns:
        wifiSsid
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • validateJsonObject

        public static void validateJsonObject​(com.google.gson.JsonObject jsonObj)
                                       throws IOException
        Validates 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