Class FindTerminalResponse
- java.lang.Object
-
- com.adyen.model.posterminalmanagement.FindTerminalResponse
-
public class FindTerminalResponse extends Object
FindTerminalResponse
-
-
Constructor Summary
Constructors Constructor Description FindTerminalResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FindTerminalResponsecompanyAccount(String companyAccount)booleanequals(Object o)StringgetCompanyAccount()The company account that the terminal is associated with.StringgetMerchantAccount()The merchant account that the terminal is associated with.StringgetStore()The store code of the store that the terminal is assigned to.StringgetTerminal()The unique terminal ID.inthashCode()BooleanisMerchantInventory()Boolean that indicates if the terminal is assigned to the merchant inventory.FindTerminalResponsemerchantAccount(String merchantAccount)FindTerminalResponsemerchantInventory(Boolean merchantInventory)voidsetCompanyAccount(String companyAccount)voidsetMerchantAccount(String merchantAccount)voidsetMerchantInventory(Boolean merchantInventory)voidsetStore(String store)voidsetTerminal(String terminal)FindTerminalResponsestore(String store)FindTerminalResponseterminal(String terminal)StringtoString()
-
-
-
Method Detail
-
companyAccount
public FindTerminalResponse 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)
-
merchantAccount
public FindTerminalResponse 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)
-
merchantInventory
public FindTerminalResponse merchantInventory(Boolean merchantInventory)
-
isMerchantInventory
public Boolean isMerchantInventory()
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)
-
store
public FindTerminalResponse 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)
-
terminal
public FindTerminalResponse terminal(String terminal)
-
getTerminal
public String getTerminal()
The unique terminal ID.- Returns:
- terminal
-
setTerminal
public void setTerminal(String terminal)
-
-