Class FindTerminalResponse


  • public class FindTerminalResponse
    extends Object
    FindTerminalResponse
    • Constructor Detail

      • FindTerminalResponse

        public FindTerminalResponse()
    • Method Detail

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

        public String getTerminal()
        The unique terminal ID.
        Returns:
        terminal
      • setTerminal

        public void setTerminal​(String terminal)
        The unique terminal ID.
        Parameters:
        terminal -
      • equals

        public boolean equals​(Object o)
        Return true if this FindTerminalResponse object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

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

        public static FindTerminalResponse fromJson​(String jsonString)
                                             throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of FindTerminalResponse given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of FindTerminalResponse
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to FindTerminalResponse
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of FindTerminalResponse to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException