Class GetTerminalDetailsResponse
- java.lang.Object
-
- com.adyen.model.posterminalmanagement.GetTerminalDetailsResponse
-
public class GetTerminalDetailsResponse extends Object
GetTerminalDetailsResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetTerminalDetailsResponse.TerminalStatusEnumThe status of the terminal: - `OnlineToday`, `OnlineLast1Day`, `OnlineLast2Days` etcetera to `OnlineLast7Days`: Indicates when in the past week the terminal was last online.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description GetTerminalDetailsResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GetTerminalDetailsResponsebluetoothIp(String bluetoothIp)GetTerminalDetailsResponsebluetoothMac(String bluetoothMac)GetTerminalDetailsResponsecompanyAccount(String companyAccount)GetTerminalDetailsResponsecountry(String country)GetTerminalDetailsResponsedeviceModel(String deviceModel)GetTerminalDetailsResponsedhcpEnabled(Boolean dhcpEnabled)GetTerminalDetailsResponsedisplayLabel(String displayLabel)booleanequals(Object o)Return true if this GetTerminalDetailsResponse object is equal to o.GetTerminalDetailsResponseethernetIp(String ethernetIp)GetTerminalDetailsResponseethernetMac(String ethernetMac)GetTerminalDetailsResponsefirmwareVersion(String firmwareVersion)static GetTerminalDetailsResponsefromJson(String jsonString)Create an instance of GetTerminalDetailsResponse given an JSON stringStringgetBluetoothIp()The Bluetooth IP address of the terminal.StringgetBluetoothMac()The Bluetooth MAC address of the terminal.StringgetCompanyAccount()The company account that the terminal is associated with.StringgetCountry()The country where the terminal is used.StringgetDeviceModel()The model name of the terminal.BooleangetDhcpEnabled()Indicates whether assigning IP addresses through a DHCP server is enabled on the terminal.StringgetDisplayLabel()The label shown on the status bar of the display.StringgetEthernetIp()The terminal's IP address in your Ethernet network.StringgetEthernetMac()The terminal's MAC address in your Ethernet network.StringgetFirmwareVersion()The software release currently in use on the terminal.StringgetIccid()The integrated circuit card identifier (ICCID) of the SIM card in the terminal.OffsetDateTimegetLastActivityDateTime()Date and time of the last activity on the terminal.OffsetDateTimegetLastTransactionDateTime()Date and time of the last transaction on the terminal.StringgetLinkNegotiation()The Ethernet link negotiation that the terminal uses: - `auto`: Auto-negotiation - `100full`: 100 Mbps full duplexStringgetMerchantAccount()The merchant account that the terminal is associated with.BooleangetMerchantInventory()Boolean that indicates if the terminal is assigned to the merchant inventory.StringgetPermanentTerminalId()The permanent terminal ID.StringgetSerialNumber()The serial number of the terminal.StringgetSimStatus()On a terminal that supports 3G or 4G connectivity, indicates the status of the SIM card in the terminal: ACTIVE or INVENTORY.StringgetStore()The store code of the store that the terminal is assigned to.StoregetStoreDetails()Get storeDetailsStringgetTerminal()The unique terminal ID.GetTerminalDetailsResponse.TerminalStatusEnumgetTerminalStatus()The status of the terminal: - `OnlineToday`, `OnlineLast1Day`, `OnlineLast2Days` etcetera to `OnlineLast7Days`: Indicates when in the past week the terminal was last online.StringgetWifiIp()The terminal's IP address in your Wi-Fi network.StringgetWifiMac()The terminal's MAC address in your Wi-Fi network.inthashCode()GetTerminalDetailsResponseiccid(String iccid)GetTerminalDetailsResponselastActivityDateTime(OffsetDateTime lastActivityDateTime)GetTerminalDetailsResponselastTransactionDateTime(OffsetDateTime lastTransactionDateTime)GetTerminalDetailsResponselinkNegotiation(String linkNegotiation)GetTerminalDetailsResponsemerchantAccount(String merchantAccount)GetTerminalDetailsResponsemerchantInventory(Boolean merchantInventory)GetTerminalDetailsResponsepermanentTerminalId(String permanentTerminalId)GetTerminalDetailsResponseserialNumber(String serialNumber)voidsetBluetoothIp(String bluetoothIp)The Bluetooth IP address of the terminal.voidsetBluetoothMac(String bluetoothMac)The Bluetooth MAC address of the terminal.voidsetCompanyAccount(String companyAccount)The company account that the terminal is associated with.voidsetCountry(String country)The country where the terminal is used.voidsetDeviceModel(String deviceModel)The model name of the terminal.voidsetDhcpEnabled(Boolean dhcpEnabled)Indicates whether assigning IP addresses through a DHCP server is enabled on the terminal.voidsetDisplayLabel(String displayLabel)The label shown on the status bar of the display.voidsetEthernetIp(String ethernetIp)The terminal's IP address in your Ethernet network.voidsetEthernetMac(String ethernetMac)The terminal's MAC address in your Ethernet network.voidsetFirmwareVersion(String firmwareVersion)The software release currently in use on the terminal.voidsetIccid(String iccid)The integrated circuit card identifier (ICCID) of the SIM card in the terminal.voidsetLastActivityDateTime(OffsetDateTime lastActivityDateTime)Date and time of the last activity on the terminal.voidsetLastTransactionDateTime(OffsetDateTime lastTransactionDateTime)Date and time of the last transaction on the terminal.voidsetLinkNegotiation(String linkNegotiation)The Ethernet link negotiation that the terminal uses: - `auto`: Auto-negotiation - `100full`: 100 Mbps full duplexvoidsetMerchantAccount(String merchantAccount)The merchant account that the terminal is associated with.voidsetMerchantInventory(Boolean merchantInventory)Boolean that indicates if the terminal is assigned to the merchant inventory.voidsetPermanentTerminalId(String permanentTerminalId)The permanent terminal ID.voidsetSerialNumber(String serialNumber)The serial number of the terminal.voidsetSimStatus(String simStatus)On a terminal that supports 3G or 4G connectivity, indicates the status of the SIM card in the terminal: ACTIVE or INVENTORY.voidsetStore(String store)The store code of the store that the terminal is assigned to.voidsetStoreDetails(Store storeDetails)storeDetailsvoidsetTerminal(String terminal)The unique terminal ID.voidsetTerminalStatus(GetTerminalDetailsResponse.TerminalStatusEnum terminalStatus)The status of the terminal: - `OnlineToday`, `OnlineLast1Day`, `OnlineLast2Days` etcetera to `OnlineLast7Days`: Indicates when in the past week the terminal was last online.voidsetWifiIp(String wifiIp)The terminal's IP address in your Wi-Fi network.voidsetWifiMac(String wifiMac)The terminal's MAC address in your Wi-Fi network.GetTerminalDetailsResponsesimStatus(String simStatus)GetTerminalDetailsResponsestore(String store)GetTerminalDetailsResponsestoreDetails(Store storeDetails)GetTerminalDetailsResponseterminal(String terminal)GetTerminalDetailsResponseterminalStatus(GetTerminalDetailsResponse.TerminalStatusEnum terminalStatus)StringtoJson()Convert an instance of GetTerminalDetailsResponse to an JSON stringStringtoString()GetTerminalDetailsResponsewifiIp(String wifiIp)GetTerminalDetailsResponsewifiMac(String wifiMac)
-
-
-
Field Detail
-
JSON_PROPERTY_BLUETOOTH_IP
public static final String JSON_PROPERTY_BLUETOOTH_IP
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BLUETOOTH_MAC
public static final String JSON_PROPERTY_BLUETOOTH_MAC
- See Also:
- Constant Field Values
-
JSON_PROPERTY_COMPANY_ACCOUNT
public static final String JSON_PROPERTY_COMPANY_ACCOUNT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_COUNTRY
public static final String JSON_PROPERTY_COUNTRY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DEVICE_MODEL
public static final String JSON_PROPERTY_DEVICE_MODEL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DHCP_ENABLED
public static final String JSON_PROPERTY_DHCP_ENABLED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DISPLAY_LABEL
public static final String JSON_PROPERTY_DISPLAY_LABEL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ETHERNET_IP
public static final String JSON_PROPERTY_ETHERNET_IP
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ETHERNET_MAC
public static final String JSON_PROPERTY_ETHERNET_MAC
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FIRMWARE_VERSION
public static final String JSON_PROPERTY_FIRMWARE_VERSION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ICCID
public static final String JSON_PROPERTY_ICCID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LAST_ACTIVITY_DATE_TIME
public static final String JSON_PROPERTY_LAST_ACTIVITY_DATE_TIME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LAST_TRANSACTION_DATE_TIME
public static final String JSON_PROPERTY_LAST_TRANSACTION_DATE_TIME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LINK_NEGOTIATION
public static final String JSON_PROPERTY_LINK_NEGOTIATION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MERCHANT_ACCOUNT
public static final String JSON_PROPERTY_MERCHANT_ACCOUNT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MERCHANT_INVENTORY
public static final String JSON_PROPERTY_MERCHANT_INVENTORY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PERMANENT_TERMINAL_ID
public static final String JSON_PROPERTY_PERMANENT_TERMINAL_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SERIAL_NUMBER
public static final String JSON_PROPERTY_SERIAL_NUMBER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SIM_STATUS
public static final String JSON_PROPERTY_SIM_STATUS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STORE
public static final String JSON_PROPERTY_STORE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STORE_DETAILS
public static final String JSON_PROPERTY_STORE_DETAILS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TERMINAL
public static final String JSON_PROPERTY_TERMINAL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TERMINAL_STATUS
public static final String JSON_PROPERTY_TERMINAL_STATUS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_WIFI_IP
public static final String JSON_PROPERTY_WIFI_IP
- See Also:
- Constant Field Values
-
JSON_PROPERTY_WIFI_MAC
public static final String JSON_PROPERTY_WIFI_MAC
- See Also:
- Constant Field Values
-
-
Method Detail
-
bluetoothIp
public GetTerminalDetailsResponse bluetoothIp(String bluetoothIp)
-
getBluetoothIp
public String getBluetoothIp()
The Bluetooth IP address of the terminal.- Returns:
- bluetoothIp
-
setBluetoothIp
public void setBluetoothIp(String bluetoothIp)
The Bluetooth IP address of the terminal.- Parameters:
bluetoothIp-
-
bluetoothMac
public GetTerminalDetailsResponse bluetoothMac(String bluetoothMac)
-
getBluetoothMac
public String getBluetoothMac()
The Bluetooth MAC address of the terminal.- Returns:
- bluetoothMac
-
setBluetoothMac
public void setBluetoothMac(String bluetoothMac)
The Bluetooth MAC address of the terminal.- Parameters:
bluetoothMac-
-
companyAccount
public GetTerminalDetailsResponse companyAccount(String companyAccount)
-
getCompanyAccount
public String getCompanyAccount()
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
public void setCompanyAccount(String companyAccount)
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.- Parameters:
companyAccount-
-
country
public GetTerminalDetailsResponse country(String country)
-
getCountry
public String getCountry()
The country where the terminal is used.- Returns:
- country
-
setCountry
public void setCountry(String country)
The country where the terminal is used.- Parameters:
country-
-
deviceModel
public GetTerminalDetailsResponse deviceModel(String deviceModel)
-
getDeviceModel
public String getDeviceModel()
The model name of the terminal.- Returns:
- deviceModel
-
setDeviceModel
public void setDeviceModel(String deviceModel)
The model name of the terminal.- Parameters:
deviceModel-
-
dhcpEnabled
public GetTerminalDetailsResponse dhcpEnabled(Boolean dhcpEnabled)
-
getDhcpEnabled
public Boolean getDhcpEnabled()
Indicates whether assigning IP addresses through a DHCP server is enabled on the terminal.- Returns:
- dhcpEnabled
-
setDhcpEnabled
public void setDhcpEnabled(Boolean dhcpEnabled)
Indicates whether assigning IP addresses through a DHCP server is enabled on the terminal.- Parameters:
dhcpEnabled-
-
displayLabel
public GetTerminalDetailsResponse displayLabel(String displayLabel)
-
getDisplayLabel
public String getDisplayLabel()
The label shown on the status bar of the display. This label (if any) is specified in your Customer Area.- Returns:
- displayLabel
-
setDisplayLabel
public void setDisplayLabel(String displayLabel)
The label shown on the status bar of the display. This label (if any) is specified in your Customer Area.- Parameters:
displayLabel-
-
ethernetIp
public GetTerminalDetailsResponse ethernetIp(String ethernetIp)
-
getEthernetIp
public String getEthernetIp()
The terminal's IP address in your Ethernet network.- Returns:
- ethernetIp
-
setEthernetIp
public void setEthernetIp(String ethernetIp)
The terminal's IP address in your Ethernet network.- Parameters:
ethernetIp-
-
ethernetMac
public GetTerminalDetailsResponse ethernetMac(String ethernetMac)
-
getEthernetMac
public String getEthernetMac()
The terminal's MAC address in your Ethernet network.- Returns:
- ethernetMac
-
setEthernetMac
public void setEthernetMac(String ethernetMac)
The terminal's MAC address in your Ethernet network.- Parameters:
ethernetMac-
-
firmwareVersion
public GetTerminalDetailsResponse firmwareVersion(String firmwareVersion)
-
getFirmwareVersion
public String getFirmwareVersion()
The software release currently in use on the terminal.- Returns:
- firmwareVersion
-
setFirmwareVersion
public void setFirmwareVersion(String firmwareVersion)
The software release currently in use on the terminal.- Parameters:
firmwareVersion-
-
iccid
public GetTerminalDetailsResponse iccid(String iccid)
-
getIccid
public String getIccid()
The integrated circuit card identifier (ICCID) of the SIM card in the terminal.- Returns:
- iccid
-
setIccid
public void setIccid(String iccid)
The integrated circuit card identifier (ICCID) of the SIM card in the terminal.- Parameters:
iccid-
-
lastActivityDateTime
public GetTerminalDetailsResponse lastActivityDateTime(OffsetDateTime lastActivityDateTime)
-
getLastActivityDateTime
public OffsetDateTime getLastActivityDateTime()
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
public void setLastActivityDateTime(OffsetDateTime lastActivityDateTime)
Date and time of the last activity on the terminal. Not included when the last activity was more than 14 days ago.- Parameters:
lastActivityDateTime-
-
lastTransactionDateTime
public GetTerminalDetailsResponse lastTransactionDateTime(OffsetDateTime lastTransactionDateTime)
-
getLastTransactionDateTime
public OffsetDateTime getLastTransactionDateTime()
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
public void setLastTransactionDateTime(OffsetDateTime lastTransactionDateTime)
Date and time of the last transaction on the terminal. Not included when the last transaction was more than 14 days ago.- Parameters:
lastTransactionDateTime-
-
linkNegotiation
public GetTerminalDetailsResponse linkNegotiation(String linkNegotiation)
-
getLinkNegotiation
public String getLinkNegotiation()
The Ethernet link negotiation that the terminal uses: - `auto`: Auto-negotiation - `100full`: 100 Mbps full duplex- Returns:
- linkNegotiation
-
setLinkNegotiation
public void setLinkNegotiation(String linkNegotiation)
The Ethernet link negotiation that the terminal uses: - `auto`: Auto-negotiation - `100full`: 100 Mbps full duplex- Parameters:
linkNegotiation-
-
merchantAccount
public GetTerminalDetailsResponse merchantAccount(String merchantAccount)
-
getMerchantAccount
public String getMerchantAccount()
The merchant account that the terminal is associated with. If the response doesn't contain a `store` the terminal is assigned to this merchant account.- Returns:
- merchantAccount
-
setMerchantAccount
public void setMerchantAccount(String merchantAccount)
The merchant account that the terminal is associated with. If the response doesn't contain a `store` the terminal is assigned to this merchant account.- Parameters:
merchantAccount-
-
merchantInventory
public GetTerminalDetailsResponse merchantInventory(Boolean merchantInventory)
-
getMerchantInventory
public Boolean getMerchantInventory()
Boolean that indicates if the terminal is assigned to the merchant inventory. This is returned when the terminal is assigned to a merchant account. - If **true**, this indicates that the terminal is in the merchant inventory. This also means that the terminal cannot be boarded. - If **false**, this indicates that the terminal is assigned to the merchant account as an in-store terminal. This means that the terminal is ready to be boarded, or is already boarded.- Returns:
- merchantInventory
-
setMerchantInventory
public void setMerchantInventory(Boolean merchantInventory)
Boolean that indicates if the terminal is assigned to the merchant inventory. This is returned when the terminal is assigned to a merchant account. - If **true**, this indicates that the terminal is in the merchant inventory. This also means that the terminal cannot be boarded. - If **false**, this indicates that the terminal is assigned to the merchant account as an in-store terminal. This means that the terminal is ready to be boarded, or is already boarded.- Parameters:
merchantInventory-
-
permanentTerminalId
public GetTerminalDetailsResponse permanentTerminalId(String permanentTerminalId)
-
getPermanentTerminalId
public String getPermanentTerminalId()
The permanent terminal ID.- Returns:
- permanentTerminalId
-
setPermanentTerminalId
public void setPermanentTerminalId(String permanentTerminalId)
The permanent terminal ID.- Parameters:
permanentTerminalId-
-
serialNumber
public GetTerminalDetailsResponse serialNumber(String serialNumber)
-
getSerialNumber
public String getSerialNumber()
The serial number of the terminal.- Returns:
- serialNumber
-
setSerialNumber
public void setSerialNumber(String serialNumber)
The serial number of the terminal.- Parameters:
serialNumber-
-
simStatus
public GetTerminalDetailsResponse simStatus(String simStatus)
-
getSimStatus
public String getSimStatus()
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
public void setSimStatus(String simStatus)
On a terminal that supports 3G or 4G connectivity, indicates the status of the SIM card in the terminal: ACTIVE or INVENTORY.- Parameters:
simStatus-
-
store
public GetTerminalDetailsResponse store(String store)
-
getStore
public String getStore()
The store code of the store that the terminal is assigned to.- Returns:
- store
-
setStore
public void setStore(String store)
The store code of the store that the terminal is assigned to.- Parameters:
store-
-
storeDetails
public GetTerminalDetailsResponse storeDetails(Store storeDetails)
-
getStoreDetails
public Store getStoreDetails()
Get storeDetails- Returns:
- storeDetails
-
setStoreDetails
public void setStoreDetails(Store storeDetails)
storeDetails- Parameters:
storeDetails-
-
terminal
public GetTerminalDetailsResponse terminal(String terminal)
-
getTerminal
public String getTerminal()
The unique terminal ID.- Returns:
- terminal
-
setTerminal
public void setTerminal(String terminal)
The unique terminal ID.- Parameters:
terminal-
-
terminalStatus
public GetTerminalDetailsResponse terminalStatus(GetTerminalDetailsResponse.TerminalStatusEnum terminalStatus)
-
getTerminalStatus
public GetTerminalDetailsResponse.TerminalStatusEnum getTerminalStatus()
The status of the terminal: - `OnlineToday`, `OnlineLast1Day`, `OnlineLast2Days` etcetera to `OnlineLast7Days`: Indicates when in the past week the terminal was last online. - `SwitchedOff`: Indicates it was more than a week ago that the terminal was last online. - `ReAssignToInventoryPending`, `ReAssignToStorePending`, `ReAssignToMerchantInventoryPending`: Indicates the terminal is scheduled to be reassigned.- Returns:
- terminalStatus
-
setTerminalStatus
public void setTerminalStatus(GetTerminalDetailsResponse.TerminalStatusEnum terminalStatus)
The status of the terminal: - `OnlineToday`, `OnlineLast1Day`, `OnlineLast2Days` etcetera to `OnlineLast7Days`: Indicates when in the past week the terminal was last online. - `SwitchedOff`: Indicates it was more than a week ago that the terminal was last online. - `ReAssignToInventoryPending`, `ReAssignToStorePending`, `ReAssignToMerchantInventoryPending`: Indicates the terminal is scheduled to be reassigned.- Parameters:
terminalStatus-
-
wifiIp
public GetTerminalDetailsResponse wifiIp(String wifiIp)
-
getWifiIp
public String getWifiIp()
The terminal's IP address in your Wi-Fi network.- Returns:
- wifiIp
-
setWifiIp
public void setWifiIp(String wifiIp)
The terminal's IP address in your Wi-Fi network.- Parameters:
wifiIp-
-
wifiMac
public GetTerminalDetailsResponse wifiMac(String wifiMac)
-
getWifiMac
public String getWifiMac()
The terminal's MAC address in your Wi-Fi network.- Returns:
- wifiMac
-
setWifiMac
public void setWifiMac(String wifiMac)
The terminal's MAC address in your Wi-Fi network.- Parameters:
wifiMac-
-
equals
public boolean equals(Object o)
Return true if this GetTerminalDetailsResponse object is equal to o.
-
fromJson
public static GetTerminalDetailsResponse fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of GetTerminalDetailsResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of GetTerminalDetailsResponse
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to GetTerminalDetailsResponse
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of GetTerminalDetailsResponse to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-